Purpose: Defines how an attribute of an object maps to and from the database
Responsibilities:
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| protected AttributeAccessor | attributeAccessor
Wrapper to store the reference objects. |
| protected String | attributeName
PERF: Cache the mappings attribute name. |
| protected DatabaseMapping | derivedIdMapping
The id mapping this mapping derives. |
| protected boolean | derivesId
Used by the CMP3Policy to see if this mapping should be used in processing pk classes for find methods |
| protected ClassDescriptor | descriptor
ClassDescriptor to which this mapping belongs to |
| protected Vector | fields
Fields associated with the mappings are cached |
| protected boolean | |
| protected Boolean | isInSopObject
Irrelevant (and not set) unless descriptor has SerializedObjectPolicy (SOP). |
| protected boolean | |
| protected Boolean | isLazy
Specifies whether this mapping is lazy, this means not included in the default fetch group. |
| protected boolean | isMapKeyMapping
Records if this mapping is being used as a MapKeyMapping. |
| protected boolean | isOptional
Specifies whether this mapping is optional (i.e. field may be null). |
| protected boolean | isPrimaryKeyMapping
PERF: Used as a quick check to see if this mapping is a primary key mapping, set by the object builder during initialization. |
| protected boolean | isReadOnly
Makes this mapping read only. |
| protected boolean | isRemotelyInitialized
It is needed only in remote initialization and mapping is in parent descriptor |
| protected String | mapsIdValue
A mapsId value. |
| protected static final Vector | NO_FIELDS
Used to reduce memory for mappings with no fields. |
| protected static final Integer | NO_WEIGHT
Used to share integer instance to reduce memory. |
| protected Map | properties
Allow user defined properties. |
| protected Map | unconvertedProperties
Allow the user to defined un-converted properties which will be initialized at runtime. |
| protected Integer | weight
This is a TopLink defined attribute that allows us to sort the mappings |
| protected static final Integer | |
| protected static final Integer | |
| protected static final Integer | |
| protected static final Integer |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | addUnconvertedProperty(String
TODO propertyName, String TODO propertyValue, String TODO propertyType)PUBLIC: Add an unconverted property (to be initialiazed at runtime) |
| public abstract void | buildBackupClone(Object
TODO clone, Object TODO backup, UnitOfWorkImpl TODO unitOfWork)INTERNAL: Clone the attribute from the clone and assign it to the backup. |
| public Object | Returns: TODOTODO attributeValue, Object TODO clone, Object TODO backup, UnitOfWorkImpl TODO unitOfWork)INTERNAL: Require for cloning, the part must be cloned. |
| public ChangeRecord | buildChangeRecord(Object newValue, ObjectChangeSet owner, AbstractSession session)
INTERNAL: Directly build a change record without comparison |
| public abstract void | buildClone(Object
TODO original, CacheKey TODO cacheKey, Object TODO clone, Integer TODO refreshCascade, AbstractSession TODO cloningSession)INTERNAL: Clone the attribute from the original and assign it to the clone. |
| public Object | Returns: TODOTODO attributeValue, Object TODO original, CacheKey TODO cacheKey, Object TODO clone, AbstractSession TODO cloningSession, Integer TODO refreshCascade, boolean TODO isExisting, boolean TODO isFromSharedCache)INTERNAL: Require for cloning, the part must be cloned. |
| public abstract void | buildCloneFromRow(AbstractRecord
TODO databaseRow, JoinedAttributeManager TODO joinManager, Object TODO clone, CacheKey TODO sharedCacheKey, ObjectBuildingQuery TODO sourceQuery, UnitOfWorkImpl TODO unitOfWork, AbstractSession TODO executionSession)INTERNAL: A combination of readFromRowIntoObject and buildClone. |
| public Object | Returns: TODOTODO attributeValue, AbstractSession TODO cloningSession)INTERNAL: Performs a first level clone of the attribute. |
| public void | |
| public Expression | Returns: TODOTODO queryObject, QueryByExamplePolicy TODO policy, Expression TODO expressionBuilder, Map<K, V> TODO processedObjects, AbstractSession TODO session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribue and it's value. |
| public Expression | Returns: TODOTODO base, Object TODO value, AbstractSession TODO session)INTERNAL: Used to allow object level comparisons. |
| public Expression | Returns: TODOTODO base, Expression TODO argument, AbstractSession TODO session)INTERNAL: Used to allow object level comparisons. |
| public void | buildShallowOriginalFromRow(AbstractRecord
TODO databaseRow, Object TODO original, JoinedAttributeManager TODO joinManager, ObjectBuildingQuery TODO query, AbstractSession TODO executionSession)INTERNAL: Builds a shallow original object. |
| public void | calculateDeferredChanges(ChangeRecord
TODO changeRecord, AbstractSession TODO session)INTERNAL: Used by AttributeLevelChangeTracking to update a changeRecord with calculated changes as apposed to detected changes. |
| public void | cascadeDiscoverAndPersistUnregisteredNewObjects(Object
TODO object, Map<K, V> TODO newObjects, Map<K, V> TODO unregisteredExistingObjects, Map<K, V> TODO visitedObjects, UnitOfWorkImpl TODO uow, Set<E> TODO cascadeErrors)INTERNAL: Cascade discover and persist new objects during commit. |
| public abstract void | cascadePerformRemoveIfRequired(Object
TODO object, UnitOfWorkImpl TODO uow, Map<K, V> TODO visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascade |
| public void | cascadePerformRemovePrivateOwnedObjectFromChangeSetIfRequired(Object
TODO object, UnitOfWorkImpl TODO uow, Map<K, V> TODO visitedObjects)INTERNAL: Cascade removal of orphaned private owned objects from the UnitOfWorkChangeSet |
| public abstract void | cascadeRegisterNewIfRequired(Object
TODO object, UnitOfWorkImpl TODO uow, Map<K, V> TODO visitedObjects)INTERNAL: Cascade registerNew for Create through mappings that require the cascade |
| public Object | |
| protected Vector | Returns: TODOTODO fields)INTERNAL: Helper method to clone vector of fields (used in aggregate initialization cloning). |
| protected Vector | Returns: TODOThis method must be overwritten in the subclasses to return a vector of all the fields this mapping represents. |
| public void | collectQueryParameters(Set<DatabaseField>
TODO record)INTERNAL: This method is used to store the FK fields that can be cached that correspond to noncacheable mappings the FK field values will be used to re-issue the query when cloning the shared cache entity |
| public abstract ChangeRecord | Returns: prototype.changeset.ChangeRecord TODOTODO clone, Object TODO backup, ObjectChangeSet TODO owner, AbstractSession TODO session)INTERNAL: This method was created in VisualAge. |
| public abstract boolean | Returns: TODOTODO firstObject, Object TODO secondObject, AbstractSession TODO session)INTERNAL: Compare the attributes belonging to this mapping for the objects. |
| public void | convertClassNamesToClasses(ClassLoader
TODO classLoader)INTERNAL: Convert all the class-name-based settings in this mapping to actual class-based settings This method is implemented by subclasses as necessary. |
| protected void | convertConverterClassNamesToClasses(Converter
TODO converter, ClassLoader TODO classLoader)Convenience method to ensure converters have an opportunity to convert any class names to classes during project setup. |
| public <T> DatabaseValueHolder | Returns: TODOTODO attributeValue, Object TODO original, Object TODO clone, AbstractRecord TODO row, AbstractSession TODO cloningSession, boolean indicates that we are building the clone directly
from a row as opposed to building the original from the row, putting it in
the shared cache, and then cloning the original. buildDirectlyFromRow)INTERNAL: Builder the unit of work value holder. |
| public boolean | Returns: TODOADVANCED: Returns true if the mapping references a JPA ID attribute for the CMP3Policy and JPA ID classes. |
| public void | earlyPreDelete(DeleteObjectQuery
TODO query, Object TODO object)INTERNAL: This method is called to update collection tables prior to commit. |
| protected List | Returns: TODOTODO expressions, ExpressionBuilder TODO newRoot)INTERNAL: Extract the nested attribute expressions that apply to this mapping. |
| protected List | Returns: TODOTODO expressions, ExpressionBuilder TODO newRoot, boolean true if newRoot itself can be one of the
expressions returned (used for locking) rootExpressionsAllowed)INTERNAL: Extract the nested attribute expressions that apply to this mapping. |
| public abstract void | fixObjectReferences(Object
TODO object, Map<Object, ObjectDescriptor> TODO objectDescriptors, Map<Object, Object> TODO processedObjects, ObjectLevelReadQuery TODO query, DistributedSession TODO session)INTERNAL: An object has been serialized from the server to the client. |
| public void | fixRealObjectReferences(Object
TODO object, Map<Object, ObjectDescriptor> TODO objectInformation, Map<Object, Object> TODO processedObjects, ObjectLevelReadQuery TODO query, DistributedSession TODO session)INTERNAL: At this point, we realize we don't have indirection; so we need to replace the reference object(s) with the corresponding object(s) from the remote session. |
| public AttributeAccessor | Returns: TODOImplements abstract org. |
| public Class | Returns: TODOImplements abstract org. |
| public String | Returns: TODOImplements abstract org. |
| public Object | getAttributeValueFromObject(Object
TODO object)Implements abstract org. |
| public ContainerPolicy | Returns: TODOImplements abstract org. |
| public DatabaseMapping | |
| public ClassDescriptor | Returns: TODOImplements abstract org. |
| public DatabaseField | Returns: TODOImplements abstract org. |
| public Class | getFieldClassification(DatabaseField fieldToClassify)
INTERNAL: Return the classification for the field contained in the mapping. |
| public Vector | Returns: TODOImplements abstract org. |
| public String | Returns: TODOPUBLIC: This method is invoked reflectively on the reference object to return the value of the attribute in the object. |
| public String | |
| public Object | Returns: TODOTODO object, DistributedSession TODO session, Map<Object, ObjectDescriptor> TODO objectDescriptors, Map<Object, Object> TODO processedObjects, ObjectLevelReadQuery TODO query)INTERNAL: return the object on the client corresponding to the specified object. |
| public List | getOrderByNormalizedExpressions(Expression base)
INTERNAL: Return the list of fields that should be used if this mapping is used in an order by. |
| public Map | |
| public Object | |
| public Object | getRealAttributeValueFromAttribute(Object attributeValue, Object object, AbstractSession session)
INTERNAL: Return the value of an attribute unwrapping value holders if required. |
| public Object | getRealAttributeValueFromObject(Object object, AbstractSession session)
INTERNAL: Return the value of an attribute unwrapping value holders if required. |
| public Object | getRealCollectionAttributeValueFromObject(Object object, AbstractSession session)
INTERNAL: Return the value of an attribute, unwrapping value holders if necessary. |
| public ClassDescriptor | getReferenceDescriptor()
Implements abstract org. |
| public DatabaseMapping | getRelationshipPartner()
INTERNAL: Return the relationshipPartner mapping for this bi-directional mapping. |
| public Vector | Returns: TODOINTERNAL: Returns the set of fields that should be selected to build this mapping's value(s). |
| public Vector | Returns: TODOINTERNAL: Returns the table(s) that should be selected to build this mapping's value(s). |
| public String | getSetMethodName()
PUBLIC: This method is invoked reflectively on the reference object to set the value of the attribute in the object. |
| public Map | getUnconvertedProperties()
INTERNAL: Used to store un-converted properties, which are subsequenctly converted at runtime (through the convertClassNamesToClasses method. |
| public Object | getValueFromRemoteValueHolder(RemoteValueHolder<T> remoteValueHolder)
INTERNAL: extract and return the appropriate value from the specified remote value holder |
| public Integer | getWeight()
INTERNAL: Return the weight of the mapping, used to sort mappings to ensure that DirectToField Mappings get merged first |
| public boolean | hasConstraintDependency()
INTERNAL: The returns if the mapping has any constraint dependencies, such as foreign keys and join tables. |
| public boolean | hasDependency()
INTERNAL: Return if the mapping has any ownership or other dependency over its target object(s). |
| public boolean | hasInverseConstraintDependency()
INTERNAL: The returns if the mapping has any inverse constraint dependencies, such as foreign keys and join tables. |
| public boolean | |
| public boolean | hasNestedIdentityReference()
INTERNAL: Indicates whether the mapping (or at least one of its nested mappings, at any nested depth) references an entity. |
| protected boolean | Returns: TODOTODO expressions)INTERNAL: If there is root expression in the list then indicates whether it shouldUseOuterJoin, otherwise return false. |
| public boolean | Returns: TODOINTERNAL: Used to store un-converted properties, which are subsequenctly converted at runtime (through the convertClassNamesToClasses method. |
| public void | |
| public void | instantiateAttribute(Object object, AbstractSession session)
INTERNAL: Trigger the instantiation of the attribute if lazy. |
| public boolean | |
| public boolean | isAbstractCompositeCollectionMapping()
Implements abstract org. |
| public boolean | isAbstractCompositeDirectCollectionMapping()
Implements abstract org. |
| public boolean | isAbstractCompositeObjectMapping()
Implements abstract org. |
| public boolean | isAbstractDirectMapping()
Implements abstract org. |
| public boolean | isAggregateCollectionMapping()
INTERNAL: Related mapping should implement this method to return true. |
| public boolean | |
| public boolean | |
| public boolean | isAttributeValueFromObjectInstantiated(Object object)
INTERNAL: Return whether the specified object is instantiated. |
| public boolean | isCacheable()
Used to signal that this mapping references a protected/isolated entity and requires special merge/object building behaviour. |
| public boolean | isCandidateForPrivateOwnedRemoval()
INTERNAL: Returns true if the mapping should be added to the UnitOfWork's list of private owned objects for private owned orphan removal. |
| public boolean | isCascadedLockingSupported()
INTERNAL: Used when determining if a mapping supports cascaded version optimistic locking. |
| public boolean | isChangeTrackingSupported(Project project)
INTERNAL: Return if this mapping supports change tracking. |
| public boolean | |
| public boolean | isCollectionMapping()
Implements abstract org. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isDirectToFieldMapping()
Implements abstract org. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isInAndOutSopObject()
INTERNAL: Indicates whether the mapping is both in and out of SerializedObjectPolicy's sopObject. |
| public boolean | isInOnlySopObject()
INTERNAL: Indicates whether the mapping is in SerializedObjectPolicy's sopObject and not out of it. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isOutOnlySopObject()
INTERNAL: Indicates whether the mapping is out of SerializedObjectPolicy's sopObject and not in it. |
| public boolean | isOutSopObject()
INTERNAL: Indicates whether the mapping is out of SerializedObjectPolicy's sopObject. |
| public boolean | |
| public boolean | isPrimaryKeyMapping()
INTERNAL: Set by the Object builder during initialization returns true if this mapping is used as a primary key mapping. |
| public boolean | |
| public boolean | isReadOnly()
Implements abstract org. |
| public boolean | isReferenceMapping()
Implements abstract org. |
| public boolean | |
| protected boolean | |
| public boolean | |
| public boolean | isTransformationMapping()
Implements abstract org. |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | isWriteOnly()
Implements abstract org. |
| public boolean | |
| public abstract void | |
| public void | iterateOnRealAttributeValue(DescriptorIterator iterator, Object realAttributeValue)
INTERNAL: Iterate on the attribute value. |
| public void | load(final Object object, AttributeItem item, final AbstractSession session, final boolean fromFetchGroup)
Force instantiation of the load group. |
| public void | loadAll(Object object, AbstractSession session, IdentityHashSet loaded)
Force instantiation of all indirections. |
| public abstract void | mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)
INTERNAL: Merge changes from the source to the target object. |
| public abstract void | mergeIntoObject(Object target, boolean isTargetUninitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)
INTERNAL: Merge changes from the source to the target object. |
| public void | performDataModificationEvent(Object[] event, AbstractSession session)
INTERNAL: Perform the commit event. |
| public void | postCalculateChanges(ChangeRecord changeRecord, UnitOfWorkImpl uow)
INTERNAL: Overridden by mappings that require additional processing of the change record after the record has been calculated. |
| public void | postCalculateChangesOnDeleted(Object deletedObject, UnitOfWorkChangeSet uowChangeSet, UnitOfWorkImpl uow)
INTERNAL: Overridden by mappings that require objects to be deleted contribute to change set creation. |
| public void | postDelete(DeleteObjectQuery query)
INTERNAL: A subclass should implement this method if it wants different behavior. |
| public void | postInitialize(AbstractSession session)
INTERNAL: Allow for initialization of properties and validation that have dependecies no the descriptor being initialized. |
| public void | postInitializeSourceAndTargetExpressions()
INTERNAL: Mapping callback for post-initialization of source and target expression fields created when a mapping's selectionCriteria is created early with uninitialized fields. |
| public void | postInsert(WriteObjectQuery query)
INTERNAL: A subclass should implement this method if it wants different behavior. |
| public void | postUpdate(WriteObjectQuery query)
INTERNAL: A subclass should implement this method if it wants different behavior. |
| public void | preDelete(DeleteObjectQuery query)
INTERNAL: A subclass should implement this method if it wants different behavior. |
| public void | preInitialize(AbstractSession session)
INTERNAL: Allow for initialization of properties and validation. |
| public void | preInsert(WriteObjectQuery query)
INTERNAL: A subclass should implement this method if it wants different behavior. |
| public void | prepareCascadeLockingPolicy()
INTERNAL: A subclass that supports cascade version optimistic locking should implement this method to properly prepare the locking policy for their mapping type. |
| public void | preUpdate(WriteObjectQuery query)
INTERNAL: A subclass should implement this method if it wants different behavior. |
| public Object | readFromResultSetIntoObject(ResultSet resultSet, Object targetObject, ObjectBuildingQuery query, AbstractSession session, DatabaseAccessor accessor, ResultSetMetaData metaData, int columnNumber, DatabasePlatform platform)
INTERNAL: Extract values directly from the result-set. |
| public Object | readFromRowIntoObject(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)
INTERNAL: Extract value from the row and set the attribute to this value in the object. |
| public void | |
| public void | |
| public void | recordPrivateOwnedRemovals(Object object, UnitOfWorkImpl uow)
INTERNAL: Overridden by mappings that require objects to be deleted contribute to change set creation. |
| public void | |
| public void | remoteInitialization(DistributedSession session)
INTERNAL: Once descriptors are serialized to the remote session. |
| protected void | |
| public Map | replaceValueHoldersIn(Object object, RemoteSessionController controller)
INTERNAL: replace the value holders in the specified reference object(s) |
| public void | setAttributeAccessor(AttributeAccessor
TODO attributeAccessor)Implements abstract org. |
| public void | setAttributeName(String
TODO attributeName)Implements abstract org. |
| public void | setAttributeValueInObject(Object
TODO object, Object TODO value)Implements abstract org. |
| public void | setChangeListener(Object clone, PropertyChangeListener listener, UnitOfWorkImpl uow)
INTERNAL: Set the change listener if required. |
| public void | setDerivedIdMapping(DatabaseMapping derivedIdMapping)
ADVANCED: Used to indicate the mapping references a JPA ID or MapsId attribute for the CMP3Policy and JPA Id classes (as well as Embeddable Id classes). |
| public void | setDerivesId(boolean derivesId)
ADVANCED: Used to indicate the mapping references a JPA ID or MapsId attribute for the CMP3Policy and JPA Id classes (as well as Embeddable Id classes). |
| public void | setDescriptor(ClassDescriptor
TODO descriptor)Implements abstract org. |
| protected void | setFields(Vector<DatabaseField>
TODO fields)Implements abstract org. |
| public void | setGetMethodName(String methodName)
PUBLIC: This method is invoked reflectively on the reference object to return the value of the attribute in the object. |
| public void | setIsCacheable(boolean cacheable)
Used to signal that this mapping references a protected/isolated entity and requires special merge/object building behaviour. |
| public void | setIsInAndOutSopObject()
INTERNAL: Set the mapping is both in and out of SerializedObjectPolicy's sopObject |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setIsPrimaryKeyMapping(boolean isPrimaryKeyMapping)
INTERNAL: Set by the Object builder during initialization returns true if this mapping is used as a primary key mapping. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setRealAttributeValueInObject(Object object, Object value)
INTERNAL: Set the value of the attribute mapped by this mapping, placing it inside a value holder if necessary. |
| public void | setSetMethodName(String methodName)
PUBLIC: Set the methodName used to set the value for the mapping's attribute into the object. |
| public void | |
| public void | simpleAddToCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to add an object to a collection once the changeSet is applied. |
| public void | simpleRemoveFromCollectionChangeRecord(Object referenceKey, Object changeSetToAdd, ObjectChangeSet changeSet, AbstractSession session)
ADVANCED: This method is used to remove an object from a collection once the changeSet is applied. |
| public String | toString()
Overrides java. |
| public void | updateChangeRecord(Object clone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
INTERNAL: Either create a new change record or update the change record with the new value. |
| public void | updateCollectionChangeRecord(CollectionChangeEvent event, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
INTERNAL: Add or removes a new value and its change set to the collection change record based on the event passed in. This is used by attribute change tracking. |
| public void | validateAfterInitialization(AbstractSession session)
INTERNAL: Allow for subclasses to perform validation. |
| public void | validateBeforeInitialization(AbstractSession session)
INTERNAL: Allow for subclasses to perform validation. |
| public Object | valueFromObject(Object
TODO anObject, DatabaseField TODO field, AbstractSession TODO session)Implements abstract org. |
| public Object | valueFromResultSet(ResultSet resultSet, ObjectBuildingQuery query, AbstractSession session, DatabaseAccessor accessor, ResultSetMetaData metaData, int columnNumber, DatabasePlatform platform)
INTERNAL: Returns the value for the mapping directly from the result-set. |
| public Object | valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, boolean isTargetProtected)
INTERNAL: A subclass should implement this method if it wants different behavior. |
| public Object | valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession session, boolean isTargetProtected, Boolean[] wasCacheUsed)
INTERNAL: A subclass should implement this method if it wants different behavior. |
| public boolean | verifyDelete(Object object, AbstractSession session)
INTERNAL: To verify if the specified object has been deleted or not. |
| public void | writeFromAttributeIntoRow(Object attribute, AbstractRecord row, AbstractSession session)
INTERNAL: A subclass should implement this method if it wants different behavior. |
| public void | writeFromObjectIntoRow(Object object, AbstractRecord row, AbstractSession session, DatabaseMapping.
INTERNAL: A subclass should implement this method if it wants different behavior. |
| public void | writeFromObjectIntoRowForShallowInsert(Object object, AbstractRecord row, AbstractSession session)
INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts. |
| public void | writeFromObjectIntoRowForShallowInsertWithChangeRecord(ChangeRecord changeRecord, AbstractRecord row, AbstractSession session)
INTERNAL: This row is built for shallow insert which happens in case of bidirectional inserts. |
| public void | |
| public void | writeFromObjectIntoRowForUpdateAfterShallowInsert(Object object, AbstractRecord databaseRow, AbstractSession session, DatabaseTable table)
INTERNAL: This row is built for update after shallow insert which happens in case of bidirectional inserts. |
| public void | writeFromObjectIntoRowForUpdateBeforeShallowDelete(Object object, AbstractRecord databaseRow, AbstractSession session, DatabaseTable table)
INTERNAL: This row is built for update before shallow delete which happens in case of bidirectional inserts. |
| public void | writeFromObjectIntoRowForWhereClause(ObjectLevelModifyQuery query, AbstractRecord row)
INTERNAL: A subclass should implement this method if it wants different behavior. |
| public void | writeFromObjectIntoRowWithChangeRecord(ChangeRecord changeRecord, AbstractRecord row, AbstractSession session, DatabaseMapping.
INTERNAL: A subclass should implement this method if it wants different behavior. |
| public void | writeInsertFieldsIntoRow(AbstractRecord databaseRow, AbstractSession session)
INTERNAL: Write fields needed for insert into the template for with null values. |
| public void | writeUpdateFieldsIntoRow(AbstractRecord databaseRow, AbstractSession session)
INTERNAL: Write fields needed for update into the template for with null values. |