org.exolab.jms.tools.db
Class Database

java.lang.Object
  |
  +--org.exolab.jms.tools.db.Database
All Implemented Interfaces:
java.io.Serializable

public synchronized class Database
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Database()
           
 
Method Summary
 void addDeprecated(Deprecated)
           
 void addDeprecated(int, Deprecated)
           
 void addTable(int, Table)
           
 void addTable(Table)
           
 void clearDeprecated()
           
 void clearTable()
           
 java.util.Enumeration enumerateDeprecated()
           
 java.util.Enumeration enumerateTable()
           
 Deprecated[] getDeprecated()
           
 Deprecated getDeprecated(int)
           
 int getDeprecatedCount()
           
 Table[] getTable()
           
 Table getTable(int)
           
 int getTableCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler)
           
 void marshal(java.io.Writer)
           
 boolean removeDeprecated(Deprecated)
           
 boolean removeTable(Table)
           
 void setDeprecated(Deprecated[])
           
 void setDeprecated(int, Deprecated)
           
 void setTable(int, Table)
           
 void setTable(Table[])
           
static Database unmarshal(java.io.Reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Database

public Database()
Method Detail

addDeprecated

public void addDeprecated(Deprecated)
                   throws java.lang.IndexOutOfBoundsException

addDeprecated

public void addDeprecated(int,
                          Deprecated)
                   throws java.lang.IndexOutOfBoundsException

addTable

public void addTable(Table)
              throws java.lang.IndexOutOfBoundsException

addTable

public void addTable(int,
                     Table)
              throws java.lang.IndexOutOfBoundsException

clearDeprecated

public void clearDeprecated()

clearTable

public void clearTable()

enumerateDeprecated

public java.util.Enumeration enumerateDeprecated()

enumerateTable

public java.util.Enumeration enumerateTable()

getDeprecated

public Deprecated getDeprecated(int)
                         throws java.lang.IndexOutOfBoundsException

getDeprecated

public Deprecated[] getDeprecated()

getDeprecatedCount

public int getDeprecatedCount()

getTable

public Table getTable(int)
               throws java.lang.IndexOutOfBoundsException

getTable

public Table[] getTable()

getTableCount

public int getTableCount()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException

removeDeprecated

public boolean removeDeprecated(Deprecated)

removeTable

public boolean removeTable(Table)

setDeprecated

public void setDeprecated(int,
                          Deprecated)
                   throws java.lang.IndexOutOfBoundsException

setDeprecated

public void setDeprecated(Deprecated[])

setTable

public void setTable(int,
                     Table)
              throws java.lang.IndexOutOfBoundsException

setTable

public void setTable(Table[])

unmarshal

public static Database unmarshal(java.io.Reader)
                          throws org.exolab.castor.xml.MarshalException,
                                 org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.