Enum Class TableName

java.lang.Object
java.lang.Enum<TableName>
com.booksaw.betterTeams.database.TableName
All Implemented Interfaces:
Serializable, Comparable<TableName>, Constable

public enum TableName extends Enum<TableName>
  • Enum Constant Details

    • TEAM

      public static final TableName TEAM
    • PLAYERS

      public static final TableName PLAYERS
    • ALLYREQUESTS

      public static final TableName ALLYREQUESTS
    • WARPS

      public static final TableName WARPS
    • CHESTCLAIMS

      public static final TableName CHESTCLAIMS
    • BANS

      public static final TableName BANS
    • ALLIES

      public static final TableName ALLIES
    • TEAM_META

      public static final TableName TEAM_META
  • Method Details

    • values

      public static TableName[] 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 TableName 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TableName>