org.exolab.castor.mapping.xml

Class KeyGeneratorDef

Implemented Interfaces:
java.io.Serializable

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

Class KeyGeneratorDef.
Version:
$Revision: 6104 $ $Date: 2006-01-07 15:48:31 -0700 (Sat, 07 Jan 2006) $
See Also:
Serialized Form

Constructor Summary

KeyGeneratorDef()

Method Summary

void
addParam(int index, Param vParam)
Method addParam
void
addParam(Param vParam)
Method addParam
void
clearParam()
Method clearParam
java.util.Enumeration
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
Param
getParam(int index)
Method getParam
int
getParamCount()
Method getParamCount
boolean
isValid()
Method isValid
void
marshal(java.io.Writer out)
Method marshal
void
marshal(org.xml.sax.ContentHandler handler)
Method marshal
boolean
removeParam(Param vParam)
Method removeParam
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)
Method setParam
void
setParam(Param[] paramArray)
Method setParam
static KeyGeneratorDef
unmarshal(java.io.Reader reader)
Method unmarshal
void
validate()
Method validate

Constructor Details

KeyGeneratorDef

public KeyGeneratorDef()

Method Details

addParam

public void addParam(int index,
                     Param vParam)
            throws java.lang.IndexOutOfBoundsException
Method addParam
Parameters:
index -
vParam -

addParam

public void addParam(Param vParam)
            throws java.lang.IndexOutOfBoundsException
Method addParam
Parameters:
vParam -

clearParam

public void clearParam()
Method clearParam

enumerateParam

public java.util.Enumeration enumerateParam()
Method enumerateParam
Returns:
Enumeration

getAlias

public java.lang.String getAlias()
Returns the value of field 'alias'.
Returns:
String

getName

public java.lang.String getName()
Returns the value of field 'name'.
Returns:
String

getParam

public Param[] getParam()
Method getParam
Returns:
Param

getParam

public Param getParam(int index)
            throws java.lang.IndexOutOfBoundsException
Method getParam
Parameters:
index -
Returns:
Param

getParamCount

public int getParamCount()
Method getParamCount
Returns:
int

isValid

public boolean isValid()
Method isValid
Returns:
boolean

marshal

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

marshal

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

removeParam

public boolean removeParam(Param vParam)
Method removeParam
Parameters:
vParam -
Returns:
boolean

setAlias

public void setAlias(java.lang.String alias)
Sets the value of field 'alias'.
Parameters:
alias - the value of field 'alias'.

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.
Parameters:
name - the value of field 'name'.

setParam

public void setParam(int index,
                     Param vParam)
            throws java.lang.IndexOutOfBoundsException
Method setParam
Parameters:
index -
vParam -

setParam

public void setParam(Param[] paramArray)
Method setParam
Parameters:
paramArray -

unmarshal

public static KeyGeneratorDef unmarshal(java.io.Reader reader)
            throws MarshalException,
                   ValidationException
Method unmarshal
Parameters:
reader -
Returns:
KeyGeneratorDef

validate

public void validate()
            throws ValidationException
Method validate

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