|
|||||||||||
| 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.AtomicCondition
|
+--org.acmsl.queryj.ConditionFactory._AtomicConditionWrapper
Envelopes a condition surrounding it with appropiate prefix and suffix.
| Constructor Summary | |
ConditionFactory._AtomicConditionWrapper(AtomicCondition condition,
java.lang.String prefix,
java.lang.String suffix)
Creates a condition wrapper with given information. |
|
| Method Summary | |
AtomicCondition |
getCondition()
Retrieves the wrapped condition. |
Field |
getLeftSideField()
Retrieves the left-side field. |
ConditionOperator |
getOperator()
Retrieves the condition operator. |
java.lang.String |
getPrefix()
Retrieves the prefix. |
Field |
getRightSideField()
Retrieves the right-side field. |
java.lang.String |
getRightSideValue()
Retrieves the right-side value. |
java.lang.String |
getSuffix()
Retrieves the suffix. |
protected void |
setCondition(AtomicCondition 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.AtomicCondition |
setLeftSideField, setOperator, setRightSideField, setRightSideValue |
| Methods inherited from class org.acmsl.queryj.Condition |
and, getInnerCondition, or, setInnerCondition |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ConditionFactory._AtomicConditionWrapper(AtomicCondition 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(AtomicCondition condition)
condition - such condition.public AtomicCondition 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 Field getLeftSideField()
getLeftSideField in class AtomicConditionpublic ConditionOperator getOperator()
getOperator in class AtomicConditionpublic Field getRightSideField()
getRightSideField in class AtomicConditionpublic java.lang.String getRightSideValue()
getRightSideValue in class AtomicConditionpublic java.lang.String toString()
toString in class AtomicCondition
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||