public class AliasDictionary extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ALIAS_RESERVATION
if table is named @, the alias will not be printed
|
| Constructor and Description |
|---|
AliasDictionary()
AliasDictionary constructor comment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendAliasListTo(Writer stream)
Generate the TABLENAME alias, ... list onto the given stream.
|
void |
clear() |
String |
findAlias(String tableName)
return the first alias for the given table
|
String |
getHiddenAlias() |
String |
removeAlias(String alias)
remove the alias for the table with the given alias.
|
void |
setAlias(String tableName,
String alias)
set the alias for the given table
|
void |
setAlias(String aTableName,
String aALias,
String aDBLink) |
void |
setHiddenAlias(String ha) |
int |
size() |
String |
toString()
return a string representation (no special format garanteed)
|
public static final String ALIAS_RESERVATION
public void setHiddenAlias(String ha)
ha - public String getHiddenAlias()
public void clear()
public void appendAliasListTo(Writer stream) throws IOException
stream - IOExceptionpublic int size()
public String removeAlias(String alias)
alias - - the alias (unique) to removeCopyright © 2008–2018. All rights reserved.