com.priint.comet.port.whiteboard
Enum CometWhiteboard.DocumentType

java.lang.Object
  extended by java.lang.Enum<CometWhiteboard.DocumentType>
      extended by com.priint.comet.port.whiteboard.CometWhiteboard.DocumentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CometWhiteboard.DocumentType>
Enclosing interface:
CometWhiteboard

public static enum CometWhiteboard.DocumentType
extends java.lang.Enum<CometWhiteboard.DocumentType>


Enum Constant Summary
EXTERN
           
MANAGED
           
PUBLICATION
           
TMP
           
UNKNOWN
           
 
Method Summary
static CometWhiteboard.DocumentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CometWhiteboard.DocumentType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EXTERN

public static final CometWhiteboard.DocumentType EXTERN

MANAGED

public static final CometWhiteboard.DocumentType MANAGED

PUBLICATION

public static final CometWhiteboard.DocumentType PUBLICATION

TMP

public static final CometWhiteboard.DocumentType TMP

UNKNOWN

public static final CometWhiteboard.DocumentType UNKNOWN
Method Detail

valueOf

public static CometWhiteboard.DocumentType 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

values

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

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