java.lang.Object
org.enableit.db.darrt.schema.Index
- All Implemented Interfaces:
- java.io.Serializable
- public class Index
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision: 1.3 $ $Date: 2003/01/06 10:34:57 $
|
Constructor Summary |
Index()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_tableName
private java.lang.String _tableName
_name
private java.lang.String _name
_type
private java.lang.String _type
_unique
private java.lang.String _unique
_colNameList
private java.util.Vector _colNameList
Index
public Index()
addColName
public void addColName(java.lang.String vColName)
throws java.lang.IndexOutOfBoundsException
addColName
public void addColName(int index,
java.lang.String vColName)
throws java.lang.IndexOutOfBoundsException
enumerateColName
public java.util.Enumeration enumerateColName()
getColName
public java.lang.String getColName(int index)
throws java.lang.IndexOutOfBoundsException
getColName
public java.lang.String[] getColName()
getColNameCount
public int getColNameCount()
getName
public java.lang.String getName()
- Returns the value of field 'name'.
getTableName
public java.lang.String getTableName()
- Returns the value of field 'tableName'.
getType
public java.lang.String getType()
- Returns the value of field 'type'.
getUnique
public java.lang.String getUnique()
- Returns the value of field 'unique'.
isValid
public boolean isValid()
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
marshal
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
removeAllColName
public void removeAllColName()
removeColName
public java.lang.String removeColName(int index)
setColName
public void setColName(int index,
java.lang.String vColName)
throws java.lang.IndexOutOfBoundsException
setColName
public void setColName(java.lang.String[] colNameArray)
setName
public void setName(java.lang.String name)
- Sets the value of field 'name'.
setTableName
public void setTableName(java.lang.String tableName)
- Sets the value of field 'tableName'.
setType
public void setType(java.lang.String type)
- Sets the value of field 'type'.
setUnique
public void setUnique(java.lang.String unique)
- Sets the value of field 'unique'.
unmarshal
public static Index unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
validate
public void validate()
throws org.exolab.castor.xml.ValidationException