com.softwareag.centrasite.api.csom.action
Enum AttachDocumentState

java.lang.Object
  extended by java.lang.Enum<AttachDocumentState>
      extended by com.softwareag.centrasite.api.csom.action.AttachDocumentState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AttachDocumentState>

public enum AttachDocumentState
extends java.lang.Enum<AttachDocumentState>

AttachDocumentState will have the states possible for transition in case of attach document action.


Enum Constant Summary
COMPLETED
           
DOC_ALREADY_EXISTS
           
DOC_MISSING
           
INITIAL
           
MAIN_DOC_ALREADY_EXISTS
           
REQUEST_MAIN_DOC
           
 
Method Summary
 java.lang.String getName()
           
static AttachDocumentState lookup(int state)
           
static AttachDocumentState lookup(java.lang.String name)
           
 java.lang.String toString()
           
static AttachDocumentState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AttachDocumentState[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INITIAL

public static final AttachDocumentState INITIAL

DOC_MISSING

public static final AttachDocumentState DOC_MISSING

DOC_ALREADY_EXISTS

public static final AttachDocumentState DOC_ALREADY_EXISTS

REQUEST_MAIN_DOC

public static final AttachDocumentState REQUEST_MAIN_DOC

MAIN_DOC_ALREADY_EXISTS

public static final AttachDocumentState MAIN_DOC_ALREADY_EXISTS

COMPLETED

public static final AttachDocumentState COMPLETED
Method Detail

values

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

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

valueOf

public static AttachDocumentState 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

lookup

public static AttachDocumentState lookup(int state)

lookup

public static AttachDocumentState lookup(java.lang.String name)

getName

public java.lang.String getName()

toString

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