org.jpox.store.expression
Class ScalarExpression.FieldExpression
java.lang.Object
org.jpox.store.expression.ScalarExpression
org.jpox.store.expression.ScalarExpression.FieldExpression
- Enclosing class:
- ScalarExpression
- public static class ScalarExpression.FieldExpression
- extends ScalarExpression
A field expression represents a storage location for the value with an associated type
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 |
Methods inherited from class org.jpox.store.expression.ScalarExpression |
accessField, add, and, as, callMethod, cast, com, div, encloseWithInParentheses, eor, getAlias, getExpressionList, getLogicSetExpression, getMapping, getNonAliasExpression, getQueryExpression, gt, gteq, in, instanceOf, ior, lt, lteq, mod, mul, neg, not, sub, toStatementText |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ScalarExpression.FieldExpression
public ScalarExpression.FieldExpression(QueryExpression qs,
DatastoreField field,
LogicSetExpression te)
- Parameters:
qs
- field
- te
-
eq
public BooleanExpression eq(ScalarExpression expr)
- Description copied from class:
ScalarExpression
- Equality operator (equals to)
- Overrides:
eq
in class ScalarExpression
- Parameters:
expr
- the right-hand operand
- Returns:
- The type of an equality expression is a boolean
noteq
public BooleanExpression noteq(ScalarExpression expr)
- Description copied from class:
ScalarExpression
- Equality operator (not equals to)
- Overrides:
noteq
in class ScalarExpression
- Parameters:
expr
- the right-hand operand
- Returns:
- The type of an equality expression is a boolean
hashCode
public int hashCode()
equals
public boolean equals(java.lang.Object o)
- Description copied from class:
ScalarExpression
- Equality operator providing a simple comparison of expressions.
- Overrides:
equals
in class ScalarExpression
- Parameters:
o
- The other object
- Returns:
- Whether they are equal
toString
public java.lang.String toString()
- Overrides:
toString
in class ScalarExpression
Copyright © -2007 . All Rights Reserved.