|
|||||||||||
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.VariableCondition | +--org.acmsl.queryj.ConditionFactory._VariableConditionWrapper
Envelopes a variable condition surrounding it with appropiate prefix and suffix.
Constructor Summary | |
ConditionFactory._VariableConditionWrapper(VariableCondition condition,
java.lang.String prefix,
java.lang.String suffix)
Creates a condition wrapper with given information. |
Method Summary | |
VariableCondition |
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(VariableCondition 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._VariableConditionWrapper(VariableCondition 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(VariableCondition condition)
condition
- such condition.public VariableCondition 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 AtomicCondition
public ConditionOperator getOperator()
getOperator
in class AtomicCondition
public Field getRightSideField()
getRightSideField
in class AtomicCondition
public java.lang.String getRightSideValue()
getRightSideValue
in class AtomicCondition
public java.lang.String toString()
toString
in class AtomicCondition
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |