|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.turbine.torque.engine.database.model.Unique
A Class for information about unique indices of a table
Field Summary | |
private java.util.List |
indexColumns
|
private java.lang.String |
indexName
|
private Table |
parentTable
|
Constructor Summary | |
Unique()
Default Constructor |
Method Summary | |
void |
addColumn(org.xml.sax.Attributes attrib)
adds a new column to an index |
java.lang.String |
getColumnList()
Return a comma delimited string of the index columns |
java.util.List |
getIndexColumns()
Return the vector of local columns. |
Table |
getTable()
Get the parent Table of the foreign key |
java.lang.String |
getTableName()
Returns the Name of the table the foreign key is in |
private java.lang.String |
makeColumnList(java.util.List cols)
Creates a list of columns delimited by commas |
void |
setTable(Table parent)
Set the parent Table of the foreign key |
java.lang.String |
toString()
String representation of the index. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.lang.String indexName
private Table parentTable
private java.util.List indexColumns
Constructor Detail |
public Unique()
Method Detail |
public void setTable(Table parent)
public Table getTable()
public java.lang.String getTableName()
public void addColumn(org.xml.sax.Attributes attrib)
private java.lang.String makeColumnList(java.util.List cols)
public java.lang.String getColumnList()
public java.util.List getIndexColumns()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |