public class LocalTimeMapping extends TemporalMapping
absFieldNumber, datastoreMappings, LOCALISER, LOCALISER_RDBMS, mmd, referenceMapping, roleForMember, storeMgr, table, type| Constructor and Description |
|---|
LocalTimeMapping() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getDefaultLengthAsString() |
Class |
getJavaType()
Accessor for the java type being mapped.
|
String |
getJavaTypeForDatastoreMapping(int index)
Accessor for the name of the java-type actually used when mapping the particular datastore
field.
|
Object |
getObject(org.datanucleus.ExecutionContext ec,
ResultSet resultSet,
int[] exprIndex)
Obtains a value from
datastoreResults
at position specified by exprIndex. |
void |
setObject(org.datanucleus.ExecutionContext ec,
PreparedStatement ps,
int[] exprIndex,
Object value)
Sets a
value into datastoreStatement
at position specified by exprIndex. |
getDefaultLengthequals, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getShort, getString, getValidValues, initialize, prepareDatastoreMapping, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setStringaddDatastoreMapping, failureMessage, getAbsoluteFieldNumber, getColumnMetaDataForMember, getDatastoreMapping, getDatastoreMappings, getMemberMetaData, getNumberOfDatastoreMappings, getObject, getReferenceMapping, getRoleForMember, getStoreManager, getTable, getType, getValueForDatastoreMapping, hashCode, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, representableAsStringLiteralInStatement, setAbsFieldNumber, setMemberMetaData, setObject, setReferenceMapping, setRoleForMember, setTablepublic Class getJavaType()
JavaTypeMappinggetJavaType in class JavaTypeMappingpublic String getJavaTypeForDatastoreMapping(int index)
getJavaTypeForDatastoreMapping in class TemporalMappingindex - requested datastore field index.protected int getDefaultLengthAsString()
getDefaultLengthAsString in class TemporalMappingpublic void setObject(org.datanucleus.ExecutionContext ec,
PreparedStatement ps,
int[] exprIndex,
Object value)
JavaTypeMappingvalue into datastoreStatement
at position specified by exprIndex.setObject in class SingleFieldMappingec - ExecutionContextps - PreparedStatementexprIndex - the position of the value in the statementvalue - the valuepublic Object getObject(org.datanucleus.ExecutionContext ec, ResultSet resultSet, int[] exprIndex)
JavaTypeMappingdatastoreResults
at position specified by exprIndex.getObject in class SingleFieldMappingec - ExecutionContextresultSet - ResultSetexprIndex - the position of the value in the resultCopyright © 2013. All Rights Reserved.