Enum EPPRegistryContact.PostalInfoTypeSupport

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      intOptLocSupport
      Indicates that the <contact:postalInfo> element with type "int" is required and a second <contact:postalInfo> element with the type "loc" is optional.
      intSupport
      Indicates that a single <contact:postalInfo> element is supported with the type "int".
      locAndIntSupport
      Indicates that up to two <contact:postalInfo> elements is supported for defining both the "loc" and the "int" type.
      locOptIntSupport
      Indicates that the <contact:postalInfo> element with type "loc" is required and a second <contact:postalInfo> element with the type "int" is optional.
      locOrIntSupport
      Indicates that a single <contact:postalInfo> element is supported with the type "loc" or "int".
      locSupport
      Indicates that a single <contact:postalInfo> element is supported with the type "loc".
    • Enum Constant Detail

      • 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 Detail

      • values

        public static EPPRegistryContact.PostalInfoTypeSupport[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EPPRegistryContact.PostalInfoTypeSupport c : EPPRegistryContact.PostalInfoTypeSupport.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EPPRegistryContact.PostalInfoTypeSupport valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getSupport

        public static EPPRegistryContact.PostalInfoTypeSupport getSupport​(java.lang.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:
        java.security.InvalidParameterException - If aSupportStr does not match an enumerated PostalInfoTypeSupport string value.
      • toString

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