|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ColumnSource
Contract for source information pertaining to a column definition.
Method Summary | |
---|---|
String |
getCheckCondition()
Obtain the specified check constraint condition |
String |
getComment()
Obtain the specified SQL comment |
Datatype |
getDatatype()
The deduced (and dialect convertible) type for this column |
String |
getDefaultValue()
Obtain a specified default value for the column |
String |
getName()
Obtain the name of the column. |
String |
getReadFragment()
A SQL fragment to apply to the column value on read. |
Size |
getSize()
Obtain the specified column size. |
String |
getSqlType()
Obtain the free-hand definition of the column's type. |
String |
getWriteFragment()
A SQL fragment to apply to the column value on write. |
boolean |
isIncludedInInsert()
|
boolean |
isIncludedInUpdate()
|
boolean |
isNullable()
Is this column nullable? |
boolean |
isUnique()
Is this column unique? |
Methods inherited from interface org.hibernate.metamodel.source.binder.RelationalValueSource |
---|
getContainingTableName |
Method Detail |
---|
String getName()
null
, in which case a naming strategy is applied.String getReadFragment()
String getWriteFragment()
boolean isNullable()
true
indicates it is nullable; false
non-nullable.String getDefaultValue()
String getSqlType()
Datatype getDatatype()
Size getSize()
boolean isUnique()
true
indicates it is unique; false
non-unique.String getCheckCondition()
String getComment()
boolean isIncludedInInsert()
boolean isIncludedInUpdate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |