|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.metamodel.source.annotations.attribute.ColumnValuesSourceImpl
public class ColumnValuesSourceImpl
| Constructor Summary | |
|---|---|
ColumnValuesSourceImpl(ColumnValues columnValues)
|
|
| Method Summary | |
|---|---|
String |
getCheckCondition()
Obtain the specified check constraint condition |
String |
getComment()
Obtain the specified SQL comment |
String |
getContainingTableName()
|
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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnValuesSourceImpl(ColumnValues columnValues)
| Method Detail |
|---|
public String getName()
ColumnSource
getName in interface ColumnSourcenull, in which case a naming strategy is applied.public boolean isNullable()
ColumnSource
isNullable in interface ColumnSourcetrue indicates it is nullable; false non-nullable.public String getDefaultValue()
ColumnSource
getDefaultValue in interface ColumnSourcepublic String getSqlType()
ColumnSource
getSqlType in interface ColumnSourcepublic Datatype getDatatype()
ColumnSource
getDatatype in interface ColumnSourcepublic Size getSize()
ColumnSource
getSize in interface ColumnSourcepublic boolean isUnique()
ColumnSource
isUnique in interface ColumnSourcetrue indicates it is unique; false non-unique.public String getComment()
ColumnSource
getComment in interface ColumnSourcepublic boolean isIncludedInInsert()
isIncludedInInsert in interface ColumnSourcepublic boolean isIncludedInUpdate()
isIncludedInUpdate in interface ColumnSourcepublic String getContainingTableName()
getContainingTableName in interface RelationalValueSourcepublic String getReadFragment()
ColumnSource
getReadFragment in interface ColumnSourcepublic String getWriteFragment()
ColumnSource
getWriteFragment in interface ColumnSourcepublic String getCheckCondition()
ColumnSource
getCheckCondition in interface ColumnSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||