public class ColumnMetadataImpl extends Object implements ColumnMetadata
ColumnMetadata.| Constructor and Description |
|---|
ColumnMetadataImpl(AbstractLocator locator,
javax.persistence.Column annotation) |
ColumnMetadataImpl(AbstractLocator locator,
javax.persistence.MapKeyColumn annotation) |
ColumnMetadataImpl(AbstractLocator locator,
javax.persistence.OrderColumn annotation) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnDefinition()
Returns the raw column definition of the column.
|
int |
getLength()
Returns the length of the column.
|
AbstractLocator |
getLocator()
Returns the locator.
|
String |
getName()
Returns the name of the Bindable.
|
int |
getPrecision()
Returns the precision of the column.
|
int |
getScale()
Returns the scale of the column.
|
String |
getTable()
Returns the table of the column.
|
boolean |
isInsertable()
Returns if the column is insertable.
|
boolean |
isNullable()
Returns if the column is nullable.
|
boolean |
isUnique()
Returns if the column is unique.
|
boolean |
isUpdatable()
Returns if the column is updatable.
|
public ColumnMetadataImpl(AbstractLocator locator, javax.persistence.Column annotation)
locator - the java locatorannotation - the annotationpublic ColumnMetadataImpl(AbstractLocator locator, javax.persistence.MapKeyColumn annotation)
locator - the java locatorannotation - the annotationpublic ColumnMetadataImpl(AbstractLocator locator, javax.persistence.OrderColumn annotation)
locator - the java locatorannotation - the annotationpublic String getColumnDefinition()
getColumnDefinition in interface BaseColumnMetadatapublic int getLength()
getLength in interface ColumnMetadatapublic AbstractLocator getLocator()
getLocator in interface LocatableMatadatapublic String getName()
getName in interface BindableMetadatapublic int getPrecision()
getPrecision in interface ColumnMetadatapublic int getScale()
getScale in interface ColumnMetadatapublic String getTable()
getTable in interface BaseColumnMetadatapublic boolean isInsertable()
isInsertable in interface BaseColumnMetadatapublic boolean isNullable()
isNullable in interface BaseColumnMetadatapublic boolean isUnique()
isUnique in interface BaseColumnMetadatapublic boolean isUpdatable()
isUpdatable in interface BaseColumnMetadataCopyright © 2012-2013 Batoo. All Rights Reserved.