|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.dods.cache.Condition
This class is for storing one condition declared in WHERE part of SELECT clause.
Field Summary | |
protected int |
columnIndex
Column index in the table. |
protected java.lang.String |
operator
Operator (relation) of the condition. |
protected java.lang.Object |
value
Value to which the column DO is compared against. |
Constructor Summary | |
Condition(int colIndex,
boolean value,
java.lang.String oper)
Constructor (int, boolean, String). |
|
Condition(int colIndex,
double value,
java.lang.String oper)
Constructor (int, double, String). |
|
Condition(int colIndex,
java.lang.Object value,
java.lang.String oper)
Constructor (int, Object, String). |
Method Summary | |
int |
getColumnIndex()
Returns column index. |
java.lang.String |
getOperator()
Returns operator. |
java.lang.Object |
getValue()
Returns column value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int columnIndex
protected java.lang.Object value
protected java.lang.String operator
Constructor Detail |
public Condition(int colIndex, java.lang.Object value, java.lang.String oper)
colIndex
- index of the column whose value will be compared.value
- the value to compare against.oper
- operator.public Condition(int colIndex, boolean value, java.lang.String oper)
colIndex
- index of the column whose value will be compared.value
- the value to compare against.oper
- operator.public Condition(int colIndex, double value, java.lang.String oper)
colIndex
- index of the column whose value will be compared.value
- the value to compare against.oper
- operator.Method Detail |
public int getColumnIndex()
public java.lang.Object getValue()
public java.lang.String getOperator()
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |