java.io.Serializable
public class Sql
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
Sql() |
Modifier and Type | Method | Description |
---|---|---|
void |
addManyKey(int index,
java.lang.String vManyKey) |
|
void |
addManyKey(java.lang.String vManyKey) |
|
void |
addName(int index,
java.lang.String vName) |
|
void |
addName(java.lang.String vName) |
|
void |
deleteReadOnly() |
|
void |
deleteTransient() |
|
java.util.Enumeration<? extends java.lang.String> |
enumerateManyKey() |
Method enumerateManyKey.
|
java.util.Enumeration<? extends java.lang.String> |
enumerateName() |
Method enumerateName.
|
java.lang.String |
getCascading() |
Returns the value of field 'cascading'.
|
SqlDirtyType |
getDirty() |
Returns the value of field 'dirty'.
|
java.lang.String[] |
getManyKey() |
Method getManyKey.Returns the contents of the collection in
an Array.
|
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.Returns the contents of the collection in an
Array.
|
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 |
isReadOnly() |
Returns the value of field 'readOnly'.
|
boolean |
isTransient() |
Returns the value of field 'transient'.
|
boolean |
isValid() |
Method isValid.
|
java.util.Iterator<? extends java.lang.String> |
iterateManyKey() |
Method iterateManyKey.
|
java.util.Iterator<? extends java.lang.String> |
iterateName() |
Method iterateName.
|
void |
marshal(java.io.Writer out) |
|
void |
marshal(org.xml.sax.ContentHandler handler) |
|
void |
removeAllManyKey() |
|
void |
removeAllName() |
|
boolean |
removeManyKey(java.lang.String vManyKey) |
Method removeManyKey.
|
java.lang.String |
removeManyKeyAt(int index) |
Method removeManyKeyAt.
|
boolean |
removeName(java.lang.String vName) |
Method removeName.
|
java.lang.String |
removeNameAt(int index) |
Method removeNameAt.
|
void |
setCascading(java.lang.String cascading) |
Sets the value of field 'cascading'.
|
void |
setDirty(SqlDirtyType dirty) |
Sets the value of field 'dirty'.
|
void |
setManyKey(int index,
java.lang.String vManyKey) |
|
void |
setManyKey(java.lang.String[] vManyKeyArray) |
|
void |
setManyTable(java.lang.String manyTable) |
Sets the value of field 'manyTable'.
|
void |
setName(int index,
java.lang.String vName) |
|
void |
setName(java.lang.String[] vNameArray) |
|
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() |
public void addManyKey(java.lang.String vManyKey) throws java.lang.IndexOutOfBoundsException
vManyKey
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addManyKey(int index, java.lang.String vManyKey) throws java.lang.IndexOutOfBoundsException
index
- vManyKey
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addName(java.lang.String vName) throws java.lang.IndexOutOfBoundsException
vName
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addName(int index, java.lang.String vName) throws java.lang.IndexOutOfBoundsException
index
- vName
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteReadOnly()
public void deleteTransient()
public java.util.Enumeration<? extends java.lang.String> enumerateManyKey()
public java.util.Enumeration<? extends java.lang.String> enumerateName()
public java.lang.String getCascading()
public SqlDirtyType getDirty()
public java.lang.String getManyKey(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getManyKey()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getManyKeyCount()
public java.lang.String getManyTable()
public java.lang.String getName(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getName()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getNameCount()
public boolean getReadOnly()
public boolean getTransient()
public java.lang.String getType()
public boolean hasReadOnly()
public boolean hasTransient()
public boolean isReadOnly()
public boolean isTransient()
public boolean isValid()
public java.util.Iterator<? extends java.lang.String> iterateManyKey()
public java.util.Iterator<? extends java.lang.String> iterateName()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
- java.io.IOException
- if an IOException occurs during
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllManyKey()
public void removeAllName()
public boolean removeManyKey(java.lang.String vManyKey)
vManyKey
- public java.lang.String removeManyKeyAt(int index)
index
- public boolean removeName(java.lang.String vName)
vName
- public java.lang.String removeNameAt(int index)
index
- public void setCascading(java.lang.String cascading)
cascading
- the value of field 'cascading'.public void setDirty(SqlDirtyType dirty)
dirty
- the value of field 'dirty'.public void setManyKey(int index, java.lang.String vManyKey) throws java.lang.IndexOutOfBoundsException
index
- vManyKey
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setManyKey(java.lang.String[] vManyKeyArray)
vManyKeyArray
- public void setManyTable(java.lang.String manyTable)
manyTable
- the value of field 'manyTable'.public void setName(int index, java.lang.String vName) throws java.lang.IndexOutOfBoundsException
index
- vName
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setName(java.lang.String[] vNameArray)
vNameArray
- public void setReadOnly(boolean readOnly)
readOnly
- the value of field 'readOnly'.public void setTransient(boolean _transient)
_transient
- transient
- the value of field 'transient'.public void setType(java.lang.String type)
type
- the value of field 'type'.public static Sql unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
reader
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
ValidationException
- if this
object is an invalid instance according to the schemaIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com