Uses of Class
org.ujorm.orm.metaModel.MetaTable

Packages that use MetaTable
org.ujorm.orm The ORM support. 
org.ujorm.orm.dialect   
org.ujorm.orm.impl   
org.ujorm.orm.metaModel   
org.ujorm.orm.utility   
 

Uses of MetaTable in org.ujorm.orm
 

Fields in org.ujorm.orm declared as MetaTable
protected  MetaTable CriterionDecoder.baseTable
           
protected  MetaTable UjoSequencer.table
          Basic table.
 

Methods in org.ujorm.orm that return MetaTable
 MetaTable OrmHandler.findTableModel(Class<? extends OrmUjo> dbClass)
          Find a tableOf model by the dbClass.
 MetaTable CriterionDecoder.getBaseTable()
          Get Base Table
 MetaTable TableWrapper.getModel()
          Returns a meta-tablemodel
 MetaTable UjoSequencer.getTable()
          Returns a related table or null if sequence is general for the all MetaDatabase space
 MetaTable Query.getTableModel()
          Table Type
 

Methods in org.ujorm.orm with parameters of type MetaTable
 void OrmHandler.addTableModel(MetaTable metaTable)
          Map a key to the table
 String SqlDialectEx.buildConstraintName(MetaColumn column, MetaTable table)
          SQL Name Provider
 String SqlNameProvider.buildDefaultConstraintForDefaultValueName(MetaTable table, MetaColumn column)
          buildDefaultConstraintForDefaultValueName
 String SqlNameProvider.buildDefaultConstraintName(MetaTable table, MetaColumn column)
          SQL Name Provider
 String SqlNameProvider.buildPrimaryKeyName(MetaTable table, List<MetaColumn> columns)
          BuildPrimaryKeyName
 String SqlDialectEx.buildPrimaryKeyOverColumn(MetaTable table, List<MetaColumn> columns)
           
protected
<UJO extends OrmUjo>
int
Session.delete(MetaTable tableModel, Criterion<UJO> criterion)
          Delete all objects object form parameter
Warning: method does not remove deleted object from internal cache, however you can call method clearCache() to release all objects from the cache.
protected
<UJO extends OrmUjo>
boolean
Session.exists(MetaTable table, Criterion<UJO> criterion, Key pk)
          Returns true if exists any database row for the required criterion.
 Appendable SqlDialect.printComment(MetaTable table, Appendable out)
          Print a Comment to a database Table
protected  void SqlNameProvider.printConstraintName(MetaTable table, MetaColumn column, Appendable out)
          Print a constraint name
 Appendable SqlDialect.printFullTableName(MetaTable table, Appendable out)
          Print a full SQL table name by sample: SCHEMA.TABLE
 Appendable SqlDialect.printFullTableName(MetaTable table, boolean printSymbolSchema, Appendable out)
          Print a extended SQL table name by sample: SCHEMA.TABLE
 Appendable SqlDialect.printNextSequence(String sequenceName, MetaTable table, Appendable out)
          Create a SQL script for the NEXT SEQUENCE from a native database sequencer
protected  void SqlDialectEx.printPrimaryKeyConstraint(MetaTable table, List<MetaColumn> columns, Appendable out)
          Prints primary key constraint
 Appendable SqlDialect.printTable(MetaTable table, Appendable out)
          Print a SQL script to create table
 

Constructors in org.ujorm.orm with parameters of type MetaTable
CriterionDecoder(Criterion criterion, MetaTable baseTable)
          Constructor
CriterionDecoder(Criterion criterion, MetaTable baseTable, List<Key> orderByItems)
          Constructor
NativeDbSequencer(MetaTable table)
          Required constructor
Query(MetaTable table, Criterion<UJO> criterion)
          Create new ORM query without a session.
Query(MetaTable table, Criterion<UJO> criterion, Session session)
          Create new ORM query.
UjoSequencer(MetaTable table)
           
 

Uses of MetaTable in org.ujorm.orm.dialect
 

Methods in org.ujorm.orm.dialect with parameters of type MetaTable
protected  String MySqlDialect.getEngine(MetaTable table)
          Returns a MySQL enginge.
 Appendable DerbyDialect.printComment(MetaTable table, Appendable out)
          COMMENT is not supported in HSQLDB database
 Appendable HsqldbDialect.printComment(MetaTable table, Appendable out)
          COMMENT is not supported in HSQLDB database
 Appendable MySqlDialect.printComment(MetaTable table, Appendable out)
          Print a Comment on the table
 Appendable MSSqlDialect.printComment(MetaTable table, Appendable out)
          Print a Comment on the table
 Appendable MSSqlDialect.printFullTableName(MetaTable table, boolean printSymbolSchema, Appendable out)
          Print a extended SQL table name by sample: SCHEMA.TABLE
 Appendable HsqldbDialect.printNextSequence(String sequenceName, MetaTable table, Appendable out)
          Create a SQL script for the NEXT SEQUENCE from a native database sequencer
 Appendable MySqlDialect.printNextSequence(String sequenceName, MetaTable table, Appendable out)
          Create a SQL script for the NEXT SEQUENCE from a native database sequencer
TIP: SELECT AUTO_INCREMENT FROM information_schema.TABLES WHERE TABLE_SCHEMA = $dbName AND TABLE_NAME = $tblName.
 Appendable OracleDialect.printNextSequence(String sequenceName, MetaTable table, Appendable out)
          Create a SQL script for the NEXT SEQUENCE from a native database sequencer
 Appendable MySqlDialect.printTable(MetaTable table, Appendable out)
           
 

Method parameters in org.ujorm.orm.dialect with type arguments of type MetaTable
protected  void MSSqlDialect.printTablesWithAlias(Collection<MetaTable> tables, Appendable out)
           
 

Uses of MetaTable in org.ujorm.orm.impl
 

Methods in org.ujorm.orm.impl that return MetaTable
 MetaTable TableWrapperImpl.getModel()
           
 

Constructors in org.ujorm.orm.impl with parameters of type MetaTable
TableWrapperImpl(MetaTable table, String alias)
           
 

Uses of MetaTable in org.ujorm.orm.metaModel
 

Fields in org.ujorm.orm.metaModel with type parameters of type MetaTable
static Key<MetaTable,String> MetaTable.ALIAS
          The unique table/view name over all Databases in scope one OrmHandler
static ListKey<MetaTable,MetaColumn> MetaTable.COLUMNS
          Table Columns (no relations)
static Key<MetaTable,String> MetaTable.COMMENT
          Comment of the database table
static Key<MetaTable,MetaDatabase> MetaTable.DATABASE
          Database
static Key<MetaTable,RelationToMany> MetaTable.DB_PROPERTY
          Database relative key (a base definition of table)
static Key<MetaTable,String> MetaTable.ID
          The meta-model id
static Key<MetaTable,String> MetaTable.NAME
          DB table name
static Key<MetaTable,Orm2ddlPolicy> MetaTable.ORM2DLL_POLICY
          A policy to defining the database structure by a DDL.
static Key<MetaTable,MetaPKey> MetaTable.PK
          Unique Primary Key
static Key<MetaTable,Boolean> MetaTable.READ_ONLY
          The state read-only for the database.
static ListKey<MetaTable,MetaRelation2Many> MetaTable.RELATIONS
          Table relations to many
static Key<MetaTable,String> MetaTable.SCHEMA
          Name of table schema.
static Key<MetaTable,String> MetaTable.SELECT
          SQL SELECT statement
static Key<MetaTable,MetaSelect> MetaTable.SELECT_MODEL
          SQL SELECT model.
static Key<MetaTable,String> MetaTable.SEQUENCE
          Name of DB sequence.
static Key<MetaRelation2Many,MetaTable> MetaRelation2Many.TABLE
          DB table
static Key<MetaPKey,MetaTable> MetaPKey.TABLE
          DB table
static Key<MetaIndex,MetaTable> MetaIndex.TABLE
          Table
static ListKey<MetaDatabase,MetaTable> MetaDatabase.TABLES
          List of tables
static Key<MetaTable,Boolean> MetaTable.VIEW
          Is the current object a model of a database view ?
 

Methods in org.ujorm.orm.metaModel that return MetaTable
 MetaTable MetaColumn.getForeignTable()
          Returns an original foreign columns in case a foreign column.
 MetaTable MetaTable.getModel()
          Return an instance of Meta Model
 MetaTable MetaRelation2Many.getTable()
          Returns a table model
 

Methods in org.ujorm.orm.metaModel with parameters of type MetaTable
protected  void MetaDbService.checkKeyWord(String word, MetaTable table, Set<String> keywords)
          Check the keyword
 List<String> MetaDbServiceEx.checkTableForColumnsProperties(Connection conn, MetaTable mappedTable, boolean repairDB)
           
 List<String> MetaDbServiceEx.checkTableForForeignKeys(Connection conn, MetaTable mappedTable, boolean repairDB)
           
 List<String> MetaDbServiceEx.checkTableForIndexes(Connection conn, MetaTable mappedTable, boolean repairDB)
           
 List<String> MetaDbServiceEx.checkTableForMissingColumns(Connection conn, MetaTable mappedTable, boolean repairDB)
           
 List<String> MetaDbServiceEx.checkTableForPrimaryKeys(Connection conn, MetaTable mappedTable, boolean repairDB)
           
protected  UjoSequencer MetaDatabase.createSequencer(MetaTable table)
          Create a new sequencer for selected table
protected  void MetaDbService.executeUpdate(Appendable sql, MetaTable table)
          Check missing database table, index, or column
 Map<String,Map<String,Object>> MetaDbServiceEx.listDBTableColumns(MetaTable table, DatabaseMetaData dmd)
           
 Map<String,Map<String,Object>> MetaDbServiceEx.listDBTableFKey(MetaTable table, DatabaseMetaData dmd)
           
 Set<String> MetaDbServiceEx.listDBTableIndexes(MetaTable table, DatabaseMetaData dmd, List<MetaColumn> skippedPrimaryKeyColumns)
           
 Map<String,Map<String,Object>> MetaDbServiceEx.listDBTablePKey(MetaTable table, DatabaseMetaData dmd)
           
 

Method parameters in org.ujorm.orm.metaModel with type arguments of type MetaTable
 void MetaDbServiceEx.checkKeywords(Connection conn, List<MetaTable> tables, List<MetaColumn> columns, List<MetaIndex> indexes)
           
protected  void MetaDbService.checkReportKeywords(Connection conn, List<MetaTable> tables, List<MetaColumn> newColumns, List<MetaIndex> indexes)
          1.
protected  void MetaDbService.createSchema(int tableTotalCount, List<MetaTable> tables, Connection conn)
          2.
protected  void MetaDbService.createTable(List<MetaTable> tables, List<MetaColumn> foreignColumns)
          3.
protected  void MetaDbService.createTableComments(List<MetaTable> tables)
          8.
protected  void MetaDbService.createTableComments(List<MetaTable> cTables, StringBuilder out)
          Create table and column comments.
 Set<String> MetaDatabase.getSchemas(List<MetaTable> tables)
          Get all table schemas
protected  boolean MetaDbService.isModelChanged(Connection conn, List<MetaTable> newTables, List<MetaColumn> newColumns, List<MetaIndex> newIndexes)
          Find database table or columns to modify.
 

Constructors in org.ujorm.orm.metaModel with parameters of type MetaTable
MetaColumn(MetaTable table, Key tableProperty, MetaColumn param)
           
MetaIndex(String index, MetaTable table)
           
MetaPKey(MetaTable table)
           
MetaRelation2Many(MetaTable table, Key tableKey, MetaRelation2Many param)
          Meta-model for a relation to many
MetaSelect(MetaTable view)
           
MetaTable(MetaDatabase database, RelationToMany<?,?> dbProperty, MetaTable parTable)
          Create new MetaTable.
 

Uses of MetaTable in org.ujorm.orm.utility
 

Methods in org.ujorm.orm.utility with parameters of type MetaTable
static Criterion OrmTools.createCriterion(MetaTable table, Criterion crn, List<Object> primaryKeys)
          Create new a Criterion.
 



Copyright 2013, Pavel Ponec