public class JoinColumnMetadataImpl extends Object implements JoinColumnMetadata
JoinColumnMetadata.| Constructor and Description |
|---|
JoinColumnMetadataImpl(AbstractLocator locator,
javax.persistence.JoinColumn annotation) |
| Modifier and Type | Method and Description |
|---|---|
String |
getColumnDefinition()
Returns the raw column definition of the column.
|
AbstractLocator |
getLocator()
Returns the locator.
|
String |
getName()
Returns the name of the Bindable.
|
String |
getReferencedColumnName()
Returns the name of the referenced column of the join 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 JoinColumnMetadataImpl(AbstractLocator locator, javax.persistence.JoinColumn annotation)
locator - the locatorannotation - the annotationpublic String getColumnDefinition()
getColumnDefinition in interface BaseColumnMetadatapublic AbstractLocator getLocator()
getLocator in interface LocatableMatadatapublic String getName()
getName in interface BindableMetadatapublic String getReferencedColumnName()
getReferencedColumnName in interface JoinColumnMetadatapublic 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.