|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.jms.tools.db.Index
This element specifies an index on a table
| Constructor Summary | |
Index()
|
|
| Method Summary | |
void |
addColumn(Column vColumn)
Method addColumn |
void |
addColumn(int index,
Column vColumn)
Method addColumn |
void |
clearColumn()
Method clearColumn |
void |
deleteUnique()
Method deleteUnique |
java.util.Enumeration |
enumerateColumn()
Method enumerateColumn |
Column[] |
getColumn()
Method getColumn |
Column |
getColumn(int index)
Method getColumn |
int |
getColumnCount()
Method getColumnCount |
java.lang.String |
getName()
Returns the value of field 'name'. |
boolean |
getUnique()
Returns the value of field 'unique'. |
boolean |
hasUnique()
Method hasUnique |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeColumn(Column vColumn)
Method removeColumn |
void |
setColumn(Column[] columnArray)
Method setColumn |
void |
setColumn(int index,
Column vColumn)
Method setColumn |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setUnique(boolean unique)
Sets the value of field 'unique'. |
static Index |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Index()
| Method Detail |
public void addColumn(Column vColumn)
throws java.lang.IndexOutOfBoundsException
vColumn -
public void addColumn(int index,
Column vColumn)
throws java.lang.IndexOutOfBoundsException
index - vColumn - public void clearColumn()
public void deleteUnique()
public java.util.Enumeration enumerateColumn()
public Column getColumn(int index)
throws java.lang.IndexOutOfBoundsException
index - public Column[] getColumn()
public int getColumnCount()
public java.lang.String getName()
public boolean getUnique()
public boolean hasUnique()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler - public boolean removeColumn(Column vColumn)
vColumn -
public void setColumn(int index,
Column vColumn)
throws java.lang.IndexOutOfBoundsException
index - vColumn - public void setColumn(Column[] columnArray)
columnArray - public void setName(java.lang.String name)
name - the value of field 'name'.public void setUnique(boolean unique)
unique - the value of field 'unique'.
public static Index unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
public void validate()
throws org.exolab.castor.xml.ValidationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||