public class CollectionReferenceAliasesImpl extends java.lang.Object implements CollectionReferenceAliases
Constructor and Description |
---|
CollectionReferenceAliasesImpl(java.lang.String tableAlias,
java.lang.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).
|
java.lang.String |
getCollectionTableAlias()
Obtain the table alias used for the collection table of the CollectionReference.
|
java.lang.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(java.lang.String tableAlias, java.lang.String manyToManyAssociationTableAlias, CollectionAliases collectionAliases, EntityReferenceAliases entityElementAliases)
public java.lang.String getCollectionTableAlias()
CollectionReferenceAliases
getCollectionTableAlias
in interface CollectionReferenceAliases
public java.lang.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 © 2001-2018 Red Hat, Inc. All Rights Reserved.