org.jpox.store.rdbms.mapping
Class VarCharRDBMSMapping
java.lang.Object
org.jpox.store.rdbms.mapping.RDBMSMapping
org.jpox.store.rdbms.mapping.ColumnMapping
org.jpox.store.rdbms.mapping.CharRDBMSMapping
org.jpox.store.rdbms.mapping.VarCharRDBMSMapping
- All Implemented Interfaces:
- DatastoreMapping
- public class VarCharRDBMSMapping
- extends CharRDBMSMapping
Mapping of a VARCHAR RDBMS type.
- Version:
- $Revision: 1.5 $
Method Summary |
TypeInfo |
getTypeInfo()
Accessor for datastore type info for this mapping. |
protected void |
initialize()
Method to initialise the column mapping. |
Methods inherited from class org.jpox.store.rdbms.mapping.CharRDBMSMapping |
getBoolean, getChar, getDatastoreField, getLocale, getObject, getString, getTimeZone, setBoolean, setChar, setLocale, setObject, setString, setTimeZone |
Methods inherited from class org.jpox.store.rdbms.mapping.RDBMSMapping |
failureMessage, getByte, getDatabaseAdapter, getDouble, getFloat, getInt, getJavaTypeMapping, getLong, getShort, setByte, setDouble, setFloat, setInt, setLong, setShort |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
VarCharRDBMSMapping
protected VarCharRDBMSMapping(StoreManager storeMgr,
JavaTypeMapping mapping)
- Parameters:
storeMgr
- Store Managermapping
- Java type mapping
VarCharRDBMSMapping
public VarCharRDBMSMapping(JavaTypeMapping mapping,
StoreManager storeMgr,
DatastoreField field)
- Constructor.
- Parameters:
mapping
- Java type mappingstoreMgr
- Store Managerfield
- Field to be mapped
initialize
protected void initialize()
- Description copied from class:
CharRDBMSMapping
- Method to initialise the column mapping.
Provides default length specifications for the CHAR column to fit the data being stored.
- Overrides:
initialize
in class CharRDBMSMapping
getTypeInfo
public TypeInfo getTypeInfo()
- Accessor for datastore type info for this mapping.
- Overrides:
getTypeInfo
in class CharRDBMSMapping
- Returns:
- The datastore type
Copyright © -2007 . All Rights Reserved.