com.opencloud.slee.resources.mm7
Enum MM7Address.AddressCoding

java.lang.Object
  extended by java.lang.Enum<MM7Address.AddressCoding>
      extended by com.opencloud.slee.resources.mm7.MM7Address.AddressCoding
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MM7Address.AddressCoding>
Enclosing class:
MM7Address

public static enum MM7Address.AddressCoding
extends java.lang.Enum<MM7Address.AddressCoding>

Typesafe enum for Address Coding


Enum Constant Summary
ENCRYPTED
           
OBFUSCATED
           
 
Method Summary
static MM7Address.AddressCoding fromString(java.lang.String addressCoding)
          Convert a string representation of a address coding to a singleton AddressCoding object.
 java.lang.String toString()
           
static MM7Address.AddressCoding valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MM7Address.AddressCoding[] 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

ENCRYPTED

public static final MM7Address.AddressCoding ENCRYPTED

OBFUSCATED

public static final MM7Address.AddressCoding OBFUSCATED
Method Detail

values

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

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

valueOf

public static MM7Address.AddressCoding 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

fromString

public static MM7Address.AddressCoding fromString(java.lang.String addressCoding)
                                           throws java.lang.IllegalArgumentException
Convert a string representation of a address coding to a singleton AddressCoding object.

Parameters:
addressCoding - a string returned by toString()
Returns:
the appropriate singleton object
Throws:
java.lang.IllegalArgumentException - if addressCoding is not a recognized status string

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<MM7Address.AddressCoding>