|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<State>
com.verisign.epp.codec.reseller.State
public enum State
Operational state of the reseller, with one of the following values:
OK
- The normal status value for the reseller object.READONLY
- Transform commands submitted with the
reseller identifier would not be allowed.TERMINATED
- Query and transform commands submitted with
the reseller identifier would not be allowed.
Enum Constant Summary | |
---|---|
OK
|
|
READONLY
|
|
TERMINATED
|
Method Summary | |
---|---|
static State |
getState(java.lang.String aState)
Get the state enumerated value given the matching string. |
java.lang.String |
toString()
Convert the enumerated State value to a
String . |
static State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final State OK
public static final State READONLY
public static final State TERMINATED
Method Detail |
---|
public static State[] values()
for (State c : State.values()) System.out.println(c);
public static State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static State getState(java.lang.String aState)
aState
- State
enumerated string to convert to an
enumerated State
instance.
State
value matching the
String
.
java.security.InvalidParameterException
- If aString
does not match an enumerated
State
string value.public java.lang.String toString()
State
value to a
String
.
toString
in class java.lang.Enum<State>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |