public interface ColumnDefinition extends TableElement
TableDefinition| Modifier and Type | Method and Description |
|---|---|
AutoGenerationPolicy |
getAutoGenerationPolicy()
Returns the auto generation policy for this column.
|
String |
getColumnName()
Returns the name of this column.
|
SQLDataType |
getDataType()
Returns the data type of this column.
|
String |
getDefault()
Returns the default clause for this column.
|
Boolean |
mayBeNull()
Returns
true if this column may have NULL values, otherwise (when NOT NULL constraints is
present) returns false. |
String getColumnName()
SQLDataType getDataType()
String getDefault()
null if no default value is defined.null if no default value is defined.Boolean mayBeNull()
true if this column may have NULL values, otherwise (when NOT NULL constraints is
present) returns false.true if this column may have NULL values; false otherwise.AutoGenerationPolicy getAutoGenerationPolicy()
null if no auto generation policy exists for
this column.null if the column is not auto-generated.Copyright © 2010-2012. All Rights Reserved.