|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.acmsl.queryj.Condition
|
+--org.acmsl.queryj.ConditionFactory._ConditionWrapper
Envelopes a condition surrounding it with appropiate prefix and suffix.
| Constructor Summary | |
ConditionFactory._ConditionWrapper(Condition condition,
java.lang.String prefix,
java.lang.String suffix)
Creates a condition wrapper with given information. |
|
| Method Summary | |
Condition |
and(Condition condition)
Requests AND evaluation with given condition. |
Condition |
getCondition()
Retrieves the wrapped condition. |
java.lang.String |
getPrefix()
Retrieves the prefix. |
java.lang.String |
getSuffix()
Retrieves the suffix. |
Condition |
or(Condition condition)
Requests OR evaluation with given condition. |
protected void |
setCondition(Condition condition)
Specifies the condition to wrap. |
protected void |
setPrefix(java.lang.String prefix)
Specifies the prefix. |
protected void |
setSuffix(java.lang.String suffix)
Specifies the suffix. |
java.lang.String |
toString()
Outputs a text version of the condition. |
| Methods inherited from class org.acmsl.queryj.Condition |
getInnerCondition, setInnerCondition |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConditionFactory._ConditionWrapper(Condition condition,
java.lang.String prefix,
java.lang.String suffix)
condition - the condition to wrap.prefix - the prefix.suffix - the suffix.| Method Detail |
protected void setCondition(Condition condition)
condition - such condition.public Condition getCondition()
protected void setPrefix(java.lang.String prefix)
prefix - such prefix.public java.lang.String getPrefix()
protected void setSuffix(java.lang.String suffix)
suffix - such suffix.public java.lang.String getSuffix()
public Condition or(Condition condition)
or in class Conditioncondition - the condition to evaluate.
public Condition and(Condition condition)
and in class Conditioncondition - the condition to evaluate.
public java.lang.String toString()
toString in class Condition
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||