org.exolab.jms.tools.db
Class Table

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

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

See Also:
Serialized Form

Constructor Summary
Table()
           
 
Method Summary
 void addAttribute(Attribute)
           
 void addAttribute(int, Attribute)
           
 void addIndex(Index)
           
 void addIndex(int, Index)
           
 void clearAttribute()
           
 void clearIndex()
           
 java.util.Enumeration enumerateAttribute()
           
 java.util.Enumeration enumerateIndex()
           
 Attribute[] getAttribute()
           
 Attribute getAttribute(int)
           
 int getAttributeCount()
           
 Index[] getIndex()
           
 Index getIndex(int)
           
 int getIndexCount()
           
 java.lang.String getName()
           
 PrimaryKey getPrimaryKey()
           
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler)
           
 void marshal(java.io.Writer)
           
 boolean removeAttribute(Attribute)
           
 boolean removeIndex(Index)
           
 void setAttribute(Attribute[])
           
 void setAttribute(int, Attribute)
           
 void setIndex(Index[])
           
 void setIndex(int, Index)
           
 void setName(java.lang.String)
           
 void setPrimaryKey(PrimaryKey)
           
static Table 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

Table

public Table()
Method Detail

addAttribute

public void addAttribute(Attribute)
                  throws java.lang.IndexOutOfBoundsException

addAttribute

public void addAttribute(int,
                         Attribute)
                  throws java.lang.IndexOutOfBoundsException

addIndex

public void addIndex(Index)
              throws java.lang.IndexOutOfBoundsException

addIndex

public void addIndex(int,
                     Index)
              throws java.lang.IndexOutOfBoundsException

clearAttribute

public void clearAttribute()

clearIndex

public void clearIndex()

enumerateAttribute

public java.util.Enumeration enumerateAttribute()

enumerateIndex

public java.util.Enumeration enumerateIndex()

getAttribute

public Attribute getAttribute(int)
                       throws java.lang.IndexOutOfBoundsException

getAttribute

public Attribute[] getAttribute()

getAttributeCount

public int getAttributeCount()

getIndex

public Index getIndex(int)
               throws java.lang.IndexOutOfBoundsException

getIndex

public Index[] getIndex()

getIndexCount

public int getIndexCount()

getName

public java.lang.String getName()

getPrimaryKey

public PrimaryKey getPrimaryKey()

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

removeAttribute

public boolean removeAttribute(Attribute)

removeIndex

public boolean removeIndex(Index)

setAttribute

public void setAttribute(int,
                         Attribute)
                  throws java.lang.IndexOutOfBoundsException

setAttribute

public void setAttribute(Attribute[])

setIndex

public void setIndex(int,
                     Index)
              throws java.lang.IndexOutOfBoundsException

setIndex

public void setIndex(Index[])

setName

public void setName(java.lang.String)

setPrimaryKey

public void setPrimaryKey(PrimaryKey)

unmarshal

public static Table 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.