Enum Class O2MagicBranch

java.lang.Object
java.lang.Enum<O2MagicBranch>
net.pottercraft.ollivanders2.O2MagicBranch
All Implemented Interfaces:
Serializable, Comparable<O2MagicBranch>, Constable

public enum O2MagicBranch extends Enum<O2MagicBranch>
Branches of magic
  • Enum Constant Details

    • ARITHMANCY

      public static final O2MagicBranch ARITHMANCY
      arithmancy
    • CARE_OF_MAGICAL_CREATURES

      public static final O2MagicBranch CARE_OF_MAGICAL_CREATURES
      care of magical creatures
    • CHARMS

      public static final O2MagicBranch CHARMS
      charms
    • DEFENSE_AGAINST_THE_DARK_ARTS

      public static final O2MagicBranch DEFENSE_AGAINST_THE_DARK_ARTS
      defense against the dark arts
    • DARK_ARTS

      public static final O2MagicBranch DARK_ARTS
      dark arts - jinxes, hexes, and curses
    • DIVINATION

      public static final O2MagicBranch DIVINATION
      divination
    • HEALING

      public static final O2MagicBranch HEALING
      healing
    • HERBOLOGY

      public static final O2MagicBranch HERBOLOGY
      herbology
    • POTIONS

      public static final O2MagicBranch POTIONS
      potions
    • TRANSFIGURATION

      public static final O2MagicBranch TRANSFIGURATION
      transfiguration
  • Method Details

    • values

      public static O2MagicBranch[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static O2MagicBranch valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null