public class GeneratedCollectionAliases extends Object implements CollectionAliases
Constructor and Description |
---|
GeneratedCollectionAliases(CollectionPersister persister,
String string) |
GeneratedCollectionAliases(Map userProvidedAliases,
CollectionPersister persister,
String suffix) |
Modifier and Type | Method and Description |
---|---|
String |
getSuffix()
Returns the suffix used to unique the column aliases for this particular alias set.
|
String[] |
getSuffixedElementAliases()
Returns the suffixed result-set column-aliases for the columns making up the collection's elements.
|
String |
getSuffixedIdentifierAlias()
Returns the suffixed result-set column-aliases for the column defining the collection's identifier (if any).
|
String[] |
getSuffixedIndexAliases()
Returns the suffixed result-set column-aliases for the columns making up the collection's index (map or list).
|
String[] |
getSuffixedKeyAliases()
Returns the suffixed result-set column-aliases for columns making up the key for this collection (i.e., its FK to
its owner).
|
String |
toString() |
public GeneratedCollectionAliases(Map userProvidedAliases, CollectionPersister persister, String suffix)
public GeneratedCollectionAliases(CollectionPersister persister, String string)
public String[] getSuffixedKeyAliases()
getSuffixedKeyAliases
in interface CollectionAliases
public String[] getSuffixedIndexAliases()
getSuffixedIndexAliases
in interface CollectionAliases
public String[] getSuffixedElementAliases()
getSuffixedElementAliases
in interface CollectionAliases
public String getSuffixedIdentifierAlias()
getSuffixedIdentifierAlias
in interface CollectionAliases
public String getSuffix()
getSuffix
in interface CollectionAliases
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.