public class ArrayMapping extends AbstractContainerMapping implements MappingCallbacks
absFieldNumber, datastoreMappings, LOCALISER, LOCALISER_RDBMS, mmd, referenceMapping, roleForMember, storeMgr, table, type
Constructor and Description |
---|
ArrayMapping() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
containerIsStoredInSingleColumn()
Convenience method to return if the array is stored in the owning table as a column.
|
Class |
getJavaType()
Accessor for the Java type represented here.
|
void |
insertPostProcessing(org.datanucleus.state.ObjectProvider op)
Hook so that we can handle any post-processing on the insert of a particular field.
|
void |
postFetch(org.datanucleus.state.ObjectProvider sm)
Method to be called after any fetch of the owner class element.
|
void |
postInsert(org.datanucleus.state.ObjectProvider ownerOP)
Method to be called after the insert of the owner class element.
|
void |
postUpdate(org.datanucleus.state.ObjectProvider ownerOP)
Method to be called after any update of the owner class element.
|
void |
preDelete(org.datanucleus.state.ObjectProvider sm)
Method to be called before any delete of the owner class element, if the field in the owner is dependent
|
getDatastoreMapping, getDatastoreMappings, getJavaTypeForDatastoreMapping, getNumberOfDatastoreMappings, getObject, getTable, hasSimpleDatastoreRepresentation, includeInFetchStatement, includeInInsertStatement, includeInUpdateStatement, initialize, prepareDatastoreMapping, replaceFieldWithWrapper, setObject
equals, getBoolean, getByte, getChar, getDefaultLength, getDouble, getFloat, getInt, getLong, getShort, getString, getValidValues, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setShort, setString
addDatastoreMapping, failureMessage, getAbsoluteFieldNumber, getColumnMetaDataForMember, getMemberMetaData, getObject, getReferenceMapping, getRoleForMember, getStoreManager, getType, getValueForDatastoreMapping, hashCode, initialize, isNullable, isSerialised, representableAsStringLiteralInStatement, setAbsFieldNumber, setMemberMetaData, setObject, setReferenceMapping, setRoleForMember, setTable
public Class getJavaType()
getJavaType
in class JavaTypeMapping
protected boolean containerIsStoredInSingleColumn()
containerIsStoredInSingleColumn
in class AbstractContainerMapping
public void insertPostProcessing(org.datanucleus.state.ObjectProvider op)
MappingCallbacks
insertPostProcessing
in interface MappingCallbacks
op
- ObjectProviderpublic void postInsert(org.datanucleus.state.ObjectProvider ownerOP)
postInsert
in interface MappingCallbacks
ownerOP
- StateManager of the ownerpublic void postFetch(org.datanucleus.state.ObjectProvider sm)
postFetch
in interface MappingCallbacks
postFetch
in class AbstractContainerMapping
sm
- StateManager of the ownerpublic void postUpdate(org.datanucleus.state.ObjectProvider ownerOP)
postUpdate
in interface MappingCallbacks
ownerOP
- ObjectProvider of the ownerpublic void preDelete(org.datanucleus.state.ObjectProvider sm)
preDelete
in interface MappingCallbacks
sm
- StateManager of the ownerCopyright © 2023. All rights reserved.