Enum Class OrgStatus

java.lang.Object
java.lang.Enum<OrgStatus>
edu.ucsb.cs156.frontiers.enums.OrgStatus
All Implemented Interfaces:
Serializable, Comparable<OrgStatus>, Constable

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

    • PENDING

      public static final OrgStatus PENDING
    • JOINCOURSE

      public static final OrgStatus JOINCOURSE
    • INVITED

      public static final OrgStatus INVITED
    • MEMBER

      public static final OrgStatus MEMBER
    • OWNER

      public static final OrgStatus OWNER
  • Method Details

    • values

      public static OrgStatus[] 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 OrgStatus 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