|
||||||||||
| 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.NumericExpression
org.jpox.store.expression.ByteLiteral
public class ByteLiteral
Representation of a Byte literal.
| 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 | |
|---|---|
ByteLiteral(QueryExpression qs,
JavaTypeMapping mapping,
java.math.BigInteger value)
Creates a byte literal |
|
| Method Summary | |
|---|---|
ScalarExpression |
add(ScalarExpression expr)
Additive Operator. |
ScalarExpression |
div(ScalarExpression expr)
Division 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 |
mul(ScalarExpression expr)
Multiplication Operator |
ScalarExpression |
neg()
Unary Minus Operator |
BooleanExpression |
noteq(ScalarExpression expr)
Equality operator (not equals to) |
ScalarExpression |
sub(ScalarExpression expr)
Additive Operator. |
| Methods inherited from class org.jpox.store.expression.NumericExpression |
|---|
com, in |
| 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 ByteLiteral(QueryExpression qs,
JavaTypeMapping mapping,
java.math.BigInteger value)
qs - the QueryExpressionmapping - the mappingvalue - the literal value| Method Detail |
|---|
public java.lang.Object getValue()
Literal
getValue in interface Literalpublic BooleanExpression eq(ScalarExpression expr)
ScalarExpression
eq in class NumericExpressionexpr - the right-hand operand
public BooleanExpression noteq(ScalarExpression expr)
ScalarExpression
noteq in class NumericExpressionexpr - the right-hand operand
public BooleanExpression lt(ScalarExpression expr)
ScalarExpression
lt in class NumericExpressionexpr - the right-hand operand
public BooleanExpression lteq(ScalarExpression expr)
ScalarExpression
lteq in class NumericExpressionexpr - the right-hand operand
public BooleanExpression gt(ScalarExpression expr)
ScalarExpression
gt in class NumericExpressionexpr - the right-hand operand
public BooleanExpression gteq(ScalarExpression expr)
ScalarExpression
gteq in class NumericExpressionexpr - the right-hand operand
public ScalarExpression add(ScalarExpression expr)
ScalarExpression
add in class NumericExpressionexpr - the right-hand operand
public ScalarExpression sub(ScalarExpression expr)
ScalarExpression
sub in class NumericExpressionexpr - the right-hand operand
public ScalarExpression mul(ScalarExpression expr)
ScalarExpression
mul in class NumericExpressionexpr - the right-hand operator
public ScalarExpression div(ScalarExpression expr)
ScalarExpression
div in class NumericExpressionexpr - the right-hand operator
public ScalarExpression mod(ScalarExpression expr)
NumericExpression
mod in class NumericExpressionexpr - The expression to modulus against
public ScalarExpression neg()
ScalarExpression
neg in class NumericExpression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||