Methods Summary |
---|
public java.lang.String | getSuffix()Returns the suffix used to unique the column aliases for this particular alias set.
return "";
|
public java.lang.String[] | getSuffixedElementAliases()Returns the suffixed result-set column-aliases for the columns making up the collection's elements.
return elementAliases;
|
public java.lang.String | getSuffixedIdentifierAlias()Returns the suffixed result-set column-aliases for the column defining the collection's identifier (if any).
return identifierAlias;
|
public java.lang.String[] | getSuffixedIndexAliases()Returns the suffixed result-set column-aliases for the collumns making up the collection's index (map or list).
return indexAliases;
|
public java.lang.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).
return keyAliases;
|
private java.lang.String | getUserProvidedAlias(java.lang.String propertyPath, java.lang.String defaultAlias)
String[] columns = (String[]) userProvidedAliases.get(propertyPath);
if (columns==null) {
return defaultAlias;
}
else {
return columns[0];
}
|
private java.lang.String[] | getUserProvidedAliases(java.lang.String propertyPath, java.lang.String[] defaultAliases)
String[] result = (String[]) userProvidedAliases.get(propertyPath);
if (result==null) {
return defaultAliases;
}
else {
return result;
}
|
private java.lang.String | join(java.lang.String[] aliases)
if ( aliases == null) return null;
return StringHelper.join( ", ", aliases );
|
public java.lang.String | toString()
return super.toString() + " [ suffixedKeyAliases=[" + join( keyAliases ) +
"], suffixedIndexAliases=[" + join( indexAliases ) +
"], suffixedElementAliases=[" + join( elementAliases ) +
"], suffixedIdentifierAlias=[" + identifierAlias + "]]";
|