org.exolab.jms.tools.db
Class Database

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

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

This element defines a database. It is the root element of all database schema documents.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Database()
           
 
Method Summary
 void addDeprecated(Deprecated vDeprecated)
          Method addDeprecated
 void addDeprecated(int index, Deprecated vDeprecated)
          Method addDeprecated
 void addTable(int index, Table vTable)
          Method addTable
 void addTable(Table vTable)
          Method addTable
 void clearDeprecated()
          Method clearDeprecated
 void clearTable()
          Method clearTable
 java.util.Enumeration enumerateDeprecated()
          Method enumerateDeprecated
 java.util.Enumeration enumerateTable()
          Method enumerateTable
 Deprecated[] getDeprecated()
          Method getDeprecated
 Deprecated getDeprecated(int index)
          Method getDeprecated
 int getDeprecatedCount()
          Method getDeprecatedCount
 Table[] getTable()
          Method getTable
 Table getTable(int index)
          Method getTable
 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 removeDeprecated(Deprecated vDeprecated)
          Method removeDeprecated
 boolean removeTable(Table vTable)
          Method removeTable
 void setDeprecated(Deprecated[] deprecatedArray)
          Method setDeprecated
 void setDeprecated(int index, Deprecated vDeprecated)
          Method setDeprecated
 void setTable(int index, Table vTable)
          Method setTable
 void setTable(Table[] tableArray)
          Method setTable
static Database 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

Database

public Database()
Method Detail

addDeprecated

public void addDeprecated(Deprecated vDeprecated)
                   throws java.lang.IndexOutOfBoundsException
Method addDeprecated
Parameters:
vDeprecated -  

addDeprecated

public void addDeprecated(int index,
                          Deprecated vDeprecated)
                   throws java.lang.IndexOutOfBoundsException
Method addDeprecated
Parameters:
index -  
vDeprecated -  

addTable

public void addTable(Table vTable)
              throws java.lang.IndexOutOfBoundsException
Method addTable
Parameters:
vTable -  

addTable

public void addTable(int index,
                     Table vTable)
              throws java.lang.IndexOutOfBoundsException
Method addTable
Parameters:
index -  
vTable -  

clearDeprecated

public void clearDeprecated()
Method clearDeprecated

clearTable

public void clearTable()
Method clearTable

enumerateDeprecated

public java.util.Enumeration enumerateDeprecated()
Method enumerateDeprecated

enumerateTable

public java.util.Enumeration enumerateTable()
Method enumerateTable

getDeprecated

public Deprecated getDeprecated(int index)
                         throws java.lang.IndexOutOfBoundsException
Method getDeprecated
Parameters:
index -  

getDeprecated

public Deprecated[] getDeprecated()
Method getDeprecated

getDeprecatedCount

public int getDeprecatedCount()
Method getDeprecatedCount

getTable

public Table getTable(int index)
               throws java.lang.IndexOutOfBoundsException
Method getTable
Parameters:
index -  

getTable

public Table[] getTable()
Method getTable

getTableCount

public int getTableCount()
Method getTableCount

isValid

public boolean isValid()
Method isValid

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal
Parameters:
out -  

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal
Parameters:
handler -  

removeDeprecated

public boolean removeDeprecated(Deprecated vDeprecated)
Method removeDeprecated
Parameters:
vDeprecated -  

removeTable

public boolean removeTable(Table vTable)
Method removeTable
Parameters:
vTable -  

setDeprecated

public void setDeprecated(int index,
                          Deprecated vDeprecated)
                   throws java.lang.IndexOutOfBoundsException
Method setDeprecated
Parameters:
index -  
vDeprecated -  

setDeprecated

public void setDeprecated(Deprecated[] deprecatedArray)
Method setDeprecated
Parameters:
deprecatedArray -  

setTable

public void setTable(int index,
                     Table vTable)
              throws java.lang.IndexOutOfBoundsException
Method setTable
Parameters:
index -  
vTable -  

setTable

public void setTable(Table[] tableArray)
Method setTable
Parameters:
tableArray -  

unmarshal

public static Database unmarshal(java.io.Reader reader)
                          throws org.exolab.castor.xml.MarshalException,
                                 org.exolab.castor.xml.ValidationException
Method unmarshal
Parameters:
reader -  

validate

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


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