|
||||||||
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.expression.AbstractExpression
public abstract class AbstractExpression
Abstract base class for Expressions.
Constructor Summary | |
---|---|
AbstractExpression()
|
Method Summary | |
---|---|
Function |
abs()
The method for ABS function of query objects. |
Expression |
add(java.math.BigDecimal value)
The method for Add ( + ) additive arithmetic expression of query objects. |
Expression |
add(double value)
The method for Add ( + ) additive arithmetic expression of query objects. |
Expression |
add(Expression expression)
The method for Add ( + ) additive arithmetic expression of query objects. |
Expression |
add(long value)
The method for Add arithmetic expression of query objects. |
Condition |
between(java.math.BigDecimal low,
java.math.BigDecimal high)
Between. |
Condition |
between(double low,
double high)
Between. |
Condition |
between(Expression low,
Expression high)
Between. |
Condition |
between(long low,
long high)
Between. |
Condition |
between(java.lang.String low,
java.lang.String high)
Between. |
Condition |
between(TemporalType temporalType,
java.util.Calendar low,
java.util.Calendar high)
Between. |
Condition |
between(TemporalType temporalType,
java.util.Date low,
java.util.Date high)
Between. |
Expression |
concat(Expression expression)
The method for Concat ( || ) additive arithmetic expression of query objects. |
Expression |
concat(java.lang.String value)
The method for Concat ( || ) additive arithmetic expression of query objects. |
Expression |
divide(java.math.BigDecimal value)
The method for Divide ( / ) multiplicative arithmetic expression of query objects. |
Expression |
divide(double value)
The method for Divide ( / ) multiplicative arithmetic expression of query objects. |
Expression |
divide(Expression expression)
The method for Divide ( / ) multiplicative arithmetic expression of query objects. |
Expression |
divide(long value)
The method for Divide ( / ) multiplicative arithmetic expression of query objects. |
Condition |
equal(java.math.BigDecimal value)
Equal. |
Condition |
equal(boolean value)
Equal. |
Condition |
equal(double value)
Equal. |
Condition |
equal(Expression value)
Equal. |
Condition |
equal(long value)
Equal. |
Condition |
equal(java.lang.String value)
Equal. |
Condition |
equal(TemporalType temporalType,
java.util.Calendar value)
Equal. |
Condition |
equal(TemporalType temporalType,
java.util.Date value)
Equal. |
Condition |
greaterEqual(java.math.BigDecimal value)
Greater equal. |
Condition |
greaterEqual(double value)
Greater equal. |
Condition |
greaterEqual(Expression value)
Greater equal. |
Condition |
greaterEqual(long value)
Greater equal. |
Condition |
greaterEqual(java.lang.String value)
Greater equal. |
Condition |
greaterEqual(TemporalType temporalType,
java.util.Calendar value)
Greater equal. |
Condition |
greaterEqual(TemporalType temporalType,
java.util.Date value)
Greater equal. |
Condition |
greaterThan(java.math.BigDecimal value)
Greater Then. |
Condition |
greaterThan(double value)
Greater Then. |
Condition |
greaterThan(Expression value)
Greater Then. |
Condition |
greaterThan(long value)
Greater Then. |
Condition |
greaterThan(java.lang.String value)
Greater Then. |
Condition |
greaterThan(TemporalType temporalType,
java.util.Calendar value)
Greater Then. |
Condition |
greaterThan(TemporalType temporalType,
java.util.Date value)
Greater Then. |
Function |
length()
The method for LENGTH function of query objects. |
Condition |
lessEqual(java.math.BigDecimal value)
Less equal. |
Condition |
lessEqual(double value)
Less equal. |
Condition |
lessEqual(Expression value)
Less equal. |
Condition |
lessEqual(long value)
Less equal. |
Condition |
lessEqual(java.lang.String value)
Less equal. |
Condition |
lessEqual(TemporalType temporalType,
java.util.Calendar value)
Less equal. |
Condition |
lessEqual(TemporalType temporalType,
java.util.Date value)
Less equal. |
Condition |
lessThan(java.math.BigDecimal value)
Less Then. |
Condition |
lessThan(double value)
Less Then. |
Condition |
lessThan(Expression value)
Less Then. |
Condition |
lessThan(long value)
Less Then. |
Condition |
lessThan(java.lang.String value)
Less Then. |
Condition |
lessThan(TemporalType temporalType,
java.util.Calendar value)
Less Then. |
Condition |
lessThan(TemporalType temporalType,
java.util.Date value)
Less Then. |
Condition |
like(Parameter pattern)
Like. |
Condition |
like(Parameter pattern,
char escape)
Like. |
Condition |
like(Parameter pattern,
Parameter escape)
Like. |
Condition |
like(java.lang.String pattern)
Like. |
Condition |
like(java.lang.String pattern,
char escape)
Like. |
Condition |
like(java.lang.String pattern,
Parameter escape)
Like. |
Function |
locate(Expression value)
The method for LOCATE function of query objects. |
Function |
locate(Expression value,
Expression index)
Locate. |
Function |
locate(Expression value,
int index)
Locate. |
Function |
locate(java.lang.String value)
The method for LOCATE function of query objects. |
Function |
locate(java.lang.String value,
Expression index)
The method for LOCATE function of query objects. |
Function |
locate(java.lang.String value,
int index)
The method for LOCATE function of query objects. |
Function |
lower()
The method for LOWER function of query objects. |
Expression |
multiply(java.math.BigDecimal value)
The method for Multiply ( * ) multiplicative arithmetic expression of query objects. |
Expression |
multiply(double value)
The method for Multiply ( * ) multiplicative arithmetic expression of query objects. |
Expression |
multiply(Expression expression)
The method for Multiply ( * ) multiplicative arithmetic expression of query objects. |
Expression |
multiply(long value)
The method for Concat ( || ) additive arithmetic expression of query objects. |
Expression |
negate()
Negate. |
Condition |
notBetween(java.math.BigDecimal low,
java.math.BigDecimal high)
Not between. |
Condition |
notBetween(double low,
double high)
Not between. |
Condition |
notBetween(Expression low,
Expression high)
Not between. |
Condition |
notBetween(long low,
long high)
Not between. |
Condition |
notBetween(java.lang.String low,
java.lang.String high)
Not between. |
Condition |
notBetween(TemporalType temporalType,
java.util.Calendar low,
java.util.Calendar high)
Not between. |
Condition |
notBetween(TemporalType temporalType,
java.util.Date low,
java.util.Date high)
Not between. |
Condition |
notEqual(java.math.BigDecimal value)
Not equal. |
Condition |
notEqual(boolean value)
Not equal. |
Condition |
notEqual(double value)
Not equal. |
Condition |
notEqual(Expression value)
Not equal. |
Condition |
notEqual(long value)
Not equal. |
Condition |
notEqual(java.lang.String value)
Not equal. |
Condition |
notEqual(TemporalType temporalType,
java.util.Calendar value)
Not equal. |
Condition |
notEqual(TemporalType temporalType,
java.util.Date value)
Not equal. |
Condition |
notLike(Parameter pattern)
Not like. |
Condition |
notLike(Parameter pattern,
char escape)
Not like. |
Condition |
notLike(Parameter pattern,
Parameter escape)
Not like. |
Condition |
notLike(java.lang.String pattern)
Not like. |
Condition |
notLike(java.lang.String pattern,
char escape)
Not like. |
Condition |
notLike(java.lang.String pattern,
Parameter escape)
Not like. |
Expression |
plus()
Plus. |
Expression |
remainder(java.math.BigDecimal value)
The method for Reminder ( % ) multiplicative arithmetic expression of query objects. |
Expression |
remainder(double value)
The method for Reminder ( % ) multiplicative arithmetic expression of query objects. |
Expression |
remainder(Expression expression)
The method for Reminder ( % ) multiplicative arithmetic expression of query objects. |
Expression |
remainder(long value)
The method for Reminder ( % ) multiplicative arithmetic expression of query objects. |
Function |
sqrt()
The method for SQRT function of query objects. |
Function |
substring(Expression index,
Expression length)
Substring. |
Function |
substring(Expression index,
int length)
Substring. |
Function |
substring(int index,
Expression length)
Substring. |
Function |
substring(int index,
int length)
Substring. |
Expression |
subtract(java.math.BigDecimal value)
The method for Subtract ( - ) additive arithmetic expression of query objects. |
Expression |
subtract(double value)
The method for Subtract ( - ) additive arithmetic expression of query objects. |
Expression |
subtract(Expression expression)
The method for Subtract ( - ) additive arithmetic expression of query objects. |
Expression |
subtract(long value)
The method for Subtract ( - ) additive arithmetic expression of query objects. |
Function |
trim()
Trim. |
Function |
trim(char character)
Trim. |
Function |
trim(Parameter character)
Trim. |
Function |
trim(TrimSpecification trimSpecification)
Trim. |
Function |
trim(TrimSpecification trimSpecification,
char character)
Trim. |
Function |
trim(TrimSpecification trimSpecification,
Parameter character)
Trim. |
Function |
upper()
The method for UPPER function of query objects.. |
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.QueryObject |
---|
toString |
Constructor Detail |
---|
public AbstractExpression()
Method Detail |
---|
public final Expression add(long value)
add
in interface Expression
value
- The long value
public final Expression add(double value)
add
in interface Expression
value
- The double value
public final Expression add(java.math.BigDecimal value)
add
in interface Expression
value
- The BigDecimal value
public Expression add(Expression expression)
add
in interface Expression
expression
- The Expression value
public final Expression subtract(long value)
subtract
in interface Expression
value
- The long value
public final Expression subtract(double value)
subtract
in interface Expression
value
- The double value
public final Expression subtract(java.math.BigDecimal value)
subtract
in interface Expression
value
- The BigDecimal value
public Expression subtract(Expression expression)
subtract
in interface Expression
expression
- The Expression value
public final Expression concat(java.lang.String value)
concat
in interface Expression
value
- The String value
public Expression concat(Expression expression)
concat
in interface Expression
expression
- The Expression value
public final Expression multiply(long value)
multiply
in interface Expression
value
- The long value
public final Expression multiply(double value)
multiply
in interface Expression
value
- The double value
public final Expression multiply(java.math.BigDecimal value)
multiply
in interface Expression
value
- The BigDecimal value
public Expression multiply(Expression expression)
multiply
in interface Expression
expression
- The Expression value
public final Expression divide(long value)
divide
in interface Expression
value
- The long value
public final Expression divide(double value)
divide
in interface Expression
value
- The double value
public final Expression divide(java.math.BigDecimal value)
divide
in interface Expression
value
- The BigDecimal value
public Expression divide(Expression expression)
divide
in interface Expression
expression
- The Expression value
public final Expression remainder(long value)
remainder
in interface Expression
value
- The long value
public final Expression remainder(double value)
remainder
in interface Expression
value
- The double value
public final Expression remainder(java.math.BigDecimal value)
remainder
in interface Expression
value
- The BigDecimal value
public Expression remainder(Expression expression)
remainder
in interface Expression
expression
- The Expression value
public final Expression plus()
plus
in interface Expression
public Expression negate()
negate
in interface Expression
public final Function length()
length
in interface Expression
public final Function abs()
abs
in interface Expression
public final Function sqrt()
sqrt
in interface Expression
public final Function lower()
lower
in interface Expression
public final Function upper()
upper
in interface Expression
public final Function locate(java.lang.String value)
locate
in interface Expression
value
- The String value
public final Function locate(Expression value)
locate
in interface Expression
value
- The Expression value
public final Function locate(java.lang.String value, int index)
locate
in interface Expression
value
- The String valueindex
- The index
public final Function locate(java.lang.String value, Expression index)
locate
in interface Expression
value
- The valueindex
- The index
public final Function locate(Expression value, int index)
locate
in interface Expression
value
- The valueindex
- The index
public final Function locate(Expression value, Expression index)
locate
in interface Expression
value
- The valueindex
- The index
public final Function substring(int index, int length)
substring
in interface Expression
index
- The indexlength
- The length
public final Function substring(int index, Expression length)
substring
in interface Expression
index
- The indexlength
- The length
public final Function substring(Expression index, int length)
substring
in interface Expression
index
- The indexlength
- The length
public final Function substring(Expression index, Expression length)
substring
in interface Expression
index
- The indexlength
- The length
public final Function trim()
trim
in interface Expression
public final Function trim(char character)
trim
in interface Expression
character
- The character
public final Function trim(Parameter character)
trim
in interface Expression
character
- The character
public final Function trim(TrimSpecification trimSpecification)
trim
in interface Expression
trimSpecification
- The trim specification
public final Function trim(TrimSpecification trimSpecification, char character)
trim
in interface Expression
trimSpecification
- The trim specificationcharacter
- The character
public final Function trim(TrimSpecification trimSpecification, Parameter character)
trim
in interface Expression
trimSpecification
- The trim specificationcharacter
- The character
public final Condition equal(boolean value)
equal
in interface Expression
value
- The value
public final Condition equal(long value)
equal
in interface Expression
value
- The value
public final Condition equal(double value)
equal
in interface Expression
value
- The value
public final Condition equal(java.math.BigDecimal value)
equal
in interface Expression
value
- The value
public final Condition equal(java.lang.String value)
equal
in interface Expression
value
- The value
public final Condition equal(TemporalType temporalType, java.util.Date value)
equal
in interface Expression
temporalType
- The temporal typevalue
- The value
public final Condition equal(TemporalType temporalType, java.util.Calendar value)
equal
in interface Expression
temporalType
- The temporal typevalue
- The value
public final Condition equal(Expression value)
equal
in interface Expression
value
- The value
public final Condition notEqual(boolean value)
notEqual
in interface Expression
value
- The value
public final Condition notEqual(long value)
notEqual
in interface Expression
value
- The value
public final Condition notEqual(double value)
notEqual
in interface Expression
value
- The value
public final Condition notEqual(java.math.BigDecimal value)
notEqual
in interface Expression
value
- The value
public final Condition notEqual(java.lang.String value)
notEqual
in interface Expression
value
- The value
public final Condition notEqual(TemporalType temporalType, java.util.Date value)
notEqual
in interface Expression
temporalType
- The temporal typevalue
- The value
public final Condition notEqual(TemporalType temporalType, java.util.Calendar value)
notEqual
in interface Expression
temporalType
- The temporal typevalue
- The value
public final Condition notEqual(Expression value)
notEqual
in interface Expression
value
- The value
public final Condition lessThan(long value)
lessThan
in interface Expression
value
- The value
public final Condition lessThan(double value)
lessThan
in interface Expression
value
- The value
public final Condition lessThan(java.math.BigDecimal value)
lessThan
in interface Expression
value
- The value
public final Condition lessThan(java.lang.String value)
lessThan
in interface Expression
value
- The value
public final Condition lessThan(TemporalType temporalType, java.util.Date value)
lessThan
in interface Expression
temporalType
- The temporal typevalue
- The value
public final Condition lessThan(TemporalType temporalType, java.util.Calendar value)
lessThan
in interface Expression
temporalType
- The temporal typevalue
- The value
public final Condition lessThan(Expression value)
lessThan
in interface Expression
value
- The value
public final Condition lessEqual(long value)
lessEqual
in interface Expression
value
- The value
public final Condition lessEqual(double value)
lessEqual
in interface Expression
value
- The value
public final Condition lessEqual(java.math.BigDecimal value)
lessEqual
in interface Expression
value
- The value
public final Condition lessEqual(java.lang.String value)
lessEqual
in interface Expression
value
- The value
public final Condition lessEqual(TemporalType temporalType, java.util.Date value)
lessEqual
in interface Expression
temporalType
- The temporal typevalue
- The value
public final Condition lessEqual(TemporalType temporalType, java.util.Calendar value)
lessEqual
in interface Expression
temporalType
- The temporal typevalue
- The value
public final Condition lessEqual(Expression value)
lessEqual
in interface Expression
value
- The value
public final Condition greaterEqual(long value)
greaterEqual
in interface Expression
value
- The value
public final Condition greaterEqual(double value)
greaterEqual
in interface Expression
value
- The value
public final Condition greaterEqual(java.math.BigDecimal value)
greaterEqual
in interface Expression
value
- The value
public final Condition greaterEqual(java.lang.String value)
greaterEqual
in interface Expression
value
- The value
public final Condition greaterEqual(TemporalType temporalType, java.util.Date value)
greaterEqual
in interface Expression
temporalType
- The temporal typevalue
- The value
public final Condition greaterEqual(TemporalType temporalType, java.util.Calendar value)
greaterEqual
in interface Expression
temporalType
- The temporal typevalue
- The value
public final Condition greaterEqual(Expression value)
greaterEqual
in interface Expression
value
- The value
public final Condition greaterThan(long value)
greaterThan
in interface Expression
value
- The value
public final Condition greaterThan(double value)
greaterThan
in interface Expression
value
- The value
public final Condition greaterThan(java.math.BigDecimal value)
greaterThan
in interface Expression
value
- The value
public final Condition greaterThan(java.lang.String value)
greaterThan
in interface Expression
value
- The value
public final Condition greaterThan(TemporalType temporalType, java.util.Date value)
greaterThan
in interface Expression
temporalType
- The temporal typevalue
- The value
public final Condition greaterThan(TemporalType temporalType, java.util.Calendar value)
greaterThan
in interface Expression
temporalType
- The temporal typevalue
- The value
public final Condition greaterThan(Expression value)
greaterThan
in interface Expression
value
- The value
public final Condition like(java.lang.String pattern)
like
in interface Expression
pattern
- The pattern
public final Condition like(Parameter pattern)
like
in interface Expression
pattern
- The pattern
public final Condition like(java.lang.String pattern, char escape)
like
in interface Expression
pattern
- The patternescape
- The escape
public final Condition like(java.lang.String pattern, Parameter escape)
like
in interface Expression
pattern
- The patternescape
- The escape
public final Condition like(Parameter pattern, char escape)
like
in interface Expression
pattern
- The patternescape
- The escape
public final Condition like(Parameter pattern, Parameter escape)
like
in interface Expression
pattern
- The patternescape
- The escape
public final Condition notLike(java.lang.String pattern)
notLike
in interface Expression
pattern
- The pattern
public final Condition notLike(java.lang.String pattern, char escape)
notLike
in interface Expression
pattern
- The patternescape
- The escape
public final Condition notLike(java.lang.String pattern, Parameter escape)
notLike
in interface Expression
pattern
- The patternescape
- The escape
public final Condition notLike(Parameter pattern)
notLike
in interface Expression
pattern
- The pattern
public final Condition notLike(Parameter pattern, char escape)
notLike
in interface Expression
pattern
- The patternescape
- The escape
public final Condition notLike(Parameter pattern, Parameter escape)
notLike
in interface Expression
pattern
- The patternescape
- The escape
public final Condition between(long low, long high)
between
in interface Expression
low
- The lowhigh
- The high
public final Condition between(double low, double high)
between
in interface Expression
low
- The lowhigh
- The high
public final Condition between(java.math.BigDecimal low, java.math.BigDecimal high)
between
in interface Expression
low
- The lowhigh
- The high
public final Condition between(java.lang.String low, java.lang.String high)
between
in interface Expression
low
- The lowhigh
- The high
public final Condition between(TemporalType temporalType, java.util.Date low, java.util.Date high)
between
in interface Expression
temporalType
- The temporal typelow
- The lowhigh
- The high
public final Condition between(TemporalType temporalType, java.util.Calendar low, java.util.Calendar high)
between
in interface Expression
temporalType
- The temporal typelow
- The lowhigh
- The high
public final Condition between(Expression low, Expression high)
between
in interface Expression
low
- The lowhigh
- The high
public final Condition notBetween(long low, long high)
notBetween
in interface Expression
low
- The lowhigh
- The high
public final Condition notBetween(double low, double high)
notBetween
in interface Expression
low
- The lowhigh
- The high
public final Condition notBetween(java.math.BigDecimal low, java.math.BigDecimal high)
notBetween
in interface Expression
low
- The lowhigh
- The high
public final Condition notBetween(java.lang.String low, java.lang.String high)
notBetween
in interface Expression
low
- The lowhigh
- The high
public final Condition notBetween(TemporalType temporalType, java.util.Date low, java.util.Date high)
notBetween
in interface Expression
temporalType
- The temporal typelow
- The lowhigh
- The high
public final Condition notBetween(TemporalType temporalType, java.util.Calendar low, java.util.Calendar high)
notBetween
in interface Expression
temporalType
- The temporal typelow
- The lowhigh
- The high
public final Condition notBetween(Expression low, Expression high)
notBetween
in interface Expression
low
- The lowhigh
- The high
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |