public class ColumnValuesSourceImpl extends Object implements ColumnSource
| Constructor and Description | 
|---|
ColumnValuesSourceImpl(ColumnValues columnValues)  | 
| Modifier and Type | Method and Description | 
|---|---|
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? 
 | 
public ColumnValuesSourceImpl(ColumnValues columnValues)
public String getName()
ColumnSourcegetName in interface ColumnSourcenull, in which case a naming strategy is applied.public boolean isNullable()
ColumnSourceisNullable in interface ColumnSourcetrue indicates it is nullable; false non-nullable.public String getDefaultValue()
ColumnSourcegetDefaultValue in interface ColumnSourcepublic String getSqlType()
ColumnSourcegetSqlType in interface ColumnSourcepublic Datatype getDatatype()
ColumnSourcegetDatatype in interface ColumnSourcepublic Size getSize()
ColumnSourcegetSize in interface ColumnSourcepublic boolean isUnique()
ColumnSourceisUnique in interface ColumnSourcetrue indicates it is unique; false non-unique.public String getComment()
ColumnSourcegetComment in interface ColumnSourcepublic boolean isIncludedInInsert()
isIncludedInInsert in interface ColumnSourcepublic boolean isIncludedInUpdate()
isIncludedInUpdate in interface ColumnSourcepublic String getContainingTableName()
getContainingTableName in interface RelationalValueSourcepublic String getReadFragment()
ColumnSourcegetReadFragment in interface ColumnSourcepublic String getWriteFragment()
ColumnSourcegetWriteFragment in interface ColumnSourcepublic String getCheckCondition()
ColumnSourcegetCheckCondition in interface ColumnSourceCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.