com.filenet.api.constants
Class PropertyState
- java.lang.Object
-
- com.filenet.api.constants.PropertyState
-
- All Implemented Interfaces:
- java.io.Serializable
public class PropertyState extends java.lang.Object implements java.io.SerializableProvides a set of constants that indicates the type of value held by aPropertyobject as it relates to a given Content Engine property.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static PropertyStateNO_VALUEIndicates that the Content Engine property represented by thePropertyobject is eithernull(if it has single cardinality) or refers to an empty collection (if it has list or enumeration cardinality).static intNO_VALUE_AS_INTAnintvalue associated with theNO_VALUEinstance of this class.static PropertyStateREFERENCEIndicates that thePropertyobject holds anObjectReferenceobject specifying a reference to the object returned by an object-valued Content Engine property.static intREFERENCE_AS_INTAnintvalue associated with theREFERENCEinstance of this class.static PropertyStateRETRIEVAL_ERRORIndicates that thePropertyobject holds anEngineRuntimeExceptionobject, which represents an error that has occurred during retrieval of a Content Engine property value.static intRETRIEVAL_ERROR_AS_INTAnintvalue associated with theRETRIEVAL_ERRORinstance of this class.static PropertyStateUNEVALUATEDIndicates that thePropertyobject represents an object-valued Content Engine property but does not hold its object value and does not have any information identifying the object.static intUNEVALUATED_AS_INTAnintvalue associated with theUNEVALUATEDinstance of this class.static PropertyStateVALUEIndicates that thePropertyobject holds the value of the Content Engine property that it represents.static intVALUE_AS_INTAnintvalue associated with theVALUEinstance of this class.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static PropertyStategetInstanceFromInt(int value)Returns an instance of this class using its associatedintvalue.intgetValue()Returns anintvalue associated with a specific instance of this class.java.lang.StringtoString()Returns aStringrepresentation of this enumeration instance.
-
-
-
Field Detail
-
VALUE_AS_INT
public static final int VALUE_AS_INT
Anintvalue associated with theVALUEinstance of this class. Consider using the static instances of this class instead of the associatedintvalues. Theintvalues risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
VALUE
public static final PropertyState VALUE
Indicates that thePropertyobject holds the value of the Content Engine property that it represents.
-
NO_VALUE_AS_INT
public static final int NO_VALUE_AS_INT
Anintvalue associated with theNO_VALUEinstance of this class. Consider using the static instances of this class instead of the associatedintvalues. Theintvalues risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
NO_VALUE
public static final PropertyState NO_VALUE
Indicates that the Content Engine property represented by thePropertyobject is eithernull(if it has single cardinality) or refers to an empty collection (if it has list or enumeration cardinality).
-
REFERENCE_AS_INT
public static final int REFERENCE_AS_INT
Anintvalue associated with theREFERENCEinstance of this class. Consider using the static instances of this class instead of the associatedintvalues. Theintvalues risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
REFERENCE
public static final PropertyState REFERENCE
Indicates that thePropertyobject holds anObjectReferenceobject specifying a reference to the object returned by an object-valued Content Engine property. The object reference contains information that identifies the object but does not contain the object itself.
-
UNEVALUATED_AS_INT
public static final int UNEVALUATED_AS_INT
Anintvalue associated with theUNEVALUATEDinstance of this class. Consider using the static instances of this class instead of the associatedintvalues. Theintvalues risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
UNEVALUATED
public static final PropertyState UNEVALUATED
Indicates that thePropertyobject represents an object-valued Content Engine property but does not hold its object value and does not have any information identifying the object.
-
RETRIEVAL_ERROR_AS_INT
public static final int RETRIEVAL_ERROR_AS_INT
Anintvalue associated with theRETRIEVAL_ERRORinstance of this class. Consider using the static instances of this class instead of the associatedintvalues. Theintvalues risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
RETRIEVAL_ERROR
public static final PropertyState RETRIEVAL_ERROR
Indicates that thePropertyobject holds anEngineRuntimeExceptionobject, which represents an error that has occurred during retrieval of a Content Engine property value.
-
-
Method Detail
-
getValue
public int getValue()
Returns anintvalue associated with a specific instance of this class.- Returns:
- The enumeration instance's ordinal value.
- See Also:
getInstanceFromInt(int)
-
getInstanceFromInt
public static PropertyState getInstanceFromInt(int value)
Returns an instance of this class using its associatedintvalue.- Parameters:
value- Anintvalue. (See the*_AS_INTfields.)- Returns:
- The enumeration instance with the given ordinal value.
-
toString
public java.lang.String toString()
Returns aStringrepresentation of this enumeration instance.- Overrides:
toStringin classjava.lang.Object- Returns:
- The enumeration instance's description.
-
-