Enum Class EPPOrgContact.Type

java.lang.Object
java.lang.Enum<EPPOrgContact.Type>
com.verisign.epp.codec.org.EPPOrgContact.Type
All Implemented Interfaces:
Serializable, Comparable<EPPOrgContact.Type>, Constable
Enclosing class:
EPPOrgContact

public static enum EPPOrgContact.Type extends Enum<EPPOrgContact.Type>
Contact type enumeration.
  • Enum Constant Details

  • Method Details

    • values

      public static EPPOrgContact.Type[] 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 EPPOrgContact.Type 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
    • getType

      public static EPPOrgContact.Type getType(String aTypeVal)
      Get the Type instance given the type attribute value.
      Parameters:
      aTypeVal - Type attribute value.
      Returns:
      Enumerated Type instance matching the aTypeVal value.
      Throws:
      InvalidParameterException - If aTypeVal does not match an enumerated Type string value.
    • toString

      public String toString()
      Convert the enumerated Type value to a type attribute String.
      Overrides:
      toString in class Enum<EPPOrgContact.Type>