com.triactive.jdo.store.mapping
Class DateMapping
java.lang.Object
com.triactive.jdo.store.mapping.Mapping
com.triactive.jdo.store.mapping.ColumnMapping
com.triactive.jdo.store.mapping.SqlTimestampMapping
com.triactive.jdo.store.mapping.DateMapping
- Direct Known Subclasses:
- DateCharMapping
- public class DateMapping
- extends SqlTimestampMapping
Methods inherited from class com.triactive.jdo.store.mapping.ColumnMapping |
accessAsFieldIn, chooseColumnType, defineConstraints, defineStorage, equals, getBoolean, getByte, getChar, getColumn, getDouble, getFloat, getInt, getLong, getShort, getSqlInsertionValue, getSqlUpdateValue, getString, getTypeInfo, hashCode, 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 |
DateMapping
public DateMapping(DatabaseAdapter dba,
java.lang.Class type)
DateMapping
public DateMapping(DatabaseAdapter dba,
FieldMetaData fmd)
setObject
public void setObject(PersistenceManager pm,
java.sql.PreparedStatement ps,
int param,
java.lang.Object value)
- Overrides:
setObject
in class SqlTimestampMapping
getObject
public java.lang.Object getObject(PersistenceManager pm,
java.sql.ResultSet rs,
int param)
- Overrides:
getObject
in class SqlTimestampMapping
newSqlLiteral
public SqlExpression newSqlLiteral(QueryStatement qs,
java.lang.Object value)
- Description copied from class:
Mapping
- Returns an SQL expression representing the literal value of a Java
object.
The object must be of a type used with this mapping.
- Overrides:
newSqlLiteral
in class SqlTimestampMapping
Copyright © 2001-2007 The TJDO Project All Rights Reserved.