|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.websphere.query.base.ArithmeticCondition
public class ArithmeticCondition
The ArithmeticCondition class represents an arithmetic Operation in the query framework. It can be used in a predicate.
This class contains an arithmetic operation and a vector of elements in which to perform that operation on.
| Constructor Summary | |
|---|---|
ArithmeticCondition()
Constructor for ArithmeticCondition |
|
| Method Summary | |
|---|---|
void |
addArithmeticConditionElement(ILeftOperand newArithmeticConditionElement)
|
void |
addArithmeticConditionElements(ILeftOperand[] newArithmeticConditionElements)
|
java.lang.String |
buildString(ISelectQueryCallback builder)
Builds a query string using the given builder callback. |
void |
buildString(ISelectQueryCallback builder,
java.lang.StringBuffer sb)
|
boolean |
equals(java.lang.Object o)
Tests for equality with the given object. |
ILeftOperand[] |
getArithmeticConditionElements()
Returns the Elements of the Arithmetic Condition |
java.lang.String |
getArithmeticOperation()
Returns the Arithmetic Operation(+,-,*,/) |
int |
getDataType()
Returns the data type of the value. |
void |
setArithmeticConditionElements(ILeftOperand[] newArithmeticConditionElements)
Sets the arithmeticConditionElements |
void |
setArithmeticOperation(java.lang.String arithmeticOperation)
Sets the arithmeticOperation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArithmeticCondition()
| Method Detail |
|---|
public java.lang.String buildString(ISelectQueryCallback builder)
throws QueryException
IStringBuilder
buildString in interface IStringBuilderQueryExceptionIStringBuilder#buildString(ISelectQueryCallback2)
public void buildString(ISelectQueryCallback builder,
java.lang.StringBuffer sb)
throws QueryException
buildString in interface IStringBuilderQueryExceptionpublic ILeftOperand[] getArithmeticConditionElements()
IArithmeticCondition
getArithmeticConditionElements in interface IArithmeticConditionIArithmeticCondition.getArithmeticConditionElements()public java.lang.String getArithmeticOperation()
IArithmeticCondition
getArithmeticOperation in interface IArithmeticConditionIArithmeticCondition.getArithmeticOperation()public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic void setArithmeticOperation(java.lang.String arithmeticOperation)
arithmeticOperation - The arithmeticOperation to setpublic void setArithmeticConditionElements(ILeftOperand[] newArithmeticConditionElements)
arithmeticConditionElements - The arithmeticConditionElements to setpublic void addArithmeticConditionElement(ILeftOperand newArithmeticConditionElement)
public void addArithmeticConditionElements(ILeftOperand[] newArithmeticConditionElements)
public int getDataType()
ILeftOperand
getDataType in interface IFunctionElementgetDataType in interface ILeftOperandILeftOperand.getDataType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||