org.jpox.store.mapped.expression
Class ScalarExpression.DatastoreFieldExpression
java.lang.Object
org.jpox.store.mapped.expression.ScalarExpression
org.jpox.store.mapped.expression.ScalarExpression.DatastoreFieldExpression
- Enclosing class:
- ScalarExpression
public static class ScalarExpression.DatastoreFieldExpression
- extends ScalarExpression
A field expression represents a storage location for the value with an associated type
| Fields inherited from class org.jpox.store.mapped.expression.ScalarExpression |
aliasIdentifier, checkForTypeAssignability, 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_NOTIN, OP_NOTLIKE, OP_OR, OP_SUB, parameterName, PROJECTION, qs, st, te |
| Methods inherited from class org.jpox.store.mapped.expression.ScalarExpression |
accessField, add, and, as, assertValidTypeForParameterComparison, callMethod, cast, checkForTypeAssignability, com, div, encloseWithInParentheses, eor, getAlias, getConsistentTypeForParameterComparison, getExpressionList, getLogicSetExpression, getMapping, getNonAliasExpression, getParameterName, getQueryExpression, gt, gteq, in, instanceOf, ior, isParameter, lt, lteq, mod, mul, neg, not, setParameterName, sub, toStatementText |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ScalarExpression.DatastoreFieldExpression
public ScalarExpression.DatastoreFieldExpression(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()
- Overrides:
hashCode in class java.lang.Object
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 © -2008 . All Rights Reserved.