org.jpox.store.expression
Class JGeometryLiteral

java.lang.Object
  extended by org.jpox.store.expression.ScalarExpression
      extended by org.jpox.store.expression.JGeometryLiteral
All Implemented Interfaces:
org.jpox.store.expression.Literal

public class JGeometryLiteral
extends org.jpox.store.expression.ScalarExpression
implements org.jpox.store.expression.Literal

Representation of a string literal.

Version:
$Revision: 1.2 $

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jpox.store.expression.ScalarExpression
org.jpox.store.expression.ScalarExpression.DyadicOperator, org.jpox.store.expression.ScalarExpression.ExpressionList, org.jpox.store.expression.ScalarExpression.FieldExpression, org.jpox.store.expression.ScalarExpression.IllegalArgumentTypeException, org.jpox.store.expression.ScalarExpression.IllegalOperationException, org.jpox.store.expression.ScalarExpression.MethodInvocationException, org.jpox.store.expression.ScalarExpression.MonadicOperator, org.jpox.store.expression.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
JGeometryLiteral(org.jpox.store.expression.QueryExpression qs, org.jpox.store.mapping.JavaTypeMapping mapping, oracle.spatial.geometry.JGeometry value)
          Constructor
 
Method Summary
 org.jpox.store.expression.BooleanExpression eq(org.jpox.store.expression.ScalarExpression expr)
           
 java.lang.Object getValue()
           
 org.jpox.store.expression.BooleanExpression noteq(org.jpox.store.expression.ScalarExpression expr)
           
 org.jpox.store.rdbms.query.StatementText toStatementText(int mode)
           
 
Methods inherited from class org.jpox.store.expression.ScalarExpression
accessField, add, and, as, callMethod, cast, com, div, encloseWithInParentheses, eor, equals, getAlias, getExpressionList, getLogicSetExpression, getMapping, getNonAliasExpression, getQueryExpression, gt, gteq, in, instanceOf, ior, lt, lteq, mod, mul, neg, not, sub, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JGeometryLiteral

public JGeometryLiteral(org.jpox.store.expression.QueryExpression qs,
                        org.jpox.store.mapping.JavaTypeMapping mapping,
                        oracle.spatial.geometry.JGeometry value)
Constructor

Parameters:
qs - The QueryExpression
mapping - The mapping to the java type. null mapping is accepted
value - The value
Method Detail

getValue

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

eq

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

noteq

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

toStatementText

public org.jpox.store.rdbms.query.StatementText toStatementText(int mode)
Overrides:
toStatementText in class org.jpox.store.expression.ScalarExpression


Copyright © 2003-2008 Java Persistent Objects (JPOX). All Rights Reserved.