|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jso.query.CriteriaOperand
net.sf.jso.query.ValueOperand
Criteria operand which holds a value, corresponding to a variable's (class) field.
Constructor Summary | |
ValueOperand()
Constructs operand. |
|
ValueOperand(java.lang.Object aValue)
Constructs operand. |
Method Summary | |
java.lang.Object |
getValue()
Returns operand's value. |
boolean |
isEmpty()
Indicates operands attributes have been specified. |
void |
setValue(java.lang.Object aValue)
Sets operand's value. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ValueOperand()
public ValueOperand(java.lang.Object aValue)
aValue
- Operand's value.Method Detail |
public void setValue(java.lang.Object aValue)
aValue
- Operand's value. May be null
.
java.lang.IllegalStateException
- If a value has not been set.public java.lang.Object getValue()
isEmpty()
method should be
called first to verify if a value has been set.
java.lang.IllegalStateException
- If a value has not been set.public boolean isEmpty()
isEmpty
in class CriteriaOperand
true
if attributes have been set;
false
.public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |