|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.enableit.db.beans.Index
| Constructor Summary | |
Index()
|
|
| Method Summary | |
void |
addColName(int index,
java.lang.String vColName)
|
void |
addColName(java.lang.String vColName)
|
java.util.Enumeration |
enumerateColName()
|
java.lang.String[] |
getColName()
|
java.lang.String |
getColName(int index)
|
int |
getColNameCount()
|
java.lang.String |
getName()
Returns the value of field 'name'. |
java.lang.String |
getTableName()
Returns the value of field 'tableName'. |
java.lang.String |
getType()
Returns the value of field 'type'. |
java.lang.String |
getUnique()
Returns the value of field 'unique'. |
boolean |
isValid()
|
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllColName()
|
java.lang.String |
removeColName(int index)
|
void |
setColName(int index,
java.lang.String vColName)
|
void |
setColName(java.lang.String[] colNameArray)
|
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setTableName(java.lang.String tableName)
Sets the value of field 'tableName'. |
void |
setType(java.lang.String type)
Sets the value of field 'type'. |
void |
setUnique(java.lang.String unique)
Sets the value of field 'unique'. |
static org.enableit.db.beans.Index |
unmarshal(java.io.Reader reader)
|
void |
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 addColName(java.lang.String vColName)
throws java.lang.IndexOutOfBoundsException
vColName -
java.lang.IndexOutOfBoundsException
public void addColName(int index,
java.lang.String vColName)
throws java.lang.IndexOutOfBoundsException
index - vColName -
java.lang.IndexOutOfBoundsExceptionpublic java.util.Enumeration enumerateColName()
public java.lang.String getColName(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic java.lang.String[] getColName()
public int getColNameCount()
public java.lang.String getName()
public java.lang.String getTableName()
public java.lang.String getType()
public java.lang.String getUnique()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic void removeAllColName()
public java.lang.String removeColName(int index)
index -
public void setColName(int index,
java.lang.String vColName)
throws java.lang.IndexOutOfBoundsException
index - vColName -
java.lang.IndexOutOfBoundsExceptionpublic void setColName(java.lang.String[] colNameArray)
colNameArray - public void setName(java.lang.String name)
name - the value of field 'name'.public void setTableName(java.lang.String tableName)
tableName - the value of field 'tableName'.public void setType(java.lang.String type)
type - the value of field 'type'.public void setUnique(java.lang.String unique)
unique - the value of field 'unique'.
public static org.enableit.db.beans.Index unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||