|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.api.constants.TypeID
public final class TypeID
Provides a set of constants that specify the data type of the values that a property, choice list,
or column definition can hold. These constants are returned by the DataType property.
When creating a choice list, you must set its DataType property to either LONG
or STRING
.
Field Summary | |
---|---|
static TypeID |
BINARY
Specifies a binary data type. |
static int |
BINARY_AS_INT
An int value associated with the BINARY instance of this class. |
static TypeID |
BOOLEAN
Specifies a Boolean data type. |
static int |
BOOLEAN_AS_INT
An int value associated with the BOOLEAN instance of this class. |
static TypeID |
DATE
Specifies a DateTime data type. |
static int |
DATE_AS_INT
An int value associated with the DATE instance of this class. |
static TypeID |
DOUBLE
Specifies a double (Float64) data type. |
static int |
DOUBLE_AS_INT
An int value associated with the DOUBLE instance of this class. |
static TypeID |
GUID
Specifies a GUID (ID) data type. |
static int |
GUID_AS_INT
An int value associated with the GUID instance of this class. |
static TypeID |
LONG
Specifies a integer data type. |
static int |
LONG_AS_INT
An int value associated with the LONG instance of this class. |
static TypeID |
OBJECT
Specifies an object data type. |
static int |
OBJECT_AS_INT
An int value associated with the OBJECT instance of this class. |
static TypeID |
STRING
Specifies a string data type. |
static int |
STRING_AS_INT
An int value associated with the STRING instance of this class. |
Method Summary | |
---|---|
static TypeID |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int OBJECT_AS_INT
int
value associated with the OBJECT 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 TypeID OBJECT
public static final int GUID_AS_INT
int
value associated with the GUID 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 TypeID GUID
public static final int LONG_AS_INT
int
value associated with the LONG 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 TypeID LONG
public static final int BOOLEAN_AS_INT
int
value associated with the BOOLEAN 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 TypeID BOOLEAN
true
or false
.
public static final int DOUBLE_AS_INT
int
value associated with the DOUBLE 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 TypeID DOUBLE
public static final int BINARY_AS_INT
int
value associated with the BINARY 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 TypeID BINARY
public static final int STRING_AS_INT
int
value associated with the STRING 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 TypeID STRING
public static final int DATE_AS_INT
int
value associated with the DATE 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 TypeID DATE
Method Detail |
---|
public int getValue()
getInstanceFromInt(int)
public java.lang.String toString()
String
representation of this enumeration instance.
toString
in class java.lang.Object
public static TypeID 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |