net.sourceforge.domian.specification
Enum RelationalOperator
java.lang.Object
java.lang.Enum<RelationalOperator>
net.sourceforge.domian.specification.RelationalOperator
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<RelationalOperator>
enum RelationalOperator
- extends java.lang.Enum<RelationalOperator>
Operator defining a comparison relation between two objects.
It is a binary operator, always having two operands.
When applied, it always represents a boolean
expression.
- Since:
- 0.5
- Author:
- Eirik Torske
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
EQUAL
public static final RelationalOperator EQUAL
NOT_EQUAL
public static final RelationalOperator NOT_EQUAL
LESS_THAN
public static final RelationalOperator LESS_THAN
LESS_THAN_OR_EQUAL
public static final RelationalOperator LESS_THAN_OR_EQUAL
GREATER_THAN
public static final RelationalOperator GREATER_THAN
GREATER_THAN_OR_EQUAL
public static final RelationalOperator GREATER_THAN_OR_EQUAL
MUCH_LESS_THAN
public static final RelationalOperator MUCH_LESS_THAN
MUCH_GREATER_THAN
public static final RelationalOperator MUCH_GREATER_THAN
DO_INVERT
static final java.lang.Boolean DO_INVERT
DO_NOT_INVERT
static final java.lang.Boolean DO_NOT_INVERT
sqlCompliantSymbolRepresentation
private java.lang.String sqlCompliantSymbolRepresentation
values
public static RelationalOperator[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (RelationalOperator c : RelationalOperator.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RelationalOperator valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getInvertedBinaryRelation
RelationalOperator getInvertedBinaryRelation()
- Returns:
- the inverted binary relation of this enum
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<RelationalOperator>
Copyright © 2006-2010. All Rights Reserved.