com.verisign.epp.codec.reseller
Enum EPPResellerContact.Type

java.lang.Object
  extended by java.lang.Enum<EPPResellerContact.Type>
      extended by com.verisign.epp.codec.reseller.EPPResellerContact.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EPPResellerContact.Type>
Enclosing class:
EPPResellerContact

public static enum EPPResellerContact.Type
extends java.lang.Enum<EPPResellerContact.Type>

Contact type enumeration.


Enum Constant Summary
ADMINISTRATIVE
           
BILLING
           
TECHNICAL
           
 
Method Summary
static EPPResellerContact.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 EPPResellerContact.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EPPResellerContact.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADMINISTRATIVE

public static final EPPResellerContact.Type ADMINISTRATIVE

TECHNICAL

public static final EPPResellerContact.Type TECHNICAL

BILLING

public static final EPPResellerContact.Type BILLING
Method Detail

values

public static EPPResellerContact.Type[] 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 (EPPResellerContact.Type c : EPPResellerContact.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static EPPResellerContact.Type 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

getType

public static EPPResellerContact.Type getType(java.lang.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:
java.security.InvalidParameterException - If aTypeVal does not match an enumerated Type string value.

toString

public java.lang.String toString()
Convert the enumerated Type value to a type attribute String.

Overrides:
toString in class java.lang.Enum<EPPResellerContact.Type>


Copyright © VeriSign Inc. All Rights Reserved.