Class NoOpAliasGenerator

java.lang.Object
org.litebridge.orm.persistence.alias.NoOpAliasGenerator
All Implemented Interfaces:
AliasGenerator

public final class NoOpAliasGenerator extends Object implements AliasGenerator
An AliasGenerator implementation that does not generate any aliases, returning the original table and column names instead.
  • Constructor Details

    • NoOpAliasGenerator

      public NoOpAliasGenerator()
  • Method Details

    • aliasTable

      public Table aliasTable(OrmTable ormTable)
      Description copied from interface: AliasGenerator
      Generates an aliased table for the specified ORM table.
      Specified by:
      aliasTable in interface AliasGenerator
      Parameters:
      ormTable - The ORM table.
      Returns:
      The aliased table.
    • aliasColumn

      public Column aliasColumn(Table ormTable, ColumnMetaData columnMetaData)
      Description copied from interface: AliasGenerator
      Generates an aliased column for the specified table and column metadata.
      Specified by:
      aliasColumn in interface AliasGenerator
      Parameters:
      ormTable - The table.
      columnMetaData - The column metadata.
      Returns:
      The aliased column.