com.filenet.api.constants
Class CheckinType
- java.lang.Object
-
- com.filenet.api.constants.CheckinType
-
- All Implemented Interfaces:
- java.io.Serializable
public class CheckinType extends java.lang.Object implements java.io.Serializable
Provides a set of constants to specify whether to check in a document reservation as a new minor or new major version. During a minor version check-in, the new minor document version is marked as in-process (its VersionStatus property is set toIN_PROCESS
) and the previous in-process minor document version (if it exists) is marked as superseded (its VersionStatus property is set toSUPERSEDED
). During a major version check-in, the new major document version is marked as released (its VersionStatus property is set toRELEASED
) and the previous released major document version and in-process minor document version (if they exist) are marked as superseded.- See Also:
checkin
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static CheckinType
MAJOR_VERSION
Specifies that a document reservation will be checked in as a new major version.static CheckinType
MINOR_VERSION
Specifies that a document reservation will be checked in as a new minor version.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.Boolean
getBooleanValue()
Returns aBoolean
representation of this instance.static CheckinType
getInstanceFromBoolean(boolean value)
Returns the object instance from its associatedboolean
valueboolean
getValue()
Returns aboolean
representation of this instance.java.lang.String
toString()
Returns aString
representation of this instance.
-
-
-
Field Detail
-
MINOR_VERSION
public static final CheckinType MINOR_VERSION
Specifies that a document reservation will be checked in as a new minor version.
-
MAJOR_VERSION
public static final CheckinType MAJOR_VERSION
Specifies that a document reservation will be checked in as a new major version.
-
-
Method Detail
-
getValue
public boolean getValue()
Returns aboolean
representation of this instance.- Returns:
- A
boolean
representing the instance.
-
getBooleanValue
public java.lang.Boolean getBooleanValue()
Returns aBoolean
representation of this instance.- Returns:
- A
Boolean
representing the instance.
-
getInstanceFromBoolean
public static CheckinType getInstanceFromBoolean(boolean value)
Returns the object instance from its associatedboolean
value- Parameters:
value
- Aboolean
associated with a particular instance of this class.- Returns:
- The referenced object instance.
-
toString
public java.lang.String toString()
Returns aString
representation of this instance.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A
String
representing the instance.
-
-