|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyMetadata
Represents a key in a map.
Method Summary | |
---|---|
java.lang.String |
getColumn()
Accessor for the name of the column. |
ColumnMetadata[] |
getColumns()
Accessor for all column(s) defined on the key. |
ForeignKeyAction |
getDeleteAction()
Accessor for the delete action of the FK |
EmbeddedMetadata |
getEmbeddedMetadata()
Accessor for any embedded metadata on this key |
ForeignKeyMetadata |
getForeignKeyMetadata()
Accessor for any foreign key metadata on this key. |
IndexMetadata |
getIndexMetadata()
Accessor for any index metadata on this key |
int |
getNumberOfColumns()
Accessor for the number of columns defined for this key. |
java.lang.String |
getTable()
Accessor for the name of the table. |
UniqueMetadata |
getUniqueMetadata()
Accessor for any unique constraint metadata on this key. |
ForeignKeyAction |
getUpdateAction()
Accessor for the update action of the FK |
ColumnMetadata |
newColumnMetadata()
Add a new column for this key. |
EmbeddedMetadata |
newEmbeddedMetadata()
Method to set new embedded metadata for the key. |
ForeignKeyMetadata |
newForeignKeyMetadata()
Method to set new foreign key metadata for the key |
IndexMetadata |
newIndexMetadata()
Method to set new index metadata for the key. |
UniqueMetadata |
newUniqueMetadata()
Method to set new unique constraint metadata for the key |
KeyMetadata |
setColumn(java.lang.String column)
Method to set the column name. |
KeyMetadata |
setDeleteAction(ForeignKeyAction action)
Method to set the delete action of the FK |
KeyMetadata |
setTable(java.lang.String table)
Method to set the table name. |
KeyMetadata |
setUpdateAction(ForeignKeyAction action)
Method to set the update action of the FK |
Methods inherited from interface javax.jdo.metadata.Metadata |
---|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata |
Method Detail |
---|
KeyMetadata setColumn(java.lang.String column)
column
- Column namejava.lang.String getColumn()
KeyMetadata setTable(java.lang.String table)
table
- Table namejava.lang.String getTable()
KeyMetadata setDeleteAction(ForeignKeyAction action)
action
- Delete action of the FKForeignKeyAction getDeleteAction()
KeyMetadata 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |