Modifier and Type | Method and Description |
---|---|
ColumnMetadata[] |
getColumns()
Accessor for all column(s) defined on the unique constraint.
|
Boolean |
getDeferred()
Accessor for whether deferred.
|
MemberMetadata[] |
getMembers()
Accessor for all fields/properties defined on the unique constraint.
|
String |
getName()
Accessor for the constraint name.
|
int |
getNumberOfColumns()
Accessor for the number of columns defined for this unique constraint.
|
int |
getNumberOfMembers()
Accessor for the number of fields/properties defined for this unique constraint.
|
String |
getTable()
Accessor for the name of the table.
|
ColumnMetadata |
newColumnMetadata()
Add a new column for this unique constraint.
|
FieldMetadata |
newFieldMetadata(String name)
Add a new field for this unique constraint.
|
PropertyMetadata |
newPropertyMetadata(String name)
Add a new property for this unique constraint.
|
UniqueMetadata |
setDeferred(boolean def)
Method to set whether the constraint is deferred.
|
UniqueMetadata |
setName(String name)
Method to set the name of the constraint.
|
UniqueMetadata |
setTable(String table)
Method to set the table name.
|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
UniqueMetadata setName(String name)
name
- Name of the constraintString getName()
UniqueMetadata setTable(String table)
table
- Table nameString getTable()
UniqueMetadata setDeferred(boolean def)
def
- Deferred?Boolean getDeferred()
ColumnMetadata[] getColumns()
ColumnMetadata newColumnMetadata()
int getNumberOfColumns()
MemberMetadata[] getMembers()
int getNumberOfMembers()
FieldMetadata newFieldMetadata(String name)
name
- Name of the fieldPropertyMetadata newPropertyMetadata(String name)
name
- Name of the propertyCopyright © 2005–1970 Apache Software Foundation. All rights reserved.