Package net.solarnetwork.central.domain
Enum Class 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()static LocationRequestStatusReturns the enum constant of this class with the specified name.static LocationRequestStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Submitted
The request has been submitted and received. -
Rejected
The request has been rejected. -
Duplicate
The request was found to be a duplicate for an existing location. -
Created
The location has been created.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getCode
public int getCode()- Specified by:
getCodein interfacenet.solarnetwork.domain.CodedValue
-