|
||||||||||
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.Index
A Class for information about indices of a table
Field Summary | |
private java.util.List |
indexColumns
Deprecated. |
private java.lang.String |
indexName
Deprecated. |
private boolean |
isUnique
Deprecated. |
private Table |
parentTable
Deprecated. |
Constructor Summary | |
Index()
Deprecated. Default Constructor |
Method Summary | |
void |
addColumn(org.xml.sax.AttributeList attrib)
Deprecated. adds a new column to an index |
java.lang.String |
getIndexColumnList()
Deprecated. Return a comma delimited string of the index columns |
java.util.List |
getIndexColumns()
Deprecated. Return the vector of local columns. |
java.lang.String |
getIndexName()
Deprecated. Get the name of the index |
boolean |
getIsUnique()
Deprecated. Get unique attribute of the index |
Table |
getTable()
Deprecated. Get the parent Table of the index |
java.lang.String |
getTableName()
Deprecated. Returns the Name of the table the index is in |
void |
loadFromXML(org.xml.sax.AttributeList attrib)
Deprecated. Imports index from an XML specification |
private java.lang.String |
makeColumnList(java.util.List cols)
Deprecated. Creates a list of columns delimited by commas |
void |
setIndexName(java.lang.String indexName)
Deprecated. Set the name of the index |
void |
setTable(Table parent)
Deprecated. Set the parent Table of the index |
java.lang.String |
toString()
Deprecated. 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
private boolean isUnique
Constructor Detail |
public Index()
Method Detail |
public void loadFromXML(org.xml.sax.AttributeList attrib)
public boolean getIsUnique()
public java.lang.String getIndexName()
public void setIndexName(java.lang.String indexName)
public void setTable(Table parent)
public Table getTable()
public java.lang.String getTableName()
public void addColumn(org.xml.sax.AttributeList attrib)
private java.lang.String makeColumnList(java.util.List cols)
public java.lang.String getIndexColumnList()
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 |