Enum Class LocationRequestStatus

java.lang.Object
java.lang.Enum<LocationRequestStatus>
net.solarnetwork.central.domain.LocationRequestStatus
All Implemented Interfaces:
Serializable, Comparable<LocationRequestStatus>, Constable, net.solarnetwork.domain.CodedValue

public enum LocationRequestStatus extends Enum<LocationRequestStatus> implements net.solarnetwork.domain.CodedValue
Location request status enumeration.
Since:
1.3
  • Enum Constant Details

    • Submitted

      public static final LocationRequestStatus Submitted
      The request has been submitted and received.
    • Rejected

      public static final LocationRequestStatus Rejected
      The request has been rejected.
    • Duplicate

      public static final LocationRequestStatus Duplicate
      The request was found to be a duplicate for an existing location.
    • Created

      public static final LocationRequestStatus Created
      The location has been created.
  • Method Details

    • values

      public static LocationRequestStatus[] 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 LocationRequestStatus 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
    • getCode

      public int getCode()
      Specified by:
      getCode in interface net.solarnetwork.domain.CodedValue