| Modifier and Type | Field and Description |
|---|---|
| protected Boolean | hasNestedIdentityReference
Indicates whether the mapping (or at least one of its nested mappings, at any nested depth) references an entity. |
| protected Class | referenceClass
Stores a reference class |
| protected String | |
| protected ClassDescriptor | referenceDescriptor
The descriptor of the reference class |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected DeleteObjectQuery | buildAggregateDeleteQuery(DeleteObjectQuery sourceQuery, Object sourceAttributeValue)
Make a copy of the sourceQuery for the attribute. |
| protected void | buildAggregateModifyQuery(ObjectLevelModifyQuery sourceQuery, ObjectLevelModifyQuery aggregateQuery, Object sourceAttributeValue)
Initialize the aggregate query with the settings from the source query. |
| protected WriteObjectQuery | buildAggregateWriteQuery(WriteObjectQuery sourceQuery, Object sourceAttributeValue)
Make a copy of the sourceQuery for the attribute. |
| public void | buildBackupClone(Object
TODO clone, Object TODO backup, UnitOfWorkImpl TODO unitOfWork)Implements abstract org. |
| protected Object | buildBackupClonePart(Object attributeValue, UnitOfWorkImpl unitOfWork)
INTERNAL: Build and return a backup clone of the attribute. |
| public void | buildClone(Object
TODO original, CacheKey TODO cacheKey, Object TODO clone, Integer TODO refreshCascade, AbstractSession TODO cloningSession)Implements abstract org. |
| public void | buildCloneFromRow(AbstractRecord
TODO databaseRow, JoinedAttributeManager TODO joinManager, Object TODO clone, CacheKey TODO sharedCacheKey, ObjectBuildingQuery TODO sourceQuery, UnitOfWorkImpl TODO unitOfWork, AbstractSession TODO executionSession)Implements abstract org. |
| protected Object | buildClonePart(Object original, Object clone, CacheKey cacheKey, Object attributeValue, Integer refreshCascade, AbstractSession cloningSession)
INTERNAL: Build and return a clone of the attribute. |
| protected Object | buildClonePart(Object attributeValue, Object clone, CacheKey parentCacheKey, Integer refreshCascade, AbstractSession cloningSession, boolean isNewObject)
INTERNAL: * Build and return a clone of the attribute. |
| public void | buildCopy(Object
TODO copy, Object TODO original, CopyGroup TODO group)Overrides org. |
| protected Object | buildCopyOfAttributeValue(Object attributeValue, CopyGroup group)
Copy of the attribute of the object. |
| public Expression | buildExpression(Object
TODO queryObject, QueryByExamplePolicy TODO policy, Expression TODO expressionBuilder, Map<K, V> TODO processedObjects, AbstractSession TODO session)Overrides org. |
| protected Object | buildNewMergeInstanceOf(Object sourceAttributeValue, AbstractSession session)
INTERNAL: Build and return a new instance of the specified attribute. |
| protected boolean | compareAttributeValues(Object attributeValue1, Object attributeValue2, AbstractSession session)
INTERNAL: Compare the attributes. |
| public ChangeRecord | compareForChange(Object
TODO clone, Object TODO backup, ObjectChangeSet TODO owner, AbstractSession TODO session)Implements abstract org. |
| public boolean | compareObjects(Object
TODO firstObject, Object TODO secondObject, AbstractSession TODO session)Implements abstract org. |
| public void | convertClassNamesToClasses(ClassLoader
TODO classLoader)Overrides org. |
| protected void | executeEvent(int eventCode, ObjectLevelModifyQuery query)
INTERNAL: Execute a descriptor event for the specified event code. |
| protected void | fixAttributeValue(Object attributeValue, Map<Object, ObjectDescriptor> objectDescriptors, Map<Object, Object> processedObjects, ObjectLevelReadQuery query, DistributedSession session)
INTERNAL: An object has been serialized from the server to the remote client. |
| public void | fixObjectReferences(Object
TODO object, Map<Object, ObjectDescriptor> TODO objectDescriptors, Map<Object, Object> TODO processedObjects, ObjectLevelReadQuery TODO query, DistributedSession TODO session)Implements abstract org. |
| protected Object | |
| protected ObjectBuilder | |
| protected ObjectBuilder | |
| protected DescriptorQueryManager | |
| public Class | |
| public String | |
| public ClassDescriptor | getReferenceDescriptor()
Overrides org. |
| protected ClassDescriptor | getReferenceDescriptor(Class<?> theClass, AbstractSession session)
INTERNAL: For inheritance purposes. |
| protected ClassDescriptor | |
| public boolean | hasNestedIdentityReference()
Overrides org. |
| public void | initialize(AbstractSession session)
Overrides org. |
| public boolean | isAggregateMapping()
Overrides org. |
| public void | iterate(DescriptorIterator iterator)
Implements abstract org. |
| protected void | iterateOnAttributeValue(DescriptorIterator iterator, Object attributeValue)
Iterate on the specified attribute value. |
| public void | load(final Object object, AttributeItem item, final AbstractSession session, final boolean fromFetchGroup)
Overrides org. |
| public void | loadAll(Object object, AbstractSession session, IdentityHashSet loaded)
Overrides org. |
| protected void | mergeAttributeValue(Object targetAttributeValue, boolean isTargetUnInitialized, Object sourceAttributeValue, MergeManager mergeManager, AbstractSession targetSession)
Merge the attribute values. |
| public void | mergeChangesIntoObject(Object target, ChangeRecord changeRecord, Object source, MergeManager mergeManager, AbstractSession targetSession)
Implements abstract org. |
| public void | mergeIntoObject(Object target, boolean isTargetUnInitialized, Object source, MergeManager mergeManager, AbstractSession targetSession)
Implements abstract org. |
| public void | postDelete(DeleteObjectQuery query)
Overrides org. |
| public void | postDeleteAttributeValue(DeleteObjectQuery query, Object attributeValue)
INTERNAL: The message is passed to its reference class descriptor. |
| public void | postInsert(WriteObjectQuery query)
Overrides org. |
| public void | postInsertAttributeValue(WriteObjectQuery query, Object attributeValue)
INTERNAL: The message is passed to its reference class descriptor. |
| public void | postUpdate(WriteObjectQuery query)
Overrides org. |
| public void | postUpdateAttributeValue(WriteObjectQuery query, Object attributeValue)
INTERNAL: The message is passed to its reference class descriptor. |
| public void | preDelete(DeleteObjectQuery query)
Overrides org. |
| public void | preDeleteAttributeValue(DeleteObjectQuery query, Object attributeValue)
INTERNAL: The message is passed to its reference class descriptor. |
| public void | preInsert(WriteObjectQuery query)
Overrides org. |
| public void | preInsertAttributeValue(WriteObjectQuery query, Object attributeValue)
INTERNAL: The message is passed to its reference class descriptor. |
| public void | preUpdate(WriteObjectQuery query)
Overrides org. |
| public void | preUpdateAttributeValue(WriteObjectQuery query, Object attributeValue)
INTERNAL: The message is passed to its reference class descriptor. |
| public void | remoteInitialization(DistributedSession session)
Overrides org. |
| public void | setReferenceClass(Class<?> aClass)
PUBLIC: This is a reference class whose instances this mapping will store in the domain objects. |
| public void | |
| protected void | |
| public void | updateChangeRecord(Object sourceClone, Object newValue, Object oldValue, ObjectChangeSet objectChangeSet, UnitOfWorkImpl uow)
Overrides org. |
| public boolean | verifyDelete(Object object, AbstractSession session)
Overrides org. |
| protected boolean | verifyDeleteOfAttributeValue(Object attributeValue, AbstractSession session)
INTERNAL: Return whether the specified object and all its components have been deleted. |