org.exolab.castor.mapping.xml
Class Sql

java.lang.Object
  extended byorg.exolab.castor.mapping.xml.Sql
All Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 1.9 $ $Date: 2001/10/29 23:58:25 $
See Also:
Serialized Form

Constructor Summary
Sql()
           
 
Method Summary
 void addManyKey(java.lang.String vManyKey)
           
 void addName(java.lang.String vName)
           
 void addType(java.lang.String vType)
           
 java.util.Enumeration enumerateManyKey()
           
 java.util.Enumeration enumerateName()
           
 java.util.Enumeration enumerateType()
           
 DirtyType getDirty()
           
 java.lang.String[] getManyKey()
           
 java.lang.String getManyKey(int index)
           
 int getManyKeyCount()
           
 java.lang.String getManyTable()
           
 java.lang.String[] getName()
           
 java.lang.String getName(int index)
           
 int getNameCount()
           
 boolean getReadonly()
           
 java.lang.String[] getType()
           
 java.lang.String getType(int index)
           
 int getTypeCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllManyKey()
           
 void removeAllName()
           
 void removeAllType()
           
 java.lang.String removeManyKey(int index)
           
 java.lang.String removeName(int index)
           
 java.lang.String removeType(int index)
           
 void setDirty(DirtyType _dirty)
           
 void setManyKey(java.lang.String[] manyKeyArray)
           
 void setManyKey(java.lang.String vManyKey, int index)
           
 void setManyTable(java.lang.String _manyTable)
           
 void setName(java.lang.String[] nameArray)
           
 void setName(java.lang.String vName, int index)
           
 void setReadonly(boolean _readonly)
           
 void setType(java.lang.String[] typeArray)
           
 void setType(java.lang.String vType, int index)
           
static Sql 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

Sql

public Sql()
Method Detail

addManyKey

public void addManyKey(java.lang.String vManyKey)
                throws java.lang.IndexOutOfBoundsException
Parameters:
vManyKey -
Throws:
java.lang.IndexOutOfBoundsException

addName

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

addType

public void addType(java.lang.String vType)
             throws java.lang.IndexOutOfBoundsException
Parameters:
vType -
Throws:
java.lang.IndexOutOfBoundsException

enumerateManyKey

public java.util.Enumeration enumerateManyKey()

enumerateName

public java.util.Enumeration enumerateName()

enumerateType

public java.util.Enumeration enumerateType()

getDirty

public DirtyType getDirty()

getManyKey

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

getManyKey

public java.lang.String[] getManyKey()

getManyKeyCount

public int getManyKeyCount()

getManyTable

public java.lang.String getManyTable()

getReadonly

public boolean getReadonly()

setReadonly

public void setReadonly(boolean _readonly)
Parameters:
_readonly -

getName

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

getName

public java.lang.String[] getName()

getNameCount

public int getNameCount()

getType

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

getType

public java.lang.String[] getType()

getTypeCount

public int getTypeCount()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws MarshalException,
                    ValidationException
Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws MarshalException,
                    ValidationException
Parameters:
handler -
Throws:
MarshalException
ValidationException

removeAllManyKey

public void removeAllManyKey()

removeAllName

public void removeAllName()

removeAllType

public void removeAllType()

removeManyKey

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

removeName

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

removeType

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

setDirty

public void setDirty(DirtyType _dirty)
Parameters:
_dirty -

setManyKey

public void setManyKey(java.lang.String vManyKey,
                       int index)
                throws java.lang.IndexOutOfBoundsException
Parameters:
vManyKey -
index -
Throws:
java.lang.IndexOutOfBoundsException

setManyKey

public void setManyKey(java.lang.String[] manyKeyArray)
Parameters:
manyKeyArray -

setManyTable

public void setManyTable(java.lang.String _manyTable)
Parameters:
_manyTable -

setName

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

setName

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

setType

public void setType(java.lang.String vType,
                    int index)
             throws java.lang.IndexOutOfBoundsException
Parameters:
vType -
index -
Throws:
java.lang.IndexOutOfBoundsException

setType

public void setType(java.lang.String[] typeArray)
Parameters:
typeArray -

unmarshal

public static Sql unmarshal(java.io.Reader reader)
                     throws MarshalException,
                            ValidationException
Parameters:
reader -
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Throws:
ValidationException


Intalio Inc. (C) 1999-2001. All rights reserved http://www.intalio.com