oracle.dmt.odm
Class ComparisonFunction
java.lang.Object
|
+--oracle.dmt.odm.Enum
|
+--oracle.dmt.odm.ComparisonFunction
- All Implemented Interfaces:
- java.io.Serializable
- public class ComparisonFunction
- extends Enum
The enumeration class ComparisonFunction
is used to
specify the comparison function for the Predicate
interface.
- Since:
- 9.2.0
- See Also:
Predicate
, Serialized Form
Type | Method |
static ComparisonFunction |
getInstance(int id)
Returns an instance of ComparisonFunction enumeration
that corresponds to the specified identifier. |
static ComparisonFunction |
getInstance(java.lang.String name)
Returns an instance of ComparisonFunction enumeration
that corresponds to the specified name. |
static ComparisonFunction[] |
list()
Returns a list of all instances of ComparisonFunction enumerations. |
static java.lang.String[] |
listNames()
Returns a list of the values available in enumeration
ComparisonFunction . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
public static final ComparisonFunction in
- Specifies the IN comparison function.
equal
public static final ComparisonFunction equal
- Specifies the EQUAL comparison function.
ge
public static final ComparisonFunction ge
- Specifies the GREATER EQUAL comparison function.
le
public static final ComparisonFunction le
- Specifies the LESS EQUAL comparison function.
listNames
public static java.lang.String[] listNames()
- Returns a list of the values available in enumeration
ComparisonFunction
.
- Returns:
String[]
- The values of the enumeration
list
public static ComparisonFunction[] list()
- Returns a list of all instances of
ComparisonFunction
enumerations.
- Returns:
ComparisonFunction[]
- The instances of ComparisonFunction
getInstance
public static ComparisonFunction getInstance(java.lang.String name)
- Returns an instance of
ComparisonFunction
enumeration
that corresponds to the specified name.
- Parameters:
name
- The value of the enumeration (one of in, equal,
greater_equal and less_equal)- Returns:
ComparisonFunction
- An instance of ComparisonFunction
which
contains a value that matches to the specified name.
getInstance
public static ComparisonFunction getInstance(int id)
- Returns an instance of
ComparisonFunction
enumeration
that corresponds to the specified identifier.
- Parameters:
id
- The identifier of the enumeration (one of 0,1,2 and 3)- Returns:
ComparisonFunction
- An instance of ComparisonFunction
which
contains a value that matches to the specified identifier.