Oracle Data Mining Java API Reference
10g Release 1 (10.1)

B12276-01

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". The semantics of the value are as follows:

Since:
9.2.0
See Also:
Serialized Form

Field Summary
static BooleanOperator and
          Specifies the AND boolean operator.

 

Method Summary
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 the list of all BooleanOperator enumerations defined.
static java.lang.String[] listNames()
          Returns the list of names of all BooleanOperator enumerations defined.

 

Methods inherited from class oracle.dmt.odm.Enum
getEnum, getID, isEqual

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

and

public static final BooleanOperator and
Specifies the AND boolean operator.
Method Detail

listNames

public static java.lang.String[] listNames()
Returns the list of names of all BooleanOperator enumerations defined.
Returns:
array of names for the BooleanOperator enumeration

list

public static BooleanOperator[] list()
Returns the list of all BooleanOperator enumerations defined.
Returns:
array of enumeration values for the BooleanOperator enumeration

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:
instance of the BooleanOperator enumeration object corresponding to the given name, null if there is no enumeration for this name.

getInstance

public static BooleanOperator getInstance(int id)
Returns BooleanOperator enumeration object corresponding to the specified ID.
Parameters:
id - of the boolean operator enumeration
Returns:
instance of the BooleanOperator enumeration object corresponding to the given id, null if there is no enumeration for id.

Copyright © 2003 Oracle Corporation. All Rights Reserved.