|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enableit.db.beans.Table
Constructor Summary | |
Table()
|
Method Summary | |
void |
addColumn(org.enableit.db.beans.Column vColumn)
|
void |
addColumn(int index,
org.enableit.db.beans.Column vColumn)
|
void |
addIndex(org.enableit.db.beans.Index vIndex)
|
void |
addIndex(int index,
org.enableit.db.beans.Index vIndex)
|
java.util.Enumeration |
enumerateColumn()
|
java.util.Enumeration |
enumerateIndex()
|
org.enableit.db.beans.Column[] |
getColumn()
|
org.enableit.db.beans.Column |
getColumn(int index)
|
int |
getColumnCount()
|
org.enableit.db.beans.Index[] |
getIndex()
|
org.enableit.db.beans.Index |
getIndex(int index)
|
int |
getIndexCount()
|
java.lang.String |
getName()
Returns the value of field 'name'. |
java.lang.String |
getType()
Returns the value of field 'type'. |
boolean |
isValid()
|
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllColumn()
|
void |
removeAllIndex()
|
org.enableit.db.beans.Column |
removeColumn(int index)
|
org.enableit.db.beans.Index |
removeIndex(int index)
|
void |
setColumn(org.enableit.db.beans.Column[] columnArray)
|
void |
setColumn(int index,
org.enableit.db.beans.Column vColumn)
|
void |
setIndex(org.enableit.db.beans.Index[] indexArray)
|
void |
setIndex(int index,
org.enableit.db.beans.Index vIndex)
|
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setType(java.lang.String type)
Sets the value of field 'type'. |
static org.enableit.db.beans.Table |
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 Table()
Method Detail |
public void addColumn(org.enableit.db.beans.Column vColumn) throws java.lang.IndexOutOfBoundsException
vColumn
-
java.lang.IndexOutOfBoundsException
public void addColumn(int index, org.enableit.db.beans.Column vColumn) throws java.lang.IndexOutOfBoundsException
index
- vColumn
-
java.lang.IndexOutOfBoundsException
public void addIndex(org.enableit.db.beans.Index vIndex) throws java.lang.IndexOutOfBoundsException
vIndex
-
java.lang.IndexOutOfBoundsException
public void addIndex(int index, org.enableit.db.beans.Index vIndex) throws java.lang.IndexOutOfBoundsException
index
- vIndex
-
java.lang.IndexOutOfBoundsException
public java.util.Enumeration enumerateColumn()
public java.util.Enumeration enumerateIndex()
public org.enableit.db.beans.Column getColumn(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public org.enableit.db.beans.Column[] getColumn()
public int getColumnCount()
public org.enableit.db.beans.Index getIndex(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public org.enableit.db.beans.Index[] getIndex()
public int getIndexCount()
public java.lang.String getName()
public java.lang.String getType()
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.ValidationException
public void removeAllColumn()
public void removeAllIndex()
public org.enableit.db.beans.Column removeColumn(int index)
index
- public org.enableit.db.beans.Index removeIndex(int index)
index
- public void setColumn(int index, org.enableit.db.beans.Column vColumn) throws java.lang.IndexOutOfBoundsException
index
- vColumn
-
java.lang.IndexOutOfBoundsException
public void setColumn(org.enableit.db.beans.Column[] columnArray)
columnArray
- public void setIndex(int index, org.enableit.db.beans.Index vIndex) throws java.lang.IndexOutOfBoundsException
index
- vIndex
-
java.lang.IndexOutOfBoundsException
public void setIndex(org.enableit.db.beans.Index[] indexArray)
indexArray
- public void setName(java.lang.String name)
name
- the value of field 'name'.public void setType(java.lang.String type)
type
- the value of field 'type'.public static org.enableit.db.beans.Table 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 |