Enum Class EPPRegistryContact.PostalInfoTypeSupport
java.lang.Object
java.lang.Enum<EPPRegistryContact.PostalInfoTypeSupport>
com.verisign.epp.codec.registry.v02.EPPRegistryContact.PostalInfoTypeSupport
- All Implemented Interfaces:
Serializable,Comparable<EPPRegistryContact.PostalInfoTypeSupport>,Constable
- Enclosing class:
EPPRegistryContact
public static enum EPPRegistryContact.PostalInfoTypeSupport
extends Enum<EPPRegistryContact.PostalInfoTypeSupport>
Possible values for the
postalInfoTypeSupport attribute. The
"Support" suffix is removed when setting the value in the element.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the <contact:postalInfo> element with type "int" is required and a second <contact:postalInfo> element with the type "loc" is optional.Indicates that a single <contact:postalInfo> element is supported with the type "int".Indicates that up to two <contact:postalInfo> elements is supported for defining both the "loc" and the "int" type.Indicates that the <contact:postalInfo> element with type "loc" is required and a second <contact:postalInfo> element with the type "int" is optional.Indicates that a single <contact:postalInfo> element is supported with the type "loc" or "int".Indicates that a single <contact:postalInfo> element is supported with the type "loc". -
Method Summary
Modifier and TypeMethodDescriptiongetSupport(String aSupportStr) Get the type enumerated value given the matching string.toString()Convert the enumeratedPostalInfoTypeSupportvalue to aString.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
locSupport
Indicates that a single <contact:postalInfo> element is supported with the type "loc". -
intSupport
Indicates that a single <contact:postalInfo> element is supported with the type "int". -
locOrIntSupport
Indicates that a single <contact:postalInfo> element is supported with the type "loc" or "int". -
locAndIntSupport
Indicates that up to two <contact:postalInfo> elements is supported for defining both the "loc" and the "int" type. This policy does not indicate that both must be provided. -
intOptLocSupport
Indicates that the <contact:postalInfo> element with type "int" is required and a second <contact:postalInfo> element with the type "loc" is optional. -
locOptIntSupport
Indicates that the <contact:postalInfo> element with type "loc" is required and a second <contact:postalInfo> element with the type "int" is optional.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getSupport
Get the type enumerated value given the matching string.- Parameters:
aSupportStr-PostalInfoTypeSupportenumerated string to convert to an enumeratedPostalInfoTypeSupportinstance.- Returns:
- Enumerated
PostalInfoTypeSupportvalue matching theString. - Throws:
InvalidParameterException- IfaSupportStrdoes not match an enumeratedPostalInfoTypeSupportstring value.
-
toString
Convert the enumeratedPostalInfoTypeSupportvalue to aString.- Overrides:
toStringin classEnum<EPPRegistryContact.PostalInfoTypeSupport>
-