|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.mapped.mapping.AbstractDatastoreMapping
org.datanucleus.store.rdbms.mapping.RDBMSMapping
org.datanucleus.store.rdbms.mapping.DateRDBMSMapping
public class DateRDBMSMapping
Mapping of a DATE RDBMS type.
| Field Summary |
|---|
| Fields inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMapping |
|---|
column, LOCALISER_RDBMS, storeMgr |
| Fields inherited from class org.datanucleus.store.mapped.mapping.AbstractDatastoreMapping |
|---|
LOCALISER, mapping |
| Constructor Summary | |
|---|---|
|
DateRDBMSMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping,
org.datanucleus.store.mapped.MappedStoreManager storeMgr,
org.datanucleus.store.mapped.DatastoreField field)
Constructor. |
protected |
DateRDBMSMapping(org.datanucleus.store.mapped.MappedStoreManager storeMgr,
org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
|
| Method Summary | |
|---|---|
protected Date |
getDate(Object rs,
int param)
|
Object |
getObject(Object rs,
int param)
Accessor for the object. |
SQLTypeInfo |
getTypeInfo()
Accessor for the (SQL) type info for this datastore type. |
void |
setObject(Object ps,
int param,
Object value)
Mutator for the object. |
| Methods inherited from class org.datanucleus.store.rdbms.mapping.RDBMSMapping |
|---|
equals, failureMessage, failureMessage, getDatabaseAdapter, getDatastoreField, getInsertionInputParameter, getUpdateInputParameter, hashCode, includeInFetchStatement, initTypeInfo, insertValuesOnInsert, isNullable |
| Methods inherited from class org.datanucleus.store.mapped.mapping.AbstractDatastoreMapping |
|---|
failureMessage, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getJavaTypeMapping, getLong, getShort, getString, isBitBased, isBooleanBased, isDecimalBased, isIntegerBased, 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 |
|---|
protected DateRDBMSMapping(org.datanucleus.store.mapped.MappedStoreManager storeMgr,
org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
storeMgr - Store Managermapping - Java type mapping
public DateRDBMSMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping,
org.datanucleus.store.mapped.MappedStoreManager storeMgr,
org.datanucleus.store.mapped.DatastoreField field)
mapping - Java type mappingstoreMgr - Store Managerfield - The field to be mapped| Method Detail |
|---|
public SQLTypeInfo getTypeInfo()
RDBMSMapping
getTypeInfo in class RDBMSMapping
public void setObject(Object ps,
int param,
Object value)
setObject in interface org.datanucleus.store.mapped.mapping.DatastoreMappingsetObject in class org.datanucleus.store.mapped.mapping.AbstractDatastoreMappingps - The JDBC Statementparam - The Parameter positionvalue - The value to set
protected Date getDate(Object rs,
int param)
public Object getObject(Object rs,
int param)
getObject in interface org.datanucleus.store.mapped.mapping.DatastoreMappinggetObject in class org.datanucleus.store.mapped.mapping.AbstractDatastoreMappingrs - The ResultSet to extract the value fromparam - The parameter position
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||