|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.rwt.MetaData
com.sptci.rwt.ObjectMetaData
com.sptci.rwt.TableTypeMetaData
com.sptci.rwt.TableMetaData
public class TableMetaData
A value object that represents metadata for tables.
© Copyright 2007 Sans Pareil Technologies, Inc.
DatabaseMetaData.getTables(java.lang.String, java.lang.String, java.lang.String, java.lang.String[]),
Serialized Form| Field Summary | |
|---|---|
private Collection<ForeignKeyMetaData> |
foreignKeys
The collection of foreign key columns for this table. |
private Collection<IndexMetaData> |
indices
The collection of foreign key columns for this table. |
private PrimaryKeyMetaData |
primaryKey
The collection of primary key columns for this table. |
private Collection<TriggerMetaData> |
triggers
The collection of triggers for this table. |
| Constructor Summary | |
|---|---|
TableMetaData()
|
|
| Methods inherited from class com.sptci.rwt.TableTypeMetaData |
|---|
getColumn, getColumns, getNumberOfRows, setColumns, setNumberOfRows |
| Methods inherited from class com.sptci.rwt.ObjectMetaData |
|---|
getCatalogue, getComment, getRoot, setCatalogue, setComment, setRoot |
| Methods inherited from class com.sptci.rwt.MetaData |
|---|
equals, getName, hashCode, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private PrimaryKeyMetaData primaryKey
private Collection<ForeignKeyMetaData> foreignKeys
private Collection<IndexMetaData> indices
private Collection<TriggerMetaData> triggers
| Constructor Detail |
|---|
public TableMetaData()
| Method Detail |
|---|
public PrimaryKeyMetaData getPrimaryKey()
primaryKey.
protected void setPrimaryKey(PrimaryKeyMetaData primaryKey)
primaryKey.
primaryKey - The value to set.public Collection<ForeignKeyMetaData> getForeignKeys()
foreignKeys.
protected void setForeignKeys(Collection<ForeignKeyMetaData> foreignKeys)
foreignKeys.
foreignKeys - The value to set.protected void addForeignKey(ForeignKeyMetaData foreignKey)
foreignKeys.
foreignKey - The value to add.protected void addForeignKeys(Collection<ForeignKeyMetaData> foreignKeys)
foreignKeys.
foreignKeys - The value to add.public Collection<IndexMetaData> getIndices()
indices.
protected void setIndices(Collection<IndexMetaData> indices)
indices.
indices - The value to set.protected void addIndex(IndexMetaData index)
indices.
index - The index that is to be added.protected void addIndices(Collection<IndexMetaData> indices)
indices.
indices - The indices that are to be added.public Collection<TriggerMetaData> getTriggers()
triggers.
protected void setTriggers(Collection<TriggerMetaData> triggers)
triggers.
triggers - The value to set.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||