|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.filter.DatabaseSchema
public class DatabaseSchema
Top-level element for the database-schema.xml configuration file.
| Constructor Summary | |
|---|---|
DatabaseSchema()
|
|
| Method Summary | |
|---|---|
void |
addTable(int index,
Table vTable)
Method addTable |
void |
addTable(Table vTable)
Method addTable |
void |
clearTable()
Method clearTable |
java.util.Enumeration |
enumerateTable()
Method enumerateTable |
Table[] |
getTable()
Method getTable |
Table |
getTable(int index)
Method getTable |
java.util.ArrayList |
getTableCollection()
Method getTableCollection Returns a reference to 'table'. |
int |
getTableCount()
Method getTableCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeTable(Table vTable)
Method removeTable |
void |
setTable(java.util.ArrayList tableCollection)
Method setTable Sets the value of 'table' by copying the given ArrayList. |
void |
setTable(int index,
Table vTable)
Method setTable |
void |
setTable(Table[] tableArray)
Method setTable |
void |
setTableCollection(java.util.ArrayList tableCollection)
Method setTableCollection Sets the value of 'table' by setting it to the given ArrayList. |
static java.lang.Object |
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 DatabaseSchema()
| Method Detail |
|---|
public void addTable(Table vTable)
throws java.lang.IndexOutOfBoundsException
vTable -
java.lang.IndexOutOfBoundsException
public void addTable(int index,
Table vTable)
throws java.lang.IndexOutOfBoundsException
index - vTable -
java.lang.IndexOutOfBoundsExceptionpublic void clearTable()
public java.util.Enumeration enumerateTable()
public Table getTable(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Table[] getTable()
public java.util.ArrayList getTableCollection()
public int getTableCount()
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 boolean removeTable(Table vTable)
vTable -
public void setTable(int index,
Table vTable)
throws java.lang.IndexOutOfBoundsException
index - vTable -
java.lang.IndexOutOfBoundsExceptionpublic void setTable(Table[] tableArray)
tableArray - public void setTable(java.util.ArrayList tableCollection)
tableCollection - the Vector to copy.public void setTableCollection(java.util.ArrayList tableCollection)
tableCollection - the ArrayList to copy.
public static java.lang.Object 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 | ||||||||