Modifier and Type | Method and Description |
---|---|
ColumnMetadata[] |
getColumns()
Accessor for all column(s) defined on the index.
|
MemberMetadata[] |
getMembers()
Accessor for all member(s) defined on the index.
|
String |
getName()
Accessor for the index name.
|
int |
getNumberOfColumns()
Accessor for the number of columns defined for this index.
|
int |
getNumberOfMembers()
Accessor for the number of fields/properties defined for this index.
|
String |
getTable()
Accessor for the name of the table.
|
boolean |
getUnique()
Accessor for whether unique.
|
ColumnMetadata |
newColumn()
Add a new column for this index.
|
FieldMetadata |
newFieldMetadata(String name)
Add a new field for this index.
|
PropertyMetadata |
newPropertyMetadata(String name)
Add a new property for this index.
|
IndexMetadata |
setName(String name)
Method to set the name of the index.
|
IndexMetadata |
setTable(String table)
Method to set the table name.
|
IndexMetadata |
setUnique(boolean unique)
Method to set whether it is unique.
|
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
IndexMetadata setName(String name)
name
- Name of the indexString getName()
IndexMetadata setTable(String table)
table
- Table nameString getTable()
IndexMetadata setUnique(boolean unique)
unique
- Unique?boolean getUnique()
ColumnMetadata[] getColumns()
ColumnMetadata newColumn()
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.