public class Sql extends Object implements Serializable
Constructor and Description |
---|
Sql() |
Modifier and Type | Method and Description |
---|---|
void |
addManyKey(int index,
String vManyKey) |
void |
addManyKey(String vManyKey) |
void |
addName(int index,
String vName) |
void |
addName(String vName) |
void |
deleteReadOnly() |
void |
deleteTransient() |
Enumeration<? extends String> |
enumerateManyKey()
Method enumerateManyKey.
|
Enumeration<? extends String> |
enumerateName()
Method enumerateName.
|
String |
getCascading()
Returns the value of field 'cascading'.
|
SqlDirtyType |
getDirty()
Returns the value of field 'dirty'.
|
String[] |
getManyKey()
Method getManyKey.Returns the contents of the collection in
an Array.
|
String |
getManyKey(int index)
Method getManyKey.
|
int |
getManyKeyCount()
Method getManyKeyCount.
|
String |
getManyTable()
Returns the value of field 'manyTable'.
|
String[] |
getName()
Method getName.Returns the contents of the collection in an
Array.
|
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'.
|
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.
|
Iterator<? extends String> |
iterateManyKey()
Method iterateManyKey.
|
Iterator<? extends String> |
iterateName()
Method iterateName.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
removeAllManyKey() |
void |
removeAllName() |
boolean |
removeManyKey(String vManyKey)
Method removeManyKey.
|
String |
removeManyKeyAt(int index)
Method removeManyKeyAt.
|
boolean |
removeName(String vName)
Method removeName.
|
String |
removeNameAt(int index)
Method removeNameAt.
|
void |
setCascading(String cascading)
Sets the value of field 'cascading'.
|
void |
setDirty(SqlDirtyType dirty)
Sets the value of field 'dirty'.
|
void |
setManyKey(int index,
String vManyKey) |
void |
setManyKey(String[] vManyKeyArray) |
void |
setManyTable(String manyTable)
Sets the value of field 'manyTable'.
|
void |
setName(int index,
String vName) |
void |
setName(String[] vNameArray) |
void |
setReadOnly(boolean readOnly)
Sets the value of field 'readOnly'.
|
void |
setTransient(boolean _transient)
Sets the value of field 'transient'.
|
void |
setType(String type)
Sets the value of field 'type'.
|
static Sql |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void addManyKey(String vManyKey) throws IndexOutOfBoundsException
vManyKey
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addManyKey(int index, String vManyKey) throws IndexOutOfBoundsException
index
- vManyKey
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addName(String vName) throws IndexOutOfBoundsException
vName
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addName(int index, String vName) throws IndexOutOfBoundsException
index
- vName
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteReadOnly()
public void deleteTransient()
public Enumeration<? extends String> enumerateManyKey()
public Enumeration<? extends String> enumerateName()
public String getCascading()
public SqlDirtyType getDirty()
public String getManyKey(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic 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 String getManyTable()
public String getName(int index) throws IndexOutOfBoundsException
index
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic 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 String getType()
public boolean hasReadOnly()
public boolean hasTransient()
public boolean isReadOnly()
public boolean isTransient()
public boolean isValid()
public Iterator<? extends String> iterateManyKey()
public Iterator<? extends String> iterateName()
public void marshal(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(ContentHandler handler) throws IOException, MarshalException, ValidationException
handler
- 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(String vManyKey)
vManyKey
- public String removeManyKeyAt(int index)
index
- public boolean removeName(String vName)
vName
- public String removeNameAt(int index)
index
- public void setCascading(String cascading)
cascading
- the value of field 'cascading'.public void setDirty(SqlDirtyType dirty)
dirty
- the value of field 'dirty'.public void setManyKey(int index, String vManyKey) throws IndexOutOfBoundsException
index
- vManyKey
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setManyKey(String[] vManyKeyArray)
vManyKeyArray
- public void setManyTable(String manyTable)
manyTable
- the value of field 'manyTable'.public void setName(int index, String vName) throws IndexOutOfBoundsException
index
- vName
- IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setName(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(String type)
type
- the value of field 'type'.public static Sql unmarshal(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 schemaCopyright © 2013. All rights reserved.