|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the return type of the builder methodspublic interface ColumnBuilder<T extends ColumnBuilder<?>>
Abstract interface for components that build columns. Defines methods for refining particular properties of the column build.
| Method Summary | |
|---|---|
T |
asPrimaryKey()
Defines that the created column should be a primary key |
T |
like(Column column)
Builds several properties of a column, based on another Column
object as a prototype. |
T |
nullable(boolean nullable)
Defines if the created column should be nullable or not. |
T |
ofNativeType(String nativeType)
Defines the native type of the created column (useful especially for SQL based DataContexts). |
T |
ofSize(int size)
Defines the size of the created column. |
T |
ofType(ColumnType type)
Defines the ColumnType of the created column. |
| Method Detail |
|---|
T like(Column column)
Column
object as a prototype.
column - a prototype for the column being built.
T ofType(ColumnType type)
ColumnType of the created column.
type - the column type of the created column.
T ofNativeType(String nativeType)
DataContexts).
nativeType - the native type of the created column
T ofSize(int size)
size - the size of the created column.
T nullable(boolean nullable)
nullable - if the created column should be nullable or not.
T asPrimaryKey()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||