|
||||||||||
| 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.TimestampRDBMSMapping
public class TimestampRDBMSMapping
Mapping of a TIMESTAMP 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 | |
|---|---|
|
TimestampRDBMSMapping(org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping,
org.datanucleus.store.mapped.MappedStoreManager storeMgr,
org.datanucleus.store.mapped.DatastoreField field)
Constructor. |
protected |
TimestampRDBMSMapping(org.datanucleus.store.mapped.MappedStoreManager storeMgr,
org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
Constructor |
| Method Summary | |
|---|---|
Object |
getObject(Object rs,
int param)
Method to access an Object from the ResultSet. |
protected Timestamp |
getTimestamp(Object rs,
int param)
Method to access a Timestamp from the ResultSet. |
SQLTypeInfo |
getTypeInfo()
Accessor for the type info for this column. |
void |
setObject(Object ps,
int param,
Object value)
Method to set an object in a PreparedStatement for sending to the datastore. |
| 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 TimestampRDBMSMapping(org.datanucleus.store.mapped.MappedStoreManager storeMgr,
org.datanucleus.store.mapped.mapping.JavaTypeMapping mapping)
storeMgr - Store Managermapping - Java type mapping
public TimestampRDBMSMapping(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 - Field to be mapped| Method Detail |
|---|
public SQLTypeInfo getTypeInfo()
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 PreparedStatementparam - The parameter position (in the statement)value - The value to set
protected Timestamp getTimestamp(Object rs,
int param)
rs - The ResultSetparam - The parameter position in the ResultSet row.
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 ResultSetparam - The parameter position in the ResultSet row.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||