Enum Class Corporation.JoinType

java.lang.Object
java.lang.Enum<Corporation.JoinType>
us.teaminceptus.novaconomy.api.corporation.Corporation.JoinType
All Implemented Interfaces:
Serializable, Comparable<Corporation.JoinType>, Constable
Enclosing class:
Corporation

public static enum Corporation.JoinType extends Enum<Corporation.JoinType>
Represents the joining type of a Corporation.
  • Enum Constant Details

    • PUBLIC

      public static final Corporation.JoinType PUBLIC
      Represents a Corporation that is public and joinable by anyone.
    • INVITE_ONLY

      public static final Corporation.JoinType INVITE_ONLY
      Represents a Corporation that can only be joined by invitation.
    • PRIVATE

      public static final Corporation.JoinType PRIVATE
      Represents a Corporation that is private and cannot be joined by anyone.
  • Method Details

    • values

      public static Corporation.JoinType[] 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 Corporation.JoinType 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