com.filenet.api.constants
Class RequiredState
- java.lang.Object
-
- com.filenet.api.constants.RequiredState
-
- All Implemented Interfaces:
- java.io.Serializable
public class RequiredState extends java.lang.Object implements java.io.SerializableSpecifies the possible required states for Stored Search queries.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static RequiredStateNONESpecifies no required state.static RequiredStatePROHIBITEDSpecifies that a term is prohibited in a Stored Search query.static RequiredStateREQUIREDSpecifies that a term is required in a Stored Search query.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static RequiredStategetInstanceFromInt(int value)Gets an instance of this class using its associated integer value (the*_AS_INTfields).intgetValue()Returns an integer value associated with a specific instance of this class.java.lang.StringtoString()Returns aStringrepresentation of this instance.
-
-
-
Field Detail
-
NONE
public static final RequiredState NONE
Specifies no required state.
-
PROHIBITED
public static final RequiredState PROHIBITED
Specifies that a term is prohibited in a Stored Search query. Text containing the term will not be returned by the query.
-
REQUIRED
public static final RequiredState REQUIRED
Specifies that a term is required in a Stored Search query. Only text containing the term will be returned by the query.
-
-
Method Detail
-
getValue
public int getValue()
Returns an integer value associated with a specific instance of this class.- Returns:
- An integer representing a specific instance of this class.
-
getInstanceFromInt
public static RequiredState getInstanceFromInt(int value)
Gets an instance of this class using its associated integer value (the*_AS_INTfields).- Parameters:
value- An integer representing a particular static instance of this class.- Returns:
- The referenced
RefreshModeinstance. - Throws:
EngineRuntimeException- Thrown when thevalueparameter isnullor invalid.
-
toString
public java.lang.String toString()
Returns aStringrepresentation of this instance.- Overrides:
toStringin classjava.lang.Object- Returns:
- A
Stringrepresenting the instance.
-
-