|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ColumnSource
null
, in which case a naming strategy is applied.public boolean isNullable()
ColumnSource
isNullable
in interface ColumnSource
true
indicates it is nullable; false
non-nullable.public String getDefaultValue()
ColumnSource
getDefaultValue
in interface ColumnSource
public String getSqlType()
ColumnSource
getSqlType
in interface ColumnSource
public Datatype getDatatype()
ColumnSource
getDatatype
in interface ColumnSource
public Size getSize()
ColumnSource
getSize
in interface ColumnSource
public boolean isUnique()
ColumnSource
isUnique
in interface ColumnSource
true
indicates it is unique; false
non-unique.public String getComment()
ColumnSource
getComment
in interface ColumnSource
public boolean isIncludedInInsert()
isIncludedInInsert
in interface ColumnSource
public boolean isIncludedInUpdate()
isIncludedInUpdate
in interface ColumnSource
public String getContainingTableName()
getContainingTableName
in interface RelationalValueSource
public String getReadFragment()
ColumnSource
getReadFragment
in interface ColumnSource
public String getWriteFragment()
ColumnSource
getWriteFragment
in interface ColumnSource
public String getCheckCondition()
ColumnSource
getCheckCondition
in interface ColumnSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |