|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.store.expression.ScalarExpression
org.jpox.store.expression.CharacterExpression
org.jpox.store.expression.CharacterLiteral
public class CharacterLiteral
Representation of a Character literal in a Query.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jpox.store.expression.ScalarExpression |
|---|
ScalarExpression.DyadicOperator, ScalarExpression.ExpressionList, ScalarExpression.FieldExpression, ScalarExpression.IllegalArgumentTypeException, ScalarExpression.IllegalOperationException, ScalarExpression.MethodInvocationException, ScalarExpression.MonadicOperator, ScalarExpression.Operator |
| Field Summary |
|---|
| Fields inherited from class org.jpox.store.expression.ScalarExpression |
|---|
aliasIdentifier, expressionList, FILTER, LOCALISER, lowestOperator, mapping, OP_ADD, OP_AND, OP_BETWEEN, OP_COM, OP_CONCAT, OP_DIV, OP_EQ, OP_GT, OP_GTEQ, OP_IN, OP_IS, OP_ISNOT, OP_LIKE, OP_LT, OP_LTEQ, OP_MOD, OP_MUL, OP_NEG, OP_NOT, OP_NOTEQ, OP_OR, OP_SUB, PROJECTION, qs, st, te |
| Constructor Summary | |
|---|---|
CharacterLiteral(QueryExpression qs,
JavaTypeMapping mapping,
char value)
Creates a char literal |
|
CharacterLiteral(QueryExpression qs,
JavaTypeMapping mapping,
java.lang.String value)
Creates a char literal |
|
| Method Summary | |
|---|---|
ScalarExpression |
add(ScalarExpression expr)
Additive Operator. |
ScalarExpression |
com()
Bitwise Complement Operator |
BooleanExpression |
eq(ScalarExpression expr)
Equality operator (equals to) |
java.lang.Object |
getValue()
Accessor to the literal value |
BooleanExpression |
gt(ScalarExpression expr)
Relational operator (greater than) |
BooleanExpression |
gteq(ScalarExpression expr)
Relational operator (greater than or equals) |
BooleanExpression |
lt(ScalarExpression expr)
Relational operator (lower than) |
BooleanExpression |
lteq(ScalarExpression expr)
Relational operator (lower than or equals) |
ScalarExpression |
mod(ScalarExpression expr)
Method to return a modulus expression. |
ScalarExpression |
neg()
Unary Minus Operator |
BooleanExpression |
noteq(ScalarExpression expr)
Equality operator (not equals to) |
ScalarExpression |
sub(ScalarExpression expr)
Additive Operator. |
CharacterExpression |
toLowerCaseMethod()
Converts the Character Literal to lower case |
CharacterExpression |
toUpperCaseMethod()
Converts the Character Literal to upper case |
| Methods inherited from class org.jpox.store.expression.CharacterExpression |
|---|
div, in, mul |
| Methods inherited from class org.jpox.store.expression.ScalarExpression |
|---|
accessField, and, as, callMethod, cast, encloseWithInParentheses, eor, equals, getAlias, getExpressionList, getLogicSetExpression, getMapping, getNonAliasExpression, getQueryExpression, instanceOf, ior, not, toStatementText, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CharacterLiteral(QueryExpression qs,
JavaTypeMapping mapping,
char value)
qs - the QueryExpressionmapping - the mappingvalue - the char value
public CharacterLiteral(QueryExpression qs,
JavaTypeMapping mapping,
java.lang.String value)
qs - the QueryExpressionmapping - the mappingvalue - the char value| Method Detail |
|---|
public java.lang.Object getValue()
Literal
getValue in interface Literalpublic BooleanExpression eq(ScalarExpression expr)
ScalarExpression
eq in class CharacterExpressionexpr - the right-hand operand
public BooleanExpression noteq(ScalarExpression expr)
ScalarExpression
noteq in class CharacterExpressionexpr - the right-hand operand
public BooleanExpression lt(ScalarExpression expr)
ScalarExpression
lt in class CharacterExpressionexpr - the right-hand operand
public BooleanExpression lteq(ScalarExpression expr)
ScalarExpression
lteq in class CharacterExpressionexpr - the right-hand operand
public BooleanExpression gt(ScalarExpression expr)
ScalarExpression
gt in class CharacterExpressionexpr - the right-hand operand
public BooleanExpression gteq(ScalarExpression expr)
ScalarExpression
gteq in class CharacterExpressionexpr - the right-hand operand
public ScalarExpression add(ScalarExpression expr)
ScalarExpression
add in class CharacterExpressionexpr - the right-hand operand
public ScalarExpression sub(ScalarExpression expr)
ScalarExpression
sub in class CharacterExpressionexpr - the right-hand operand
public ScalarExpression mod(ScalarExpression expr)
CharacterExpression
mod in class CharacterExpressionexpr - The expression to modulus against
public CharacterExpression toLowerCaseMethod()
toLowerCaseMethod in class CharacterExpressionpublic CharacterExpression toUpperCaseMethod()
toUpperCaseMethod in class CharacterExpressionpublic ScalarExpression neg()
ScalarExpression
neg in class CharacterExpressionpublic ScalarExpression com()
ScalarExpression
com in class CharacterExpression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||