oracle.dmt.odm
Class BooleanOperator
java.lang.Object
|
+--oracle.dmt.odm.Enum
|
+--oracle.dmt.odm.BooleanOperator
- All Implemented Interfaces:
- java.io.Serializable
- public class BooleanOperator
- extends Enum
The enumeration class BooleanOperator
is used to
specify the boolean operator that is used in a CompoundPredicate
instance.
Currently, ODM supports only "AND".
- Since:
- 9.2.0
- See Also:
CompoundPredicate
, Serialized Form
Type | Method |
static BooleanOperator |
getInstance(int id)
Returns BooleanOperator enumeration object corresponding to the
specified ID. |
static BooleanOperator |
getInstance(java.lang.String name)
Returns BooleanOperator enumeration object corresponding to the
specified name. |
static BooleanOperator[] |
list()
Returns list of all BooleanOperator enumerations defined. |
static java.lang.String[] |
listNames()
Returns list the names of all BooleanOperator enumerations defined. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
and
public static final BooleanOperator and
- Specifies the AND boolean operator.
listNames
public static java.lang.String[] listNames()
- Returns list the names of all
BooleanOperator
enumerations defined.
- Returns:
- String[]
list
public static BooleanOperator[] list()
- Returns list of all
BooleanOperator
enumerations defined.
- Returns:
BooleanOperator[]
getInstance
public static BooleanOperator getInstance(java.lang.String name)
- Returns
BooleanOperator
enumeration object corresponding to the
specified name.
- Parameters:
name
- boolean operator name (and)- Returns:
BooleanOperator
, returns null if there is no enum for the name.
getInstance
public static BooleanOperator getInstance(int id)
- Returns
BooleanOperator
enumeration object corresponding to the
specified ID.
- Parameters:
id
- (0)- Returns:
BooleanOperator
, returns null if there is no enum for the id.