|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ontimize.db.sql.SQLTable
com.ontimize.db.sql.SQLTableCreation
| Field Summary | |
protected java.util.List |
columns
The list of SQLColum with the columns that are going to be applied in the creation of the table |
protected java.util.List |
constraints
The list of SQLConstraint with the constraints that are going to be applied in the creation of the table |
| Fields inherited from class com.ontimize.db.sql.SQLTable |
tableName |
| Constructor Summary | |
SQLTableCreation(java.lang.String tableName,
java.util.List columns,
java.util.List constraints)
Creates a new SQLTableCreation indicating the name of the constraint and the columns in
where the constraint is applied. |
|
| Method Summary | |
void |
addColumn(SQLColumn column)
Adds a new column to the collection of columns of the database table. |
void |
addConstraints(SQLConstraint constraint)
Adds a new constraint to the collection of constraints of the database table. |
java.util.List |
getColumns()
Returns a list with all columns of the database table. |
java.util.List |
getConstraints()
Returns a list with all constraints that affect to the database table. |
java.lang.String |
getCreateTableInstruction()
This method returns the starting of the SQL statement of Create Table. |
| Methods inherited from class com.ontimize.db.sql.SQLTable |
getTableName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.List columns
SQLColum with the columns that are going to be applied in the creation of the table
protected java.util.List constraints
SQLConstraint with the constraints that are going to be applied in the creation of the table
| Constructor Detail |
public SQLTableCreation(java.lang.String tableName,
java.util.List columns,
java.util.List constraints)
SQLTableCreation indicating the name of the constraint and the columns in
where the constraint is applied.
tableName - The name of the tablecolumns - The list of columns that are going to be applied in the creation of the tableconstraints - The list of constraints that are going to be applied in the creation of the table| Method Detail |
public java.util.List getConstraints()
List with the constraints.public java.util.List getColumns()
List with the columnspublic void addConstraints(SQLConstraint constraint)
constraint - The constraint to be added.public void addColumn(SQLColumn column)
column - The column to be added.public java.lang.String getCreateTableInstruction()
String whit the statement.
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||