Modifier and Type | Method and Description |
---|---|
String |
getColumn()
Accessor for the name of the column.
|
ColumnMetadata[] |
getColumns()
Accessor for all column(s) defined on the element.
|
ForeignKeyAction |
getDeleteAction()
Accessor for the delete action of the FK
|
EmbeddedMetadata |
getEmbeddedMetadata()
Accessor for any embedded metadata on this element
|
ForeignKeyMetadata |
getForeignKeyMetadata()
Accessor for any foreign key metadata on this element.
|
IndexMetadata |
getIndexMetadata()
Accessor for any index metadata on this element
|
int |
getNumberOfColumns()
Accessor for the number of columns defined for this element.
|
String |
getTable()
Accessor for the name of the table.
|
UniqueMetadata |
getUniqueMetadata()
Accessor for any unique constraint metadata on this element.
|
ForeignKeyAction |
getUpdateAction()
Accessor for the update action of the FK
|
ColumnMetadata |
newColumnMetadata()
Add a new column for this element.
|
EmbeddedMetadata |
newEmbeddedMetadata()
Method to set new embedded metadata for the element.
|
ForeignKeyMetadata |
newForeignKeyMetadata()
Method to set new foreign key metadata for the element
|
IndexMetadata |
newIndexMetadata()
Method to set new index metadata for the element.
|
UniqueMetadata |
newUniqueMetadata()
Method to set new unique constraint metadata for the element
|
ElementMetadata |
setColumn(String column)
Method to set the column name.
|
ElementMetadata |
setDeleteAction(ForeignKeyAction action)
Method to set the delete action of the FK
|
ElementMetadata |
setTable(String table)
Method to set the table name.
|
ElementMetadata |
setUpdateAction(ForeignKeyAction action)
Method to set the update action of the FK
|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
ElementMetadata setColumn(String column)
column
- Column nameString getColumn()
ElementMetadata setTable(String table)
table
- Table nameString getTable()
ElementMetadata setDeleteAction(ForeignKeyAction action)
action
- Delete action of the FKForeignKeyAction getDeleteAction()
ElementMetadata setUpdateAction(ForeignKeyAction action)
action
- Update action of the FKForeignKeyAction getUpdateAction()
ColumnMetadata[] getColumns()
ColumnMetadata newColumnMetadata()
int getNumberOfColumns()
EmbeddedMetadata newEmbeddedMetadata()
EmbeddedMetadata getEmbeddedMetadata()
IndexMetadata newIndexMetadata()
IndexMetadata getIndexMetadata()
UniqueMetadata newUniqueMetadata()
UniqueMetadata getUniqueMetadata()
ForeignKeyMetadata newForeignKeyMetadata()
ForeignKeyMetadata getForeignKeyMetadata()
Copyright © 2005–2015 Apache Software Foundation. All rights reserved.