|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.common.jdbc.model.spi.CoreMetaDataBean
org.jboss.dna.common.jdbc.model.spi.DatabaseNamedObjectBean
org.jboss.dna.common.jdbc.model.spi.SchemaObjectBean
org.jboss.dna.common.jdbc.model.spi.PrimaryKeyBean
public class PrimaryKeyBean

Provides database table's primary key specific metadata.
| Constructor Summary | |
|---|---|
PrimaryKeyBean()
Default constructor |
|
| Method Summary | |
|---|---|
void |
addColumn(PrimaryKeyColumn primaryKeyColumn)
Adds PrimaryKeyColumn |
void |
deleteColumn(PrimaryKeyColumn primaryKeyColumn)
deletes PrimaryKeyColumn |
PrimaryKeyColumn |
findColumnByName(String columnName)
Returns table column for specified column name or null |
Set<PrimaryKeyColumn> |
getColumns()
Retrieves primary key columns |
| Methods inherited from class org.jboss.dna.common.jdbc.model.spi.SchemaObjectBean |
|---|
getCatalog, getSchema, setCatalog, setSchema |
| Methods inherited from class org.jboss.dna.common.jdbc.model.spi.DatabaseNamedObjectBean |
|---|
addExtraProperty, deleteExtraProperty, getExtraProperties, getExtraProperty, getName, getRemarks, setName, setRemarks |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.dna.common.jdbc.model.api.SchemaObject |
|---|
getCatalog, getSchema, setCatalog, setSchema |
| Methods inherited from interface org.jboss.dna.common.jdbc.model.api.DatabaseNamedObject |
|---|
addExtraProperty, deleteExtraProperty, getExtraProperties, getExtraProperty, getName, getRemarks, setName, setRemarks |
| Constructor Detail |
|---|
public PrimaryKeyBean()
| Method Detail |
|---|
public Set<PrimaryKeyColumn> getColumns()
getColumns in interface PrimaryKeypublic void addColumn(PrimaryKeyColumn primaryKeyColumn)
addColumn in interface PrimaryKeyprimaryKeyColumn - the PrimaryKeyColumnpublic void deleteColumn(PrimaryKeyColumn primaryKeyColumn)
deleteColumn in interface PrimaryKeyprimaryKeyColumn - the PrimaryKeyColumnpublic PrimaryKeyColumn findColumnByName(String columnName)
findColumnByName in interface PrimaryKeycolumnName - the name of column
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||