org.datanucleus.store.rdbms.mapping.jts2postgis
Class LinearRingRDBMSMapping

java.lang.Object
  extended by org.datanucleus.store.rdbms.mapping.RDBMSMapping
      extended by org.datanucleus.store.rdbms.mapping.jts2postgis.GeometryRDBMSMapping
          extended by org.datanucleus.store.rdbms.mapping.jts2postgis.LineStringRDBMSMapping
              extended by org.datanucleus.store.rdbms.mapping.jts2postgis.LinearRingRDBMSMapping
All Implemented Interfaces:
org.datanucleus.store.mapped.mapping.DatastoreMapping

public class LinearRingRDBMSMapping
extends LineStringRDBMSMapping

Mapping for a JTS LinearRing object to PostGIS.

Version:
$Revision: 1.1 $

Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMapping
column, LOCALISER, LOCALISER_STORE, mapping, storeMgr
 
Constructor Summary
LinearRingRDBMSMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping, org.datanucleus.store.mapped.MappedStoreManager storeMgr, org.datanucleus.store.mapped.DatastoreField field)
           
LinearRingRDBMSMapping(org.datanucleus.store.mapped.MappedStoreManager storeMgr, org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
           
 
Method Summary
 java.lang.Object getObject(java.lang.Object rs, int exprIndex)
           
 void setObject(java.lang.Object ps, int exprIndex, java.lang.Object value)
           
 
Methods inherited from class org.datanucleus.store.rdbms.mapping.jts2postgis.LineStringRDBMSMapping
getTypeInfo
 
Methods inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMapping
equals, failureMessage, getBoolean, getByte, getChar, getColumn, getDatabaseAdapter, getDatastoreField, getDouble, getFloat, getInsertionInputParameter, getInt, getJavaTypeMapping, getLong, getShort, getString, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, insertValuesOnInsert, isBitBased, isBooleanBased, isDecimalBased, isIntegerBased, isNullable, isStringBased, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearRingRDBMSMapping

public LinearRingRDBMSMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping,
                              org.datanucleus.store.mapped.MappedStoreManager storeMgr,
                              org.datanucleus.store.mapped.DatastoreField field)

LinearRingRDBMSMapping

public LinearRingRDBMSMapping(org.datanucleus.store.mapped.MappedStoreManager storeMgr,
                              org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
Method Detail

getObject

public java.lang.Object getObject(java.lang.Object rs,
                                  int exprIndex)
Specified by:
getObject in interface org.datanucleus.store.mapped.mapping.DatastoreMapping
Overrides:
getObject in class GeometryRDBMSMapping

setObject

public void setObject(java.lang.Object ps,
                      int exprIndex,
                      java.lang.Object value)
Specified by:
setObject in interface org.datanucleus.store.mapped.mapping.DatastoreMapping
Overrides:
setObject in class GeometryRDBMSMapping


Copyright © 2009. All Rights Reserved.