public class SerialisedPCMapping extends SerialisedMapping
absFieldNumber, datastoreMappings, mmd, referenceMapping, roleForMember, storeMgr, table, type
Constructor and Description |
---|
SerialisedPCMapping() |
Modifier and Type | Method and Description |
---|---|
Object |
getObject(org.datanucleus.ExecutionContext ec,
ResultSet resultSet,
int[] exprIndex)
Method to extract the value of the persistable from a ResultSet.
|
Object |
getObject(org.datanucleus.ExecutionContext ec,
ResultSet resultSet,
int[] exprIndex,
org.datanucleus.state.ObjectProvider ownerOP,
int fieldNumber)
Method to extract the value of the persistable from a ResultSet.
|
void |
setObject(org.datanucleus.ExecutionContext ec,
PreparedStatement ps,
int[] exprIndex,
Object value)
Method to populate parameter positions in a PreparedStatement with this object
|
void |
setObject(org.datanucleus.ExecutionContext ec,
PreparedStatement ps,
int[] exprIndex,
Object value,
org.datanucleus.state.ObjectProvider ownerOP,
int fieldNumber)
Method to populate parameter positions in a PreparedStatement with this object
|
getJavaType, getJavaTypeForDatastoreMapping
getBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, getLong, getShort, getString, getValidValues, initialize, prepareDatastoreMapping, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setString
addDatastoreMapping, equals, failureMessage, getAbsoluteFieldNumber, getColumnMetaDataForMember, getDatastoreMapping, getDatastoreMappings, getMemberMetaData, getNumberOfDatastoreMappings, getReferenceMapping, getRoleForMember, getStoreManager, getTable, getType, getValueForDatastoreMapping, hashCode, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, isNullable, isSerialised, representableAsStringLiteralInStatement, setAbsFieldNumber, setMemberMetaData, setReferenceMapping, setRoleForMember, setTable
public void setObject(org.datanucleus.ExecutionContext ec, PreparedStatement ps, int[] exprIndex, Object value)
setObject
in class SingleFieldMapping
ec
- The ExecutionContextps
- The Prepared StatementexprIndex
- The parameter positions to populatevalue
- The value of the PC to use in populating the parameter positionspublic void setObject(org.datanucleus.ExecutionContext ec, PreparedStatement ps, int[] exprIndex, Object value, org.datanucleus.state.ObjectProvider ownerOP, int fieldNumber)
setObject
in class JavaTypeMapping
ec
- The ExecutionContextps
- The Prepared StatementexprIndex
- The parameter positions to populatevalue
- The value of the PC to use in populating the parameter positionsownerOP
- ObjectProvider for the owning objectfieldNumber
- field number of this object in the owning objectpublic Object getObject(org.datanucleus.ExecutionContext ec, ResultSet resultSet, int[] exprIndex)
getObject
in class SingleFieldMapping
ec
- The ExecutionContextresultSet
- The ResultSetexprIndex
- The parameter positions in the result set to use.public Object getObject(org.datanucleus.ExecutionContext ec, ResultSet resultSet, int[] exprIndex, org.datanucleus.state.ObjectProvider ownerOP, int fieldNumber)
getObject
in class JavaTypeMapping
ec
- The ExecutionContextresultSet
- The ResultSetexprIndex
- The parameter positions in the result set to use.ownerOP
- ObjectProvider for the owning objectfieldNumber
- Absolute number of field in owner objectCopyright © 2015. All rights reserved.