org.datanucleus.store.mapping.jgeom
Class JGeometryMapping

java.lang.Object
  extended by org.datanucleus.store.mapped.mapping.JavaTypeMapping
      extended by org.datanucleus.store.mapped.mapping.SingleFieldMapping
          extended by org.datanucleus.store.mapping.jgeom.JGeometryMapping

public class JGeometryMapping
extends org.datanucleus.store.mapped.mapping.SingleFieldMapping

Mapping for oracle.spatial.geometry.JGeometry to its datastore representation.


Field Summary
 
Fields inherited from class org.datanucleus.store.mapped.mapping.JavaTypeMapping
datastoreContainer, datastoreMappings, dba, LOCALISER, mmd, referenceMapping, roleForMember, type
 
Constructor Summary
JGeometryMapping()
           
 
Method Summary
 java.lang.Class getJavaType()
           
 java.lang.Object getSampleValue(org.datanucleus.ClassLoaderResolver clr)
           
 org.datanucleus.store.mapped.expression.ScalarExpression newLiteral(org.datanucleus.store.mapped.expression.QueryExpression qs, java.lang.Object value)
           
 org.datanucleus.store.mapped.expression.ScalarExpression newScalarExpression(org.datanucleus.store.mapped.expression.QueryExpression qs, org.datanucleus.store.mapped.expression.LogicSetExpression te)
           
 
Methods inherited from class org.datanucleus.store.mapped.mapping.SingleFieldMapping
equals, getBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, getJavaTypeForDatastoreMapping, getLong, getObject, getShort, getString, getValidValues, initialize, prepareDatastoreMapping, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setShort, setString
 
Methods inherited from class org.datanucleus.store.mapped.mapping.JavaTypeMapping
addDataStoreMapping, failureMessage, getDatastoreContainer, getDataStoreMapping, getDataStoreMappings, getMemberMetaData, getNumberOfDatastoreFields, getObject, getReferenceMapping, getRoleForMember, getType, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, setDatastoreContainer, setDefault, setMemberMetaData, setObject, setReferenceMapping, setRoleForMember
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGeometryMapping

public JGeometryMapping()
Method Detail

getJavaType

public java.lang.Class getJavaType()
Specified by:
getJavaType in class org.datanucleus.store.mapped.mapping.JavaTypeMapping

getSampleValue

public java.lang.Object getSampleValue(org.datanucleus.ClassLoaderResolver clr)
Specified by:
getSampleValue in class org.datanucleus.store.mapped.mapping.JavaTypeMapping

newLiteral

public org.datanucleus.store.mapped.expression.ScalarExpression newLiteral(org.datanucleus.store.mapped.expression.QueryExpression qs,
                                                                           java.lang.Object value)
Overrides:
newLiteral in class org.datanucleus.store.mapped.mapping.JavaTypeMapping

newScalarExpression

public org.datanucleus.store.mapped.expression.ScalarExpression newScalarExpression(org.datanucleus.store.mapped.expression.QueryExpression qs,
                                                                                    org.datanucleus.store.mapped.expression.LogicSetExpression te)
Overrides:
newScalarExpression in class org.datanucleus.store.mapped.mapping.JavaTypeMapping


Copyright © 2009. All Rights Reserved.