public final class In extends SimpleCondition implements InCondition
Constructor and Description |
---|
In() |
Modifier and Type | Method and Description |
---|---|
void |
add(java.math.BigDecimal value)
Adds the.
|
void |
add(boolean value)
Adds the.
|
void |
add(double value)
Adds the.
|
void |
add(java.lang.Enum<?> value)
Adds the.
|
void |
add(Literal value)
Adds the.
|
void |
add(long value)
Adds the.
|
void |
add(Parameter value)
Adds the.
|
void |
add(java.lang.String value)
Adds the.
|
java.util.List<Expression> |
getItems()
Get list of items to test against.
|
java.lang.StringBuilder |
toString(java.lang.StringBuilder sb)
Append a string representation of the object to the given
StringBuilder . |
getExpression, isNot, not, setExpression, setNot
and, or
toString
public void add(boolean value)
add
in interface InCondition
value
- the valuepublic void add(long value)
add
in interface InCondition
value
- the valuepublic void add(double value)
add
in interface InCondition
value
- the valuepublic void add(java.math.BigDecimal value)
add
in interface InCondition
value
- the valuepublic void add(java.lang.String value)
add
in interface InCondition
value
- the valuepublic void add(java.lang.Enum<?> value)
add
in interface InCondition
value
- the valuepublic void add(Literal value)
add
in interface InCondition
value
- the valuepublic void add(Parameter value)
add
in interface InCondition
value
- the valuepublic java.util.List<Expression> getItems()
public java.lang.StringBuilder toString(java.lang.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 QueryObject
sb
- StringBuilder to append the string representation of this object to.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com