Modifier and Type | Method and Description |
---|---|
String |
getColumn()
Accessor for the PK column name.
|
ColumnMetadata[] |
getColumns()
Accessor for all column(s) defined on the PK.
|
String |
getName()
Accessor for the name of the PK constraint.
|
int |
getNumberOfColumns()
Accessor for the number of columns defined for this PK.
|
ColumnMetadata |
newColumnMetadata()
Add a new column for this PK.
|
PrimaryKeyMetadata |
setColumn(String column)
Method to set the PK column name.
|
PrimaryKeyMetadata |
setName(String name)
Method to set the name of the PK constraint.
|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
PrimaryKeyMetadata setName(String name)
name
- Name of the PK constraintString getName()
PrimaryKeyMetadata setColumn(String column)
column
- Name of the PK columnString getColumn()
ColumnMetadata[] getColumns()
ColumnMetadata newColumnMetadata()
int getNumberOfColumns()
Copyright © 2005–1970 Apache Software Foundation. All rights reserved.