com.tc.object.dna.api
Enum DNA.DNAType

java.lang.Object
  extended by java.lang.Enum<DNA.DNAType>
      extended by com.tc.object.dna.api.DNA.DNAType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DNA.DNAType>
Enclosing interface:
DNA

public static enum DNA.DNAType
extends java.lang.Enum<DNA.DNAType>


Enum Constant Summary
L1_FAULT
           
L2_SYNC
           
 
Method Summary
static DNA.DNAType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DNA.DNAType[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

L2_SYNC

public static final DNA.DNAType L2_SYNC

L1_FAULT

public static final DNA.DNAType L1_FAULT
Method Detail

values

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

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

valueOf

public static DNA.DNAType 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


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.