Enum IssueState
java.lang.Object
java.lang.Enum<IssueState>
com.onenetwork.platform.data.model.IssueState
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IssueState>
,java.lang.constant.Constable
public enum IssueState extends java.lang.Enum<IssueState>
Describes the desired state of an
Issue
.-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_COMPUTED
The issue was not computed (no-op)OFF
The issue was resolved and should be turned offON
The issue was detected and should be turned on -
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_NOT_COMPUTED
static java.lang.String
_OFF
static java.lang.String
_ON
-
Method Summary
Modifier and Type Method Description static IssueState
fromString(java.lang.String value)
Added for compliance with JAXB 1.0, use fromValue() insteadstatic IssueState
fromValue(java.lang.String v)
java.lang.String
getValue()
Added for compliance with JAXB 1.0, use value() insteadstatic boolean
isValue(java.lang.String v)
java.lang.String
toString()
java.lang.String
value()
static IssueState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IssueState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_COMPUTED
The issue was not computed (no-op) -
ON
The issue was detected and should be turned on -
OFF
The issue was resolved and should be turned off
-
-
Field Details
-
_NOT_COMPUTED
public static final java.lang.String _NOT_COMPUTED -
_ON
public static final java.lang.String _ON -
_OFF
public static final java.lang.String _OFF
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public java.lang.String value() -
fromValue
-
fromString
Added for compliance with JAXB 1.0, use fromValue() instead -
getValue
public java.lang.String getValue()Added for compliance with JAXB 1.0, use value() instead -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Enum<IssueState>
-
isValue
public static boolean isValue(java.lang.String v)
-