java.io.Serializable
public class KeyGeneratorDef
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
KeyGeneratorDef() |
Modifier and Type | Method | Description |
---|---|---|
void |
addParam(int index,
Param vParam) |
|
void |
addParam(Param vParam) |
|
java.util.Enumeration<? extends Param> |
enumerateParam() |
Method enumerateParam.
|
java.lang.String |
getAlias() |
Returns the value of field 'alias'.
|
java.lang.String |
getName() |
Returns the value of field 'name'.
|
Param[] |
getParam() |
Method getParam.Returns the contents of the collection in an
Array.
|
Param |
getParam(int index) |
Method getParam.
|
int |
getParamCount() |
Method getParamCount.
|
boolean |
isValid() |
Method isValid.
|
java.util.Iterator<? extends Param> |
iterateParam() |
Method iterateParam.
|
void |
marshal(java.io.Writer out) |
|
void |
marshal(org.xml.sax.ContentHandler handler) |
|
void |
removeAllParam() |
|
boolean |
removeParam(Param vParam) |
Method removeParam.
|
Param |
removeParamAt(int index) |
Method removeParamAt.
|
void |
setAlias(java.lang.String alias) |
Sets the value of field 'alias'.
|
void |
setName(java.lang.String name) |
Sets the value of field 'name'.
|
void |
setParam(int index,
Param vParam) |
|
void |
setParam(Param[] vParamArray) |
|
static KeyGeneratorDef |
unmarshal(java.io.Reader reader) |
Method unmarshal.
|
void |
validate() |
public void addParam(Param vParam) throws java.lang.IndexOutOfBoundsException
vParam
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addParam(int index, Param vParam) throws java.lang.IndexOutOfBoundsException
index
- vParam
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends Param> enumerateParam()
public java.lang.String getAlias()
public java.lang.String getName()
public Param getParam(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Param[] getParam()
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 getParamCount()
public boolean isValid()
public java.util.Iterator<? extends Param> iterateParam()
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 removeAllParam()
public boolean removeParam(Param vParam)
vParam
- public Param removeParamAt(int index)
index
- public void setAlias(java.lang.String alias)
alias
- the value of field 'alias'.public void setName(java.lang.String name)
name
- the value of field 'name'.public void setParam(int index, Param vParam) throws java.lang.IndexOutOfBoundsException
index
- vParam
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setParam(Param[] vParamArray)
vParamArray
- public static KeyGeneratorDef 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