public class CollectionReferenceAliasesImpl extends Object implements CollectionReferenceAliases
Constructor and Description |
---|
CollectionReferenceAliasesImpl(String tableAlias,
String manyToManyAssociationTableAlias,
CollectionAliases collectionAliases,
EntityReferenceAliases entityElementAliases) |
Modifier and Type | Method and Description |
---|---|
CollectionAliases |
getCollectionColumnAliases()
Obtain the aliases for the columns related to the collection structure such as the FK, index/key, or identifier
(idbag).
|
String |
getCollectionTableAlias()
Obtain the table alias used for the collection table of the CollectionReference.
|
String |
getElementTableAlias()
Obtain the alias of the table that contains the collection element values.
|
EntityReferenceAliases |
getEntityElementAliases()
Obtain the entity reference aliases for the element values when the element of the collection is an entity.
|
public CollectionReferenceAliasesImpl(String tableAlias, String manyToManyAssociationTableAlias, CollectionAliases collectionAliases, EntityReferenceAliases entityElementAliases)
public String getCollectionTableAlias()
CollectionReferenceAliases
getCollectionTableAlias
in interface CollectionReferenceAliases
public String getElementTableAlias()
CollectionReferenceAliases
getElementTableAlias
in interface CollectionReferenceAliases
CollectionReferenceAliases.getCollectionTableAlias()
in the case of
many-to-many.public CollectionAliases getCollectionColumnAliases()
CollectionReferenceAliases
getCollectionColumnAliases
in interface CollectionReferenceAliases
public EntityReferenceAliases getEntityElementAliases()
CollectionReferenceAliases
getEntityElementAliases
in interface CollectionReferenceAliases
null
if the collection element is not an entity.Copyright © 2016 JBoss by Red Hat. All rights reserved.