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

Packages that use MetaColumn
org.ujorm.orm The ORM support. 
org.ujorm.orm.ao   
org.ujorm.orm.dialect   
org.ujorm.orm.metaModel   
 

Uses of MetaColumn in org.ujorm.orm
 

Methods in org.ujorm.orm that return MetaColumn
 MetaColumn Query.getColumn(int index)
          Get Column List
 MetaColumn CriterionDecoder.getColumn(int i)
          Returns direct column
 MetaColumn ColumnWrapper.getModel()
          Returns a meta-tablemodel
 MetaColumn Query.readOrderColumn(int i)
          Returns an order column.
 

Methods in org.ujorm.orm that return types with arguments of type MetaColumn
 List<MetaColumn> Query.getColumns()
          Get Column List
protected  List<MetaColumn> Session.getOrmColumns(Key... keys)
          Convert a property array to a column list.
 

Methods in org.ujorm.orm with parameters of type MetaColumn
 void JdbcStatement.assignValue(MetaColumn column, Object value, OrmUjo bo)
          Add a next value to a SQL prepared statement.
 void JdbcStatement.assignValue(OrmUjo table, MetaColumn column)
          Add a next value to a SQL prepared statement.
protected  String SqlDialect.getColumnType(MetaColumn column)
          Returns a database column type
 Class TypeService.getDbTypeClass(MetaColumn column)
          Return an converted Java type to database DDL statements by a generic test.
 Class<D> ITypeService.getDbTypeClass(MetaColumn column)
          Return an converted Java type to use in database DDL statements.
static char TypeService.getTypeCode(MetaColumn column)
          The method returns a Java data type code.
 Object TypeService.getValue(MetaColumn mColumn, CallableStatement rs, int c)
          GetValue from the stored precedure by position.
 J ITypeService.getValue(MetaColumn mColumn, CallableStatement rs, int c)
          GetValue from the stored precedure by position.
 Object TypeService.getValue(MetaColumn mColumn, ResultSet rs, int c)
          GetValue from the result set by position It must be the same implementation as TypeService.getValue(org.ujorm.orm.metaModel.MetaColumn, java.sql.CallableStatement, int).
 J ITypeService.getValue(MetaColumn mColumn, ResultSet rs, int c)
          GetValue from the result set by position It must be the same implementation as ITypeService.getValue(org.ujorm.orm.metaModel.MetaColumn, java.sql.CallableStatement, int).
protected  boolean SqlDialect.isColumnLengthAllowed(MetaColumn column)
          Is allowed a column length in a SQL phrase for creating column?
 Appendable SqlDialect.printAlterTableAddColumn(MetaColumn column, Appendable out)
          Print a SQL sript to add a new column to the table
 Appendable SqlDialect.printColumnDeclaration(MetaColumn column, String aName, Appendable out)
          Print a SQL to create column
 Appendable SqlDialect.printComment(MetaColumn column, Appendable out)
          Print a Comment to a database Column
protected  void SqlDialect.printConstraintName(MetaTable table, MetaColumn column, Appendable out)
          Print a constraint name
 Appendable SqlDialect.printDefaultValue(MetaColumn column, Appendable out)
          Print a SQL phrase for the DEFAULT VALUE, for example: DEFAULT 777
 Appendable SqlDialect.printFKColumnsDeclaration(MetaColumn column, Appendable out)
          Print a SQL to create foreign keys.
 Appendable SqlDialect.printForeignKey(MetaColumn column, MetaTable table, Appendable out)
          Print foreign key for the parameter column
 void ITypeService.setValue(MetaColumn mColumn, PreparedStatement rs, J value, int c)
          GetValue from the result set by position.
 void TypeService.setValue(MetaColumn mColumn, PreparedStatement rs, Object value, int c)
          GetValue from the result set by position.
 

Method parameters in org.ujorm.orm with type arguments of type MetaColumn
 void JdbcStatement.assignValues(OrmUjo table, List<MetaColumn> columns)
          Assign values into the prepared statement
 Appendable SqlDialect.printUpdate(MetaTable table, List<MetaColumn> changedColumns, CriterionDecoder decoder, Appendable out)
          Print an SQL UPDATE statement.
 

Uses of MetaColumn in org.ujorm.orm.ao
 

Methods in org.ujorm.orm.ao with parameters of type MetaColumn
 Object UjoStatement.getDatabaseValue(MetaColumn column, Object value)
          Returns a any value in a JDBC friendly type.
 Object UjoStatement.getDefaultValue(MetaColumn column)
          Returns a default value in a JDBC friendly type.
 

Uses of MetaColumn in org.ujorm.orm.dialect
 

Methods in org.ujorm.orm.dialect with parameters of type MetaColumn
protected  String OracleDialect.getColumnType(MetaColumn column)
          PostgreSql dialect uses a database type OID (instead of the BLBO).
protected  String MSSqlDialect.getColumnType(MetaColumn column)
           
protected  String MySqlDialect.getColumnType(MetaColumn column)
          MySQL dialect uses a database type DATETIME (instead of the TIMESTAMP) for the java.util.Date.
protected  String PostgreSqlDialect.getColumnType(MetaColumn column)
          PostgreSql dialect uses a database type OID (instead of the BLBO).
 Appendable OracleDialect.printAlterTableAddColumn(MetaColumn column, Appendable out)
          Print a SQL sript to add a new column to the table
Sample: ALTER TABLE sa_myphone.ord_order ADD (NEW_COLUMN INT DEFAULT 777 NOT NULL);
 Appendable FirebirdDialect.printAlterTableAddColumn(MetaColumn column, Appendable out)
          Print a SQL sript to add a new column to the table
The DDL statement does not contains a word COLUMN.
 Appendable MSSqlDialect.printAlterTableAddColumn(MetaColumn column, Appendable out)
          Print a SQL sript to add a new column to the table
 Appendable OracleDialect.printColumnDeclaration_2(MetaColumn column, String aName, Appendable out)
          Print a SQL to create column
 Appendable MSSqlDialect.printColumnDeclaration(MetaColumn column, String aName, Appendable out)
           
 Appendable MSSqlDialect.printColumnOrderAlias(MetaColumn column, Appendable out)
          Print a full SQL column alias name by sample: o__ - used for as order alias
 Appendable MSSqlDialect.printColumnUnderAlias(MetaColumn column, Appendable out)
          Print a full SQL column alias name by sample: _
 Appendable HsqldbDialect.printComment(MetaColumn column, Appendable out)
          COMMENT is not supported in HSQLDB database
 Appendable MSSqlDialect.printComment(MetaColumn column, Appendable out)
          Important note for MySQL: the change of column modifies all another column attributes so the comment update can revert some hand-made changes different from meta-model.
 Appendable MySqlDialect.printComment(MetaColumn column, Appendable out)
          Important note for MySQL: the change of column modifies all another column attributes so the comment update can revert some hand-made changes different from meta-model.
 Appendable DerbyDialect.printComment(MetaColumn table, Appendable out)
          COMMENT is not supported in HSQLDB database
 Appendable MSSqlDialect.printDefaultValue(MetaColumn column, Appendable out)
          Print a SQL phrase for the DEFAULT VALUE, for example: DEFAULT 777
 

Method parameters in org.ujorm.orm.dialect with type arguments of type MetaColumn
protected  void MSSqlDialect.printTableColumnsUnderAliases(List<MetaColumn> columns, Appendable out)
          prints columns in _ separated by comma
protected  void MSSqlDialect.printTableColumnsWithUnderAliases(List<MetaColumn> columns, Appendable out)
          prints columns in ".
 Appendable MSSqlDialect.printUpdate(MetaTable table, List<MetaColumn> changedColumns, CriterionDecoder decoder, Appendable out)
          Print an SQL UPDATE statement.
 

Uses of MetaColumn in org.ujorm.orm.metaModel
 

Fields in org.ujorm.orm.metaModel with type parameters of type MetaColumn
static ListKey<MetaPKey,MetaColumn> MetaPKey.COLUMNS
          DB columns
static ListKey<MetaTable,MetaColumn> MetaTable.COLUMNS
          Table Columns (no relations)
static ListKey<MetaIndex,MetaColumn> MetaIndex.COLUMNS
          Table Columns
static Key<MetaColumn,String> MetaColumn.COMMENT
          Comment of the database column
static Key<MetaColumn,String> MetaColumn.CONSTRAINT_NAME
          A name of the constraint for the case a foreign key
static Key<MetaColumn,Class<? extends ITypeService>> MetaColumn.CONVERTER
          Convert, save and read application data from/to the database
static Key<MetaColumn,DbType> MetaColumn.DB_TYPE
          Database Type
static Key<MetaColumn,String> MetaColumn.DEFAULT_VALUE
          DB Default value
static Key<MetaColumn,String> MetaColumn.INDEX
          A name of the non-unique database index for the column, where the same index can contain more columns.
static Key<MetaColumn,Boolean> MetaColumn.MANDATORY
          Column NOT-NULL
static Key<MetaColumn,Integer> MetaColumn.MAX_LENGTH
          Column value length
static ListKey<MetaProcedure,MetaColumn> MetaProcedure.PARAMETERS
          Procedure parameters
static Key<MetaColumn,Integer> MetaColumn.PRECISION
          Column value precision
static Key<MetaColumn,Boolean> MetaColumn.PRIMARY_KEY
          DB primary key
static Key<MetaColumn,String> MetaColumn.UNIQUE_INDEX
          A name of the unique database index for the column, where the same index can contain more columns.
 

Methods in org.ujorm.orm.metaModel that return MetaColumn
 MetaColumn MetaPKey.getColumn(int i)
          Returns column on the selected position.
 MetaColumn MetaPKey.getFirstColumn()
          Returns the first column.
 MetaColumn MetaTable.getFirstPK()
          Returns the first PK
 MetaColumn MetaColumn.getModel()
          Get ling to a column neta-model
 

Methods in org.ujorm.orm.metaModel that return types with arguments of type MetaColumn
 List<MetaColumn> MetaTable.getForeignColumns()
          Get all foreign columns
 List<MetaColumn> MetaColumn.getForeignColumns()
          Returns an original foreign columns in case a foreign column.
 

Methods in org.ujorm.orm.metaModel with parameters of type MetaColumn
 void MetaDatabase.changeDbLength(MetaColumn column)
          Change DbType by a Java property
 void MetaDatabase.changeDbType(MetaColumn column)
          Change DbType by a Java property
 boolean MetaProcedure.isInput(MetaColumn column)
          Is it an INPUT property ?
 boolean MetaProcedure.isOutput(MetaColumn column)
          Is it an OUTPUT property ?
 

Constructors in org.ujorm.orm.metaModel with parameters of type MetaColumn
MetaColumn(MetaTable table, Key tableProperty, MetaColumn param)
           
 



Copyright © 2012. All Rights Reserved.