org.exolab.castor.mapping.xml
Class Sql

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

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

Class Sql.

Version:
$Revision: 1.3 $ $Date: 2003/03/25 10:00:05 $
See Also:
Serialized Form

Constructor Summary
Sql()
           
 
Method Summary
 void addManyKey(int index, java.lang.String vManyKey)
          Method addManyKey
 void addManyKey(java.lang.String vManyKey)
          Method addManyKey
 void addName(int index, java.lang.String vName)
          Method addName
 void addName(java.lang.String vName)
          Method addName
 void deleteReadonly()
          Method deleteReadonly
 void deleteTransient()
          Method deleteTransient
 java.util.Enumeration enumerateManyKey()
          Method enumerateManyKey
 java.util.Enumeration enumerateName()
          Method enumerateName
 DirtyType getDirty()
          Returns the value of field 'dirty'.
 java.lang.String[] getManyKey()
          Method getManyKey
 java.lang.String getManyKey(int index)
          Method getManyKey
 int getManyKeyCount()
          Method getManyKeyCount
 java.lang.String getManyTable()
          Returns the value of field 'manyTable'.
 java.lang.String[] getName()
          Method getName
 java.lang.String getName(int index)
          Method getName
 int getNameCount()
          Method getNameCount
 boolean getReadonly()
          Returns the value of field 'readonly'.
 boolean getTransient()
          Returns the value of field 'transient'.
 java.lang.String getType()
          Returns the value of field 'type'.
 boolean hasReadonly()
          Method hasReadonly
 boolean hasTransient()
          Method hasTransient
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllManyKey()
          Method removeAllManyKey
 void removeAllName()
          Method removeAllName
 java.lang.String removeManyKey(int index)
          Method removeManyKey
 java.lang.String removeName(int index)
          Method removeName
 void setDirty(DirtyType dirty)
          Sets the value of field 'dirty'.
 void setManyKey(int index, java.lang.String vManyKey)
          Method setManyKey
 void setManyKey(java.lang.String[] manyKeyArray)
          Method setManyKey
 void setManyTable(java.lang.String manyTable)
          Sets the value of field 'manyTable'.
 void setName(int index, java.lang.String vName)
          Method setName
 void setName(java.lang.String[] nameArray)
          Method setName
 void setReadonly(boolean readonly)
          Sets the value of field 'readonly'.
 void setTransient(boolean _transient)
          Sets the value of field 'transient'.
 void setType(java.lang.String type)
          Sets the value of field 'type'.
static Sql 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

Sql

public Sql()
Method Detail

addManyKey

public void addManyKey(java.lang.String vManyKey)
                throws java.lang.IndexOutOfBoundsException
Method addManyKey

Parameters:
vManyKey -
Throws:
java.lang.IndexOutOfBoundsException

addManyKey

public void addManyKey(int index,
                       java.lang.String vManyKey)
                throws java.lang.IndexOutOfBoundsException
Method addManyKey

Parameters:
index -
vManyKey -
Throws:
java.lang.IndexOutOfBoundsException

addName

public void addName(java.lang.String vName)
             throws java.lang.IndexOutOfBoundsException
Method addName

Parameters:
vName -
Throws:
java.lang.IndexOutOfBoundsException

addName

public void addName(int index,
                    java.lang.String vName)
             throws java.lang.IndexOutOfBoundsException
Method addName

Parameters:
index -
vName -
Throws:
java.lang.IndexOutOfBoundsException

deleteReadonly

public void deleteReadonly()
Method deleteReadonly


deleteTransient

public void deleteTransient()
Method deleteTransient


enumerateManyKey

public java.util.Enumeration enumerateManyKey()
Method enumerateManyKey


enumerateName

public java.util.Enumeration enumerateName()
Method enumerateName


getDirty

public DirtyType getDirty()
Returns the value of field 'dirty'.

Returns:
the value of field 'dirty'.

getManyKey

public java.lang.String getManyKey(int index)
                            throws java.lang.IndexOutOfBoundsException
Method getManyKey

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getManyKey

public java.lang.String[] getManyKey()
Method getManyKey


getManyKeyCount

public int getManyKeyCount()
Method getManyKeyCount


getManyTable

public java.lang.String getManyTable()
Returns the value of field 'manyTable'.

Returns:
the value of field 'manyTable'.

getName

public java.lang.String getName(int index)
                         throws java.lang.IndexOutOfBoundsException
Method getName

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getName

public java.lang.String[] getName()
Method getName


getNameCount

public int getNameCount()
Method getNameCount


getReadonly

public boolean getReadonly()
Returns the value of field 'readonly'.

Returns:
the value of field 'readonly'.

getTransient

public boolean getTransient()
Returns the value of field 'transient'.

Returns:
the value of field 'transient'.

getType

public java.lang.String getType()
Returns the value of field 'type'.

Returns:
the value of field 'type'.

hasReadonly

public boolean hasReadonly()
Method hasReadonly


hasTransient

public boolean hasTransient()
Method hasTransient


isValid

public boolean isValid()
Method isValid


marshal

public void marshal(java.io.Writer out)
             throws MarshalException,
                    ValidationException
Method marshal

Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    MarshalException,
                    ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
MarshalException
ValidationException

removeAllManyKey

public void removeAllManyKey()
Method removeAllManyKey


removeAllName

public void removeAllName()
Method removeAllName


removeManyKey

public java.lang.String removeManyKey(int index)
Method removeManyKey

Parameters:
index -

removeName

public java.lang.String removeName(int index)
Method removeName

Parameters:
index -

setDirty

public void setDirty(DirtyType dirty)
Sets the value of field 'dirty'.

Parameters:
dirty - the value of field 'dirty'.

setManyKey

public void setManyKey(int index,
                       java.lang.String vManyKey)
                throws java.lang.IndexOutOfBoundsException
Method setManyKey

Parameters:
index -
vManyKey -
Throws:
java.lang.IndexOutOfBoundsException

setManyKey

public void setManyKey(java.lang.String[] manyKeyArray)
Method setManyKey

Parameters:
manyKeyArray -

setManyTable

public void setManyTable(java.lang.String manyTable)
Sets the value of field 'manyTable'.

Parameters:
manyTable - the value of field 'manyTable'.

setName

public void setName(int index,
                    java.lang.String vName)
             throws java.lang.IndexOutOfBoundsException
Method setName

Parameters:
index -
vName -
Throws:
java.lang.IndexOutOfBoundsException

setName

public void setName(java.lang.String[] nameArray)
Method setName

Parameters:
nameArray -

setReadonly

public void setReadonly(boolean readonly)
Sets the value of field 'readonly'.

Parameters:
readonly - the value of field 'readonly'.

setTransient

public void setTransient(boolean _transient)
Sets the value of field 'transient'.

Parameters:
_transient -
transient - the value of field 'transient'.

setType

public void setType(java.lang.String type)
Sets the value of field 'type'.

Parameters:
type - the value of field 'type'.

unmarshal

public static Sql unmarshal(java.io.Reader reader)
                     throws MarshalException,
                            ValidationException
Method unmarshal

Parameters:
reader -
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException


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