|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MetaColumn | |
|---|---|
| org.ujoframework.orm | The ORM support. |
| org.ujoframework.orm.ao | |
| org.ujoframework.orm.dialect | |
| org.ujoframework.orm.metaModel | |
| Uses of MetaColumn in org.ujoframework.orm |
|---|
| Methods in org.ujoframework.orm that return MetaColumn | |
|---|---|
MetaColumn |
Query.getColumn(int index)
Get Column List |
MetaColumn |
CriterionDecoder.getColumn(int i)
Returns direct column |
MetaColumn |
Query.readOrderColumn(int i)
Returns an order column. |
| Methods in org.ujoframework.orm that return types with arguments of type MetaColumn | |
|---|---|
java.util.List<MetaColumn> |
Query.getColumns()
Get Column List |
protected java.util.List<MetaColumn> |
Session.getOrmColumns(UjoProperty... properties)
Convert a property array to a column list. |
| Methods in org.ujoframework.orm with parameters of type MetaColumn | |
|---|---|
void |
JdbcStatement.assignValue(MetaColumn column,
java.lang.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 java.lang.String |
SqlDialect.getColumnType(MetaColumn column)
Returns a database column type |
char |
TypeService.getTypeCode(MetaColumn column)
The method returns a data type code include relation |
java.lang.Object |
TypeService.getValue(MetaColumn mColumn,
java.sql.CallableStatement rs,
int column)
GetValue from the stored precedure by position |
java.lang.Object |
TypeService.getValue(MetaColumn mColumn,
java.sql.ResultSet rs)
GetValue from the result set by position |
java.lang.Object |
TypeService.getValue(MetaColumn mColumn,
java.sql.ResultSet rs,
int column)
GetValue from the result set by position |
java.lang.Appendable |
SqlDialect.printAlterTable(MetaColumn column,
java.lang.Appendable out)
Print a SQL sript to add a new column to the table |
java.lang.Appendable |
SqlDialect.printColumnAlias(MetaColumn column,
java.lang.Appendable out)
Print a full SQL column alias name by sample: TABLE_ALIAS.COLUMN |
java.lang.Appendable |
SqlDialect.printColumnDeclaration(MetaColumn column,
java.lang.String aName,
java.lang.Appendable out)
Print a SQL to create column |
java.lang.Appendable |
SqlDialect.printDefaultValue(MetaColumn column,
java.lang.Appendable out)
Print a SQL phrase for the DEFAULT VALUE, for example: DEFAULT 777 |
java.lang.Appendable |
SqlDialect.printFKColumnsDeclaration(MetaColumn column,
java.lang.Appendable out)
Print a SQL to create foreign keys. |
java.lang.Appendable |
SqlDialect.printForeignKey(MetaColumn column,
MetaTable table,
java.lang.Appendable out)
Print foreign key for the parameter column |
void |
SqlDialect.printForeignKey(ValueCriterion crit,
MetaColumn column,
java.lang.String template,
java.lang.Appendable out)
Print all items of the foreign key |
void |
TypeService.setValue(MetaColumn mColumn,
java.sql.PreparedStatement rs,
java.lang.Object value,
int i)
GetValue from the result set by position |
| Method parameters in org.ujoframework.orm with type arguments of type MetaColumn | |
|---|---|
void |
JdbcStatement.assignValues(OrmUjo table,
java.util.List<MetaColumn> columns)
Assign values into the prepared statement |
void |
SqlDialect.printTableColumns(java.util.List<MetaColumn> columns,
java.lang.Appendable values,
java.lang.Appendable out)
Print table columns |
java.lang.Appendable |
SqlDialect.printUpdate(MetaTable table,
java.util.List<MetaColumn> changedColumns,
CriterionDecoder decoder,
java.lang.Appendable out)
Print an SQL UPDATE statement. |
| Uses of MetaColumn in org.ujoframework.orm.ao |
|---|
| Methods in org.ujoframework.orm.ao with parameters of type MetaColumn | |
|---|---|
java.lang.Object |
UjoStatement.getDefaultValue(MetaColumn column)
Returns a default value in a JDBC friendly type. |
| Uses of MetaColumn in org.ujoframework.orm.dialect |
|---|
| Methods in org.ujoframework.orm.dialect with parameters of type MetaColumn | |
|---|---|
protected java.lang.String |
PostgreSqlDialect.getColumnType(MetaColumn column)
PostgreSql dialect uses a database type OID (instead of the BLBO). |
protected java.lang.String |
OracleDialect.getColumnType(MetaColumn column)
PostgreSql dialect uses a database type OID (instead of the BLBO). |
protected java.lang.String |
MySqlDialect.getColumnType(MetaColumn column)
MySQL dialect uses a database type DATETIME (instead of the TIMESTAMP) for the java.util.Date. |
java.lang.Appendable |
OracleDialect.printAlterTable(MetaColumn column,
java.lang.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); |
java.lang.Appendable |
FirebirdDialect.printAlterTable(MetaColumn column,
java.lang.Appendable out)
Print a SQL sript to add a new column to the table The DDL statement does not contains a word COLUMN. |
java.lang.Appendable |
OracleDialect.printColumnDeclaration_2(MetaColumn column,
java.lang.String aName,
java.lang.Appendable out)
Print a SQL to create column |
java.lang.Appendable |
DerbyDialect.printForeignKey(MetaColumn column,
MetaTable table,
java.lang.Appendable out)
Print foreign key for the parameter column |
| Uses of MetaColumn in org.ujoframework.orm.metaModel |
|---|
| Fields in org.ujoframework.orm.metaModel with type parameters of type MetaColumn | |
|---|---|
static ListProperty<MetaTable,MetaColumn> |
MetaTable.COLUMNS
Table Columns (no relations) |
static ListProperty<MetaPKey,MetaColumn> |
MetaPKey.COLUMNS
DB columns |
static ListProperty<MetaIndex,MetaColumn> |
MetaIndex.COLUMNS
Table Columns |
static Property<MetaColumn,DbType> |
MetaColumn.DB_TYPE
Database Type |
static Property<MetaColumn,java.lang.String> |
MetaColumn.DEFAULT_VALUE
DB Default value |
static Property<MetaColumn,java.lang.String> |
MetaColumn.INDEX
A name of the non-unique database index for the column, where the same index can contain more columns. |
static Property<MetaColumn,java.lang.Boolean> |
MetaColumn.MANDATORY
Column NOT-NULL |
static Property<MetaColumn,java.lang.Integer> |
MetaColumn.MAX_LENGTH
Column value length |
static ListProperty<MetaProcedure,MetaColumn> |
MetaProcedure.PARAMETERS
Procedure parameters |
static Property<MetaColumn,java.lang.Integer> |
MetaColumn.PRECISION
Column value precision |
static Property<MetaColumn,java.lang.Boolean> |
MetaColumn.PRIMARY_KEY
DB primary key |
static Property<MetaColumn,java.lang.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.ujoframework.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 |
| Methods in org.ujoframework.orm.metaModel that return types with arguments of type MetaColumn | |
|---|---|
java.util.List<MetaColumn> |
MetaTable.getForeignColumns()
Get all foreign columns |
java.util.List<MetaColumn> |
MetaColumn.getForeignColumns()
Returns an original foreign columns in case a foreign column. |
| Methods in org.ujoframework.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.ujoframework.orm.metaModel with parameters of type MetaColumn | |
|---|---|
MetaColumn(MetaTable table,
UjoProperty tableProperty,
MetaColumn param)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||