public final class VersionStatus
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static VersionStatus |
IN_PROCESS
Specifies that the document version is an in-process minor version.
|
static int |
IN_PROCESS_AS_INT
An
int value associated with the IN_PROCESS instance of this class. |
static VersionStatus |
RELEASED
Specifies that the document version is a released major version.
|
static int |
RELEASED_AS_INT
An
int value associated with the RELEASED instance of this class. |
static VersionStatus |
RESERVATION
Specifies that the document version is a reservation version.
|
static int |
RESERVATION_AS_INT
An
int value associated with the RESERVATION instance of this class. |
static VersionStatus |
SUPERSEDED
Specifies that the document version is a superseded version.
|
static int |
SUPERSEDED_AS_INT
An
int value associated with the SUPERSEDED instance of this class. |
Modifier and Type | Method and Description |
---|---|
static VersionStatus |
getInstanceFromInt(int value)
Returns an instance of this class using its associated integer value.
|
int |
getValue()
Returns the internal integer value associated with a specific instance of this class.
|
java.lang.String |
toString()
Returns a
String representation of this enumeration instance. |
public static final int RELEASED_AS_INT
int
value associated with the RELEASED instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final VersionStatus RELEASED
RELEASED
state. When a reservation version is checked in as a major version,
it becomes the new released version and the previously released version becomes a superseded version.public static final int IN_PROCESS_AS_INT
int
value associated with the IN_PROCESS instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final VersionStatus IN_PROCESS
IN_PROCESS
state. When a reservation version is checked in as a minor version,
it becomes the new in-process version and the previous in-process version becomes a superseded version.public static final int SUPERSEDED_AS_INT
int
value associated with the SUPERSEDED instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final VersionStatus SUPERSEDED
public static final int RESERVATION_AS_INT
int
value associated with the RESERVATION instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final VersionStatus RESERVATION
RESERVATION
state.public int getValue()
getInstanceFromInt(int)
public java.lang.String toString()
String
representation of this enumeration instance.toString
in class java.lang.Object
public static VersionStatus getInstanceFromInt(int value)
value
- The integer value. (See the *_AS_INT fields.)EngineRuntimeException
- If an enumeration instance with the given
ordinal value does not exist.getValue()
© Copyright IBM Corporation 2006, 2015. All rights reserved.