org.datanucleus.store.expression.spatial
Class GeometryLiteral

java.lang.Object
  extended by org.datanucleus.store.mapped.expression.ScalarExpression
      extended by org.datanucleus.store.expression.spatial.GeometryLiteral
All Implemented Interfaces:
org.datanucleus.store.mapped.expression.Literal

public class GeometryLiteral
extends org.datanucleus.store.mapped.expression.ScalarExpression
implements org.datanucleus.store.mapped.expression.Literal

Representation of a geometry literal.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.datanucleus.store.mapped.expression.ScalarExpression
org.datanucleus.store.mapped.expression.ScalarExpression.DatastoreFieldExpression, org.datanucleus.store.mapped.expression.ScalarExpression.DyadicOperator, org.datanucleus.store.mapped.expression.ScalarExpression.ExpressionList, org.datanucleus.store.mapped.expression.ScalarExpression.IllegalArgumentTypeException, org.datanucleus.store.mapped.expression.ScalarExpression.IllegalOperationException, org.datanucleus.store.mapped.expression.ScalarExpression.MethodInvocationException, org.datanucleus.store.mapped.expression.ScalarExpression.MonadicOperator, org.datanucleus.store.mapped.expression.ScalarExpression.Operator
 
Field Summary
 
Fields inherited from class org.datanucleus.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
 
Constructor Summary
GeometryLiteral(org.datanucleus.store.mapped.expression.QueryExpression qs, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping, java.lang.Object value)
           
 
Method Summary
 org.datanucleus.store.mapped.expression.BooleanExpression eq(org.datanucleus.store.mapped.expression.ScalarExpression expr)
           
 java.lang.Object getRawValue()
           
 java.lang.Object getValue()
           
 org.datanucleus.store.mapped.expression.BooleanExpression noteq(org.datanucleus.store.mapped.expression.ScalarExpression expr)
           
 void setRawValue(java.lang.Object val)
           
 org.datanucleus.store.mapped.expression.StatementText toStatementText(int mode)
           
 
Methods inherited from class org.datanucleus.store.mapped.expression.ScalarExpression
accessField, add, and, as, assertValidTypeForParameterComparison, callMethod, cast, checkForTypeAssignability, com, div, encloseWithInParentheses, eor, equals, getAlias, getConsistentTypeForParameterComparison, getExpressionList, getLogicSetExpression, getMapping, getNonAliasExpression, getQueryExpression, gt, gteq, in, instanceOf, ior, lt, lteq, mod, mul, neg, not, setParameterName, sub, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeometryLiteral

public GeometryLiteral(org.datanucleus.store.mapped.expression.QueryExpression qs,
                       org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping,
                       java.lang.Object value)
Method Detail

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface org.datanucleus.store.mapped.expression.Literal

eq

public org.datanucleus.store.mapped.expression.BooleanExpression eq(org.datanucleus.store.mapped.expression.ScalarExpression expr)
Overrides:
eq in class org.datanucleus.store.mapped.expression.ScalarExpression

noteq

public org.datanucleus.store.mapped.expression.BooleanExpression noteq(org.datanucleus.store.mapped.expression.ScalarExpression expr)
Overrides:
noteq in class org.datanucleus.store.mapped.expression.ScalarExpression

toStatementText

public org.datanucleus.store.mapped.expression.StatementText toStatementText(int mode)
Overrides:
toStatementText in class org.datanucleus.store.mapped.expression.ScalarExpression

getRawValue

public java.lang.Object getRawValue()
Specified by:
getRawValue in interface org.datanucleus.store.mapped.expression.Literal

setRawValue

public void setRawValue(java.lang.Object val)
Specified by:
setRawValue in interface org.datanucleus.store.mapped.expression.Literal


Copyright © 2009. All Rights Reserved.