java.lang.Object
org.litebridge.orm.persistence.alias.NoOpAliasGenerator
- All Implemented Interfaces:
AliasGenerator
An
AliasGenerator implementation that does not generate any aliases,
returning the original table and column names instead.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaliasColumn(Table ormTable, Column column) Generates an aliased column for the specified table and column.aliasColumn(Table ormTable, ColumnMetaData columnMetaData) Generates an aliased column for the specified table and column metadata.aliasTable(OrmTable ormTable) Generates an aliased table for the specified ORM table.
-
Constructor Details
-
NoOpAliasGenerator
public NoOpAliasGenerator()
-
-
Method Details
-
aliasTable
Description copied from interface:AliasGeneratorGenerates an aliased table for the specified ORM table.- Specified by:
aliasTablein interfaceAliasGenerator- Parameters:
ormTable- The ORM table.- Returns:
- The aliased table.
-
aliasColumn
Description copied from interface:AliasGeneratorGenerates an aliased column for the specified table and column metadata.- Specified by:
aliasColumnin interfaceAliasGenerator- Parameters:
ormTable- The table.columnMetaData- The column metadata.- Returns:
- The aliased column.
-
aliasColumn
Description copied from interface:AliasGeneratorGenerates an aliased column for the specified table and column.- Specified by:
aliasColumnin interfaceAliasGenerator- Parameters:
ormTable- the tablecolumn- the column- Returns:
- the aliased column
-