|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.castor.cpa.query.object.AbstractQueryObject
org.castor.cpa.query.object.condition.AbstractCondition
org.castor.cpa.query.object.condition.SimpleCondition
public abstract class SimpleCondition
Abstract base class that represents simple condition.
Constructor Summary | |
---|---|
SimpleCondition()
|
Method Summary | |
---|---|
Expression |
getExpression()
Get expression to test. |
boolean |
isNot()
Does test result get inverted? |
Condition |
not()
NOT condition of condition query object. |
void |
setExpression(Expression expression)
Set expression to test. |
void |
setNot(boolean not)
Set if test result has to be inverted. |
Methods inherited from class org.castor.cpa.query.object.condition.AbstractCondition |
---|
and, or |
Methods inherited from class org.castor.cpa.query.object.AbstractQueryObject |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.castor.cpa.query.QueryObject |
---|
toString |
Constructor Detail |
---|
public SimpleCondition()
Method Detail |
---|
public final Condition not()
public final boolean isNot()
true
if test result gets inverted, false
otherwise.public final void setNot(boolean not)
not
- true
if test result gets inverted, false
otherwise.public final Expression getExpression()
public final void setExpression(Expression expression)
expression
- Expression to test.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |