public class VersionSelection
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static VersionSelection |
ALL_VERSIONS
Specifies that all document versions will be returned in the query.
|
static VersionSelection |
CURRENT_VERSION
Specifies that only the current document version will be returned in the query.
|
static VersionSelection |
RELEASED_VERSION
Specifies that only the released document version will be returned in the query.
|
Modifier and Type | Method and Description |
---|---|
static VersionSelection |
getInstanceFromInt(int value)
Gets an instance of this class using its associated integer value (the
*_AS_INT fields). |
int |
getValue()
Returns an integer value associated with a specific instance of this class.
|
java.lang.String |
toString()
Returns a
String representation of this instance. |
public static final VersionSelection ALL_VERSIONS
public static final VersionSelection CURRENT_VERSION
public static final VersionSelection RELEASED_VERSION
public int getValue()
public static VersionSelection getInstanceFromInt(int value)
*_AS_INT
fields).value
- An integer representing a particular static instance of this class.RefreshMode
instance.EngineRuntimeException
- Thrown when the value
parameter
is null
or invalid.public java.lang.String toString()
String
representation of this instance.toString
in class java.lang.Object
String
representing the instance.© Copyright IBM Corporation 2006, 2015. All rights reserved.