public class RequiredState
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static RequiredState |
NONE
Specifies no required state.
|
static RequiredState |
PROHIBITED
Specifies that a term is prohibited in a Stored Search query.
|
static RequiredState |
REQUIRED
Specifies that a term is required in a Stored Search query.
|
Modifier and Type | Method and Description |
---|---|
static RequiredState |
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 RequiredState NONE
public static final RequiredState PROHIBITED
public static final RequiredState REQUIRED
public int getValue()
public static RequiredState 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.