|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<EPPRealNameVerification.Role>
com.verisign.epp.codec.nv.EPPRealNameVerification.Role
public static enum EPPRealNameVerification.Role
Real Name Verification (RNV) role that include:
PERSON
- The RNV is for a person.ORG
- The RNV is for an organization.
Enum Constant Summary | |
---|---|
ORG
|
|
PERSON
|
Method Summary | |
---|---|
static EPPRealNameVerification.Role |
getRole(java.lang.String aString)
Get the role enumerated value given the matching string. |
java.lang.String |
toString()
Convert the enumerated Role value to a
String . |
static EPPRealNameVerification.Role |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EPPRealNameVerification.Role[] |
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 EPPRealNameVerification.Role PERSON
public static final EPPRealNameVerification.Role ORG
Method Detail |
---|
public static EPPRealNameVerification.Role[] values()
for (EPPRealNameVerification.Role c : EPPRealNameVerification.Role.values()) System.out.println(c);
public static EPPRealNameVerification.Role 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 EPPRealNameVerification.Role getRole(java.lang.String aString)
aString
- Role
enumerated string to convert to an
enumerated Role
instance.
Role
value matching the
String
.
java.security.InvalidParameterException
- If aString
does not match an enumerated
Role
string value.public java.lang.String toString()
Role
value to a
String
.
toString
in class java.lang.Enum<EPPRealNameVerification.Role>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |