org.enableit.db.beans
Class TableTypes

java.lang.Object
  |
  +--org.enableit.db.beans.TableTypes
All Implemented Interfaces:
java.io.Serializable

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

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

Constructor Summary
TableTypes()
           
 
Method Summary
 void addName(int index, java.lang.String vName)
           
 void addName(java.lang.String vName)
           
 java.util.Enumeration enumerateName()
           
 java.lang.String[] getName()
           
 java.lang.String getName(int index)
           
 int getNameCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllName()
           
 java.lang.String removeName(int index)
           
 void setName(int index, java.lang.String vName)
           
 void setName(java.lang.String[] nameArray)
           
static org.enableit.db.beans.TableTypes unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableTypes

public TableTypes()
Method Detail

addName

public void addName(java.lang.String vName)
             throws java.lang.IndexOutOfBoundsException
Parameters:
vName -
java.lang.IndexOutOfBoundsException

addName

public void addName(int index,
                    java.lang.String vName)
             throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vName -
java.lang.IndexOutOfBoundsException

enumerateName

public java.util.Enumeration enumerateName()

getName

public java.lang.String getName(int index)
                         throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getName

public java.lang.String[] getName()

getNameCount

public int getNameCount()

isValid

public boolean isValid()

marshal

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

marshal

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

removeAllName

public void removeAllName()

removeName

public java.lang.String removeName(int index)
Parameters:
index -

setName

public void setName(int index,
                    java.lang.String vName)
             throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vName -
java.lang.IndexOutOfBoundsException

setName

public void setName(java.lang.String[] nameArray)
Parameters:
nameArray -

unmarshal

public static org.enableit.db.beans.TableTypes unmarshal(java.io.Reader reader)
                                                  throws org.exolab.castor.xml.MarshalException,
                                                         org.exolab.castor.xml.ValidationException
Parameters:
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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


Copyright © 1999-2004 enableIT.org. All Rights Reserved.