org.jpox.store.expression
Class ArrayLiteral
java.lang.Object
org.jpox.store.expression.ScalarExpression
org.jpox.store.expression.ArrayExpression
org.jpox.store.expression.ArrayLiteral
- All Implemented Interfaces:
- Literal
- public class ArrayLiteral
- extends ArrayExpression
- implements Literal
Representation of array expression. Either backed
by ScalarExpressions, or by an array field
- Version:
- $Revision: 1.1 $
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 |
Method Summary |
java.lang.Object |
getValue()
Accessor to the literal value |
Methods inherited from class org.jpox.store.expression.ScalarExpression |
add, and, as, callMethod, cast, com, div, encloseWithInParentheses, eor, eq, equals, getAlias, getExpressionList, getLogicSetExpression, getMapping, getNonAliasExpression, getQueryExpression, gt, gteq, in, instanceOf, ior, lt, lteq, mod, mul, neg, not, noteq, sub, toStatementText, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ArrayLiteral
protected ArrayLiteral(QueryExpression qs)
- Constructor
- Parameters:
qs
- The query statement
ArrayLiteral
public ArrayLiteral(QueryExpression qs,
ScalarExpression[] expr)
- Constructor
- Parameters:
qs
- The query statementexpr
- the array of expressions
ArrayLiteral
public ArrayLiteral(QueryExpression qs,
JavaTypeMapping mapping,
java.lang.Object literal)
- Constructor
- Parameters:
qs
- The query statementmapping
- the JavaTypeMapping
literal
- the array value
getValue
public java.lang.Object getValue()
- Description copied from interface:
Literal
- Accessor to the literal value
- Specified by:
getValue
in interface Literal
- Returns:
- the value of the literal
Copyright © -2007 . All Rights Reserved.