com.softwareag.centrasite.api.csom.action
Enum AttachDocumentState
java.lang.Object
java.lang.Enum<AttachDocumentState>
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.
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 |
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
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>