|
|||||||||||
| 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
Represents indivisible conditions in statements.
| Constructor Summary | |
|
AtomicCondition(Field leftSideField,
ConditionOperator operator,
Field rightSideField)
Creates a condition using given information. |
|
AtomicCondition(Field leftSideField,
ConditionOperator operator,
int rightSideValue)
Creates a condition using given information. |
protected |
AtomicCondition(Field leftSideField,
ConditionOperator operator,
java.lang.String rightSideValue)
Creates a condition using given information. |
| Method Summary | |
Field |
getLeftSideField()
Retrieves the left-side field. |
ConditionOperator |
getOperator()
Retrieves the operator. |
Field |
getRightSideField()
Retrieves the right-side field. |
java.lang.String |
getRightSideValue()
Retrieves the right-side value. |
protected void |
setLeftSideField(Field leftSideField)
Specifies the left side field. |
protected void |
setOperator(ConditionOperator operator)
Specifies the operator. |
protected void |
setRightSideField(Field rightSideField)
Specifies the right side field. |
protected void |
setRightSideValue(java.lang.String rightSideValue)
Specifies the right side value. |
java.lang.String |
toString()
Outputs a text version of the condition. |
| 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 AtomicCondition(Field leftSideField,
ConditionOperator operator,
Field rightSideField)
leftSideField - the left-side field.operator - the operator.rightSideField - the right-side field.
protected AtomicCondition(Field leftSideField,
ConditionOperator operator,
java.lang.String rightSideValue)
leftSideField - the left-side field.operator - the operator.
public AtomicCondition(Field leftSideField,
ConditionOperator operator,
int rightSideValue)
leftSideField - the left-side field.operator - the operator.| Method Detail |
protected void setLeftSideField(Field leftSideField)
leftSideField - such field.public Field getLeftSideField()
protected void setOperator(ConditionOperator operator)
operator - such operator.public ConditionOperator getOperator()
protected void setRightSideField(Field rightSideField)
rightSideField - such field.public Field getRightSideField()
protected void setRightSideValue(java.lang.String rightSideValue)
rightSideValue - such value.public java.lang.String getRightSideValue()
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 | ||||||||||