public static enum EPPRealNameVerification.Role extends java.lang.Enum<EPPRealNameVerification.Role>
PERSON
- The RNV is for a person.ORG
- The RNV is for an organization.Modifier and Type | Method and Description |
---|---|
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.
|
public static final EPPRealNameVerification.Role PERSON
public static final EPPRealNameVerification.Role ORG
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 namejava.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>
Copyright © VeriSign Inc. All Rights Reserved.