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.
  • Enum Constant Details

    • locSupport

      public static final EPPRegistryContact.PostalInfoTypeSupport locSupport
      Indicates that a single <contact:postalInfo> element is supported with the type "loc".
    • intSupport

      public static final EPPRegistryContact.PostalInfoTypeSupport intSupport
      Indicates that a single <contact:postalInfo> element is supported with the type "int".
    • locOrIntSupport

      public static final EPPRegistryContact.PostalInfoTypeSupport locOrIntSupport
      Indicates that a single <contact:postalInfo> element is supported with the type "loc" or "int".
    • locAndIntSupport

      public static final EPPRegistryContact.PostalInfoTypeSupport 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

      public static final EPPRegistryContact.PostalInfoTypeSupport 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

      public static final EPPRegistryContact.PostalInfoTypeSupport 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

      public static EPPRegistryContact.PostalInfoTypeSupport[] 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

      public static EPPRegistryContact.PostalInfoTypeSupport valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getSupport

      public static EPPRegistryContact.PostalInfoTypeSupport getSupport(String aSupportStr)
      Get the type enumerated value given the matching string.
      Parameters:
      aSupportStr - PostalInfoTypeSupport enumerated string to convert to an enumerated PostalInfoTypeSupport instance.
      Returns:
      Enumerated PostalInfoTypeSupport value matching the String.
      Throws:
      InvalidParameterException - If aSupportStr does not match an enumerated PostalInfoTypeSupport string value.
    • toString

      public String toString()
      Convert the enumerated PostalInfoTypeSupport value to a String .
      Overrides:
      toString in class Enum<EPPRegistryContact.PostalInfoTypeSupport>