public static enum EPPOrgContact.Type extends java.lang.Enum<EPPOrgContact.Type>
Enum Constant and Description |
---|
ABUSE |
ADMINISTRATIVE |
BILLING |
CUSTOM |
TECHNICAL |
Modifier and Type | Method and Description |
---|---|
static EPPOrgContact.Type |
getType(java.lang.String aTypeVal)
Get the
Type instance given the type attribute value. |
java.lang.String |
toString()
Convert the enumerated
Type value to a type attribute
String . |
static EPPOrgContact.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EPPOrgContact.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EPPOrgContact.Type ADMINISTRATIVE
public static final EPPOrgContact.Type BILLING
public static final EPPOrgContact.Type TECHNICAL
public static final EPPOrgContact.Type ABUSE
public static final EPPOrgContact.Type CUSTOM
public static EPPOrgContact.Type[] values()
for (EPPOrgContact.Type c : EPPOrgContact.Type.values()) System.out.println(c);
public static EPPOrgContact.Type 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 EPPOrgContact.Type getType(java.lang.String aTypeVal)
Type
instance given the type attribute value.aTypeVal
- Type attribute value.Type
instance matching the
aTypeVal
value.java.security.InvalidParameterException
- If aTypeVal
does not match an enumerated
Type
string value.public java.lang.String toString()
Type
value to a type attribute
String
.toString
in class java.lang.Enum<EPPOrgContact.Type>