org.datanucleus.store.mapping.ao
Class GeometryMapping

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.ao.GeometryMapping
Direct Known Subclasses:
EnvelopeMapping, GeometryBagMapping, LineMapping, MultipointMapping, PathMapping, PointMapping, PolygonMapping, PolylineMapping, RingMapping

public abstract class GeometryMapping
extends org.datanucleus.store.mapped.mapping.SingleFieldMapping

Mapping for com.esri.arcgis.geometry.IGeometry 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
GeometryMapping()
           
 
Method Summary
abstract  java.lang.Class getJavaType()
           
protected abstract  java.lang.Object getSampleValue()
           
 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

GeometryMapping

public GeometryMapping()
Method Detail

getJavaType

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

getSampleValue

protected abstract java.lang.Object getSampleValue()

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.