org.exolab.jms.tools.db
Class Table

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

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

This element defines a table

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

Constructor Summary
Table()
           
 
Method Summary
 void addAttribute(Attribute vAttribute)
          Method addAttribute
 void addAttribute(int index, Attribute vAttribute)
          Method addAttribute
 void addIndex(Index vIndex)
          Method addIndex
 void addIndex(int index, Index vIndex)
          Method addIndex
 void clearAttribute()
          Method clearAttribute
 void clearIndex()
          Method clearIndex
 java.util.Enumeration enumerateAttribute()
          Method enumerateAttribute
 java.util.Enumeration enumerateIndex()
          Method enumerateIndex
 Attribute[] getAttribute()
          Method getAttribute
 Attribute getAttribute(int index)
          Method getAttribute
 int getAttributeCount()
          Method getAttributeCount
 Index[] getIndex()
          Method getIndex
 Index getIndex(int index)
          Method getIndex
 int getIndexCount()
          Method getIndexCount
 java.lang.String getName()
          Returns the value of field 'name'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeAttribute(Attribute vAttribute)
          Method removeAttribute
 boolean removeIndex(Index vIndex)
          Method removeIndex
 void setAttribute(Attribute[] attributeArray)
          Method setAttribute
 void setAttribute(int index, Attribute vAttribute)
          Method setAttribute
 void setIndex(Index[] indexArray)
          Method setIndex
 void setIndex(int index, Index vIndex)
          Method setIndex
 void setName(java.lang.String name)
          Sets the value of field 'name'.
static Table 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

Table

public Table()
Method Detail

addAttribute

public void addAttribute(Attribute vAttribute)
                  throws java.lang.IndexOutOfBoundsException
Method addAttribute
Parameters:
vAttribute -  

addAttribute

public void addAttribute(int index,
                         Attribute vAttribute)
                  throws java.lang.IndexOutOfBoundsException
Method addAttribute
Parameters:
index -  
vAttribute -  

addIndex

public void addIndex(Index vIndex)
              throws java.lang.IndexOutOfBoundsException
Method addIndex
Parameters:
vIndex -  

addIndex

public void addIndex(int index,
                     Index vIndex)
              throws java.lang.IndexOutOfBoundsException
Method addIndex
Parameters:
index -  
vIndex -  

clearAttribute

public void clearAttribute()
Method clearAttribute

clearIndex

public void clearIndex()
Method clearIndex

enumerateAttribute

public java.util.Enumeration enumerateAttribute()
Method enumerateAttribute

enumerateIndex

public java.util.Enumeration enumerateIndex()
Method enumerateIndex

getAttribute

public Attribute getAttribute(int index)
                       throws java.lang.IndexOutOfBoundsException
Method getAttribute
Parameters:
index -  

getAttribute

public Attribute[] getAttribute()
Method getAttribute

getAttributeCount

public int getAttributeCount()
Method getAttributeCount

getIndex

public Index getIndex(int index)
               throws java.lang.IndexOutOfBoundsException
Method getIndex
Parameters:
index -  

getIndex

public Index[] getIndex()
Method getIndex

getIndexCount

public int getIndexCount()
Method getIndexCount

getName

public java.lang.String getName()
Returns the value of field 'name'.
Returns:
the value of field 'name'.

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 -  

removeAttribute

public boolean removeAttribute(Attribute vAttribute)
Method removeAttribute
Parameters:
vAttribute -  

removeIndex

public boolean removeIndex(Index vIndex)
Method removeIndex
Parameters:
vIndex -  

setAttribute

public void setAttribute(int index,
                         Attribute vAttribute)
                  throws java.lang.IndexOutOfBoundsException
Method setAttribute
Parameters:
index -  
vAttribute -  

setAttribute

public void setAttribute(Attribute[] attributeArray)
Method setAttribute
Parameters:
attributeArray -  

setIndex

public void setIndex(int index,
                     Index vIndex)
              throws java.lang.IndexOutOfBoundsException
Method setIndex
Parameters:
index -  
vIndex -  

setIndex

public void setIndex(Index[] indexArray)
Method setIndex
Parameters:
indexArray -  

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.
Parameters:
name - the value of field 'name'.

unmarshal

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