|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.query.object.AbstractQueryObject
org.castor.cpa.query.object.condition.AbstractCondition
org.castor.cpa.query.object.condition.SimpleCondition
org.castor.cpa.query.object.condition.In
public final class In
Final class that represents in simple condition.
| Constructor Summary | |
|---|---|
In()
|
|
| Method Summary | |
|---|---|
void |
add(BigDecimal value)
Adds the. |
void |
add(boolean value)
Adds the. |
void |
add(double value)
Adds the. |
void |
add(Enum<?> value)
Adds the. |
void |
add(Literal value)
Adds the. |
void |
add(long value)
Adds the. |
void |
add(Parameter value)
Adds the. |
void |
add(String value)
Adds the. |
List<Expression> |
getItems()
Get list of items to test against. |
StringBuilder |
toString(StringBuilder sb)
Append a string representation of the object to the given StringBuilder. |
| Methods inherited from class org.castor.cpa.query.object.condition.SimpleCondition |
|---|
getExpression, isNot, not, setExpression, setNot |
| Methods inherited from class org.castor.cpa.query.object.condition.AbstractCondition |
|---|
and, or |
| Methods inherited from class org.castor.cpa.query.object.AbstractQueryObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.castor.cpa.query.Condition |
|---|
and, not, or |
| Constructor Detail |
|---|
public In()
| Method Detail |
|---|
public void add(boolean value)
add in interface InConditionvalue - the valuepublic void add(long value)
add in interface InConditionvalue - the valuepublic void add(double value)
add in interface InConditionvalue - the valuepublic void add(BigDecimal value)
add in interface InConditionvalue - the valuepublic void add(String value)
add in interface InConditionvalue - the valuepublic void add(Enum<?> value)
add in interface InConditionvalue - the valuepublic void add(Literal value)
add in interface InConditionvalue - the valuepublic void add(Parameter value)
add in interface InConditionvalue - the valuepublic List<Expression> getItems()
public StringBuilder toString(StringBuilder sb)
StringBuilder.
In general, the toString method for query objects appends a string that textually
represents this object. The result should be a query string that complies to EJB QL
specification as long as the query object represents a syntay element of it. It is
required that all subclasses override this method.
The toString method defined at class Object is overwritten and calls this method.
toString in interface QueryObjectsb - StringBuilder to append the string representation of this object to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||