| Modifier and Type | Field and Description |
|---|---|
| private final CollectionAliases | |
| private final EntityReferenceAliases | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | CollectionReferenceAliasesImpl(String tableAlias, String manyToManyAssociationTableAlias, CollectionAliases collectionAliases, EntityReferenceAliases entityElementAliases)
|
| Modifier and Type | Method and Description |
|---|---|
| public CollectionAliases | getCollectionColumnAliases()
Implements org. |
| public String | getCollectionTableAlias()
Implements org. |
| public String | getElementTableAlias()
Implements org. |
| public EntityReferenceAliases | getEntityElementAliases()
Implements org. |
| collectionAliases | back to summary |
|---|---|
| private final CollectionAliases collectionAliases | |
| entityElementAliases | back to summary |
|---|---|
| private final EntityReferenceAliases entityElementAliases | |
| manyToManyAssociationTableAlias | back to summary |
|---|---|
| private final String manyToManyAssociationTableAlias | |
| tableAlias | back to summary |
|---|---|
| private final String tableAlias | |
| CollectionReferenceAliasesImpl | back to summary |
|---|---|
| public CollectionReferenceAliasesImpl(String tableAlias, String manyToManyAssociationTableAlias, CollectionAliases collectionAliases, EntityReferenceAliases entityElementAliases) | |
| getCollectionColumnAliases | back to summary |
|---|---|
| public CollectionAliases getCollectionColumnAliases() Implements org. Doc from org. Obtain the aliases for the columns related to the collection structure such as the FK, index/key, or identifier (idbag).
| |
| getCollectionTableAlias | back to summary |
|---|---|
| public String getCollectionTableAlias() Implements org. Doc from org. Obtain the table alias used for the collection table of the CollectionReference. | |
| getElementTableAlias | back to summary |
|---|---|
| public String getElementTableAlias() Implements org. Doc from org. Obtain the alias of the table that contains the collection element values. Unlike in the legacy Loader case, CollectionReferences in the LoadPlan code refer to both the collection and the elements *always*. In Loader the elements were handled by EntityPersister associations entries for one-to-many and many-to-many. In LoadPlan we need to describe the collection table/columns as well as the entity element table/columns. For "basic collections" and one-to-many collections, the "element table" and the "collection table" are actually the same. For the many-to-many case this will be different and we need to track it separately.
| |
| getEntityElementAliases | back to summary |
|---|---|
| public EntityReferenceAliases getEntityElementAliases() Implements org. Doc from org. Obtain the entity reference aliases for the element values when the element of the collection is an entity.
| |