| java.lang.Object com.triactive.jdo.store.Mapping com.triactive.jdo.store.ColumnMapping
All known Subclasses: com.triactive.jdo.store.BooleanMapping, com.triactive.jdo.store.OIDMapping, com.triactive.jdo.store.StringMapping, com.triactive.jdo.store.ShortMapping, com.triactive.jdo.store.CharacterMapping, com.triactive.jdo.store.IntegerMapping, com.triactive.jdo.store.SqlDateMapping, com.triactive.jdo.store.ByteMapping, com.triactive.jdo.store.BigDecimalMapping, com.triactive.jdo.store.SqlTimestampMapping, com.triactive.jdo.store.BigIntegerMapping, com.triactive.jdo.store.FloatMapping, com.triactive.jdo.store.ByteArrayMapping, com.triactive.jdo.store.DoubleMapping, com.triactive.jdo.store.LongMapping,
ColumnMapping | abstract public class ColumnMapping extends Mapping (Code) | | A database mapping that maps a Java type to a single column.
A ColumnMapping can set Java objects directly into JDBC PreparedStatement
parameters, and get Java objects directly from JDBC ResultSet columns.
author: Mike Martin version: $Revision: 1.5 $ See Also: DatabaseAdapter.getMapping(Column) |
Method Summary | |
public boolean | equals(Object obj) | protected String | failureMessage(String method) | public boolean | getBoolean(PersistenceManager pm, ResultSet rs, int column) | public byte | getByte(PersistenceManager pm, ResultSet rs, int column) | public char | getChar(PersistenceManager pm, ResultSet rs, int column) | public Column | getColumn() | public double | getDouble(PersistenceManager pm, ResultSet rs, int column) | public float | getFloat(PersistenceManager pm, ResultSet rs, int column) | public int | getInt(PersistenceManager pm, ResultSet rs, int column) | public long | getLong(PersistenceManager pm, ResultSet rs, int column) | public Object | getObject(PersistenceManager pm, ResultSet rs, int column) | public String | getSQLInsertionValue() | public String | getSQLUpdateValue() | public short | getShort(PersistenceManager pm, ResultSet rs, int column) | public String | getString(PersistenceManager pm, ResultSet rs, int column) | abstract protected TypeInfo | getTypeInfo() | public int | hashCode() | protected void | initTypeInfo() | public SQLExpression | newSQLExpression(QueryStatement qs, TableExpression te, String fieldName) | public void | setBoolean(PersistenceManager pm, PreparedStatement ps, int param, boolean value) | public void | setByte(PersistenceManager pm, PreparedStatement ps, int param, byte value) | public void | setChar(PersistenceManager pm, PreparedStatement ps, int param, char value) | public void | setDouble(PersistenceManager pm, PreparedStatement ps, int param, double value) | public void | setFloat(PersistenceManager pm, PreparedStatement ps, int param, float value) | public void | setInt(PersistenceManager pm, PreparedStatement ps, int param, int value) | public void | setLong(PersistenceManager pm, PreparedStatement ps, int param, long value) | public void | setObject(PersistenceManager pm, PreparedStatement ps, int param, Object value) | public void | setShort(PersistenceManager pm, PreparedStatement ps, int param, short value) | public void | setString(PersistenceManager pm, PreparedStatement ps, int param, String value) |
getSQLInsertionValue | public String getSQLInsertionValue()(Code) | | |
hashCode | public int hashCode()(Code) | | |
initTypeInfo | protected void initTypeInfo()(Code) | | |
|
|