|
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.KeyMetaData
public class KeyMetaData
An abstract metadata object that represents constraint types (primary and foreign keys).
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
private Collection<ColumnMetaData> |
columns
The name of the column(s) on which the key is defined. |
private int |
keySequence
A sequence number that indicates the sequence number with a key |
private TableMetaData |
table
A reference to the table in which this key belongs. |
| Constructor Summary | |
|---|---|
KeyMetaData()
|
|
| Method Summary | |
|---|---|
protected void |
addColumn(ColumnMetaData column)
Add the specified column to columns. |
Collection<ColumnMetaData> |
getColumns()
Returns columns. |
int |
getKeySequence()
Returns keySequence. |
TableMetaData |
getTable()
Returns table. |
protected void |
setColumns(Collection<ColumnMetaData> columns)
Set columns. |
protected void |
setKeySequence(int keySequence)
Set keySequence. |
protected void |
setTable(TableMetaData table)
Set table. |
| 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 Collection<ColumnMetaData> columns
TableTypeMetaData.getColumn(java.lang.String)private int keySequence
private TableMetaData table
| Constructor Detail |
|---|
public KeyMetaData()
| Method Detail |
|---|
public Collection<ColumnMetaData> getColumns()
columns.
protected void setColumns(Collection<ColumnMetaData> columns)
columns.
columns - The value to set.protected void addColumn(ColumnMetaData column)
columns.
column - The column to add.public int getKeySequence()
keySequence.
protected void setKeySequence(int keySequence)
keySequence.
keySequence - The value to set.public TableMetaData getTable()
table.
protected void setTable(TableMetaData table)
table.
table - The value to set.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||