| Modifier and Type | Field and Description |
|---|---|
| protected ClassDescriptor | |
| protected boolean | |
| protected boolean | |
| protected Map | |
| protected Class | |
| protected ClassDescriptor | |
| protected DatabaseMapping | |
| protected ReadObjectQuery | |
| protected Map | |
| protected boolean | |
| protected DataReadQuery | |
| protected Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected AbstractRecord | |
| protected ClassDescriptor | getParentDescriptorFromInheritancePolicy(Object parentObj)
Get the descriptor that really represents this object In the case of inheritance, the object may represent a subclass of class the descriptor represents. |
| protected DatabaseMapping | |
| protected ReadObjectQuery | |
| protected AbstractRecord | |
| public void | initUnmappedFields(UnitOfWorkImpl uow)
INTERNAL: Identify mapped and not mapped fields (should be done once). |
| public void | initUnmappedFieldsQuery(UnitOfWorkImpl uow)
INTERNAL: This method called in case there are m_unmappedQueryKeyFields. |
| public void | |
| public void | |
| public void | setQueryKeyFields(Map<DatabaseField, DatabaseField> queryKeyFields, boolean lookForParentMapping)
INTERNAL: |
| public void | setShouldHandleUnmappedFields(boolean shouldHandleUnmappedFields)
INTERNAL: Indicates whether to expect unmapped fields. |
| public boolean |
| m_descriptor | back to summary |
|---|---|
| protected ClassDescriptor m_descriptor | |
| m_hasCheckedForUnmappedFields | back to summary |
|---|---|
| protected boolean m_hasCheckedForUnmappedFields | |
| m_lookForParentMapping | back to summary |
|---|---|
| protected boolean m_lookForParentMapping | |
| m_mappedQueryKeyFields | back to summary |
|---|---|
| protected Map<DatabaseField, DatabaseField> m_mappedQueryKeyFields | |
| m_parentClass | back to summary |
|---|---|
| protected Class<?> m_parentClass | |
| m_parentDescriptor | back to summary |
|---|---|
| protected ClassDescriptor m_parentDescriptor | |
| m_parentMapping | back to summary |
|---|---|
| protected DatabaseMapping m_parentMapping | |
| m_query | back to summary |
|---|---|
| protected ReadObjectQuery m_query | |
| m_queryKeyFields | back to summary |
|---|---|
| protected Map<DatabaseField, DatabaseField> m_queryKeyFields | |
| m_shouldHandleUnmappedFields | back to summary |
|---|---|
| protected boolean m_shouldHandleUnmappedFields | |
| m_unmappedFieldsQuery | back to summary |
|---|---|
| protected DataReadQuery m_unmappedFieldsQuery | |
| m_unmappedQueryKeyFields | back to summary |
|---|---|
| protected Map<DatabaseField, DatabaseField> m_unmappedQueryKeyFields | |
| CascadeLockingPolicy | back to summary |
|---|---|
| public CascadeLockingPolicy(ClassDescriptor parentDescriptor, ClassDescriptor descriptor) INTERNAL: | |
| getMappedTranslationRow | back to summary |
|---|---|
| protected AbstractRecord getMappedTranslationRow(Object changedObj, UnitOfWorkImpl uow) INTERNAL: | |
| getParentDescriptorFromInheritancePolicy | back to summary |
|---|---|
| protected ClassDescriptor getParentDescriptorFromInheritancePolicy(Object parentObj) Get the descriptor that really represents this object In the case of inheritance, the object may represent a subclass of class the descriptor represents. If there is no InheritancePolicy, we return our parentDescriptor If there is inheritance we will search for a descriptor that represents parentObj and return that descriptor | |
| getParentMapping | back to summary |
|---|---|
| protected DatabaseMapping getParentMapping() INTERNAL: | |
| getQuery | back to summary |
|---|---|
| protected ReadObjectQuery getQuery() INTERNAL: | |
| getUnmappedTranslationRow | back to summary |
|---|---|
| protected AbstractRecord getUnmappedTranslationRow(Object changedObj, UnitOfWorkImpl uow) INTERNAL: | |
| initUnmappedFields | back to summary |
|---|---|
| public void initUnmappedFields(UnitOfWorkImpl uow) INTERNAL: Identify mapped and not mapped fields (should be done once). The result - either two non-empty Maps m_unmappedQueryKeyFields and m_mappedQueryKeyFields, or m_unmappedQueryKeyFields == null and m_mappedQueryKeyFields == m_queryKeyFields. | |
| initUnmappedFieldsQuery | back to summary |
|---|---|
| public void initUnmappedFieldsQuery(UnitOfWorkImpl uow) INTERNAL: This method called in case there are m_unmappedQueryKeyFields. It creates a query that would fetch the values for this fields from the db. | |
| lockNotifyParent | back to summary |
|---|---|
| public void lockNotifyParent(Object obj, UnitOfWorkChangeSet changeSet, UnitOfWorkImpl uow) INTERNAL: | |
| setQueryKeyFields | back to summary |
|---|---|
| public void setQueryKeyFields(Map<DatabaseField, DatabaseField> queryKeyFields) INTERNAL: | |
| setQueryKeyFields | back to summary |
|---|---|
| public void setQueryKeyFields(Map<DatabaseField, DatabaseField> queryKeyFields, boolean lookForParentMapping) INTERNAL: | |
| setShouldHandleUnmappedFields | back to summary |
|---|---|
| public void setShouldHandleUnmappedFields(boolean shouldHandleUnmappedFields) INTERNAL: Indicates whether to expect unmapped fields. That should be set to true for UnidirectionalOneToManyMapping. | |
| shouldHandleUnmappedFields | back to summary |
|---|---|
| public boolean shouldHandleUnmappedFields() INTERNAL: | |