org.exolab.castor.mapping.xml

Class CacheTypeMapping

public class CacheTypeMapping extends Object implements Serializable

Class CacheTypeMapping.

Version: $Revision: 6104 $ $Date: 2006-01-07 15:48:31 -0700 (Sat, 07 Jan 2006) $

Constructor Summary
CacheTypeMapping()
Method Summary
voidaddParam(Param vParam)
Method addParam
voidaddParam(int index, Param vParam)
Method addParam
voidclearParam()
Method clearParam
voiddeleteCapacity()
Method deleteCapacity
voiddeleteDebug()
Method deleteDebug
EnumerationenumerateParam()
Method enumerateParam
intgetCapacity()
Returns the value of field 'capacity'.
booleangetDebug()
Returns the value of field 'debug'.
ParamgetParam(int index)
Method getParam
Param[]getParam()
Method getParam
intgetParamCount()
Method getParamCount
StringgetType()
Returns the value of field 'type'.
booleanhasCapacity()
Method hasCapacity
booleanhasDebug()
Method hasDebug
booleanisValid()
Method isValid
voidmarshal(Writer out)
Method marshal
voidmarshal(ContentHandler handler)
Method marshal
booleanremoveParam(Param vParam)
Method removeParam
voidsetCapacity(int capacity)
Sets the value of field 'capacity'.
voidsetDebug(boolean debug)
Sets the value of field 'debug'.
voidsetParam(int index, Param vParam)
Method setParam
voidsetParam(Param[] paramArray)
Method setParam
voidsetType(String type)
Sets the value of field 'type'.
static CacheTypeMappingunmarshal(Reader reader)
Method unmarshal
voidvalidate()
Method validate

Constructor Detail

CacheTypeMapping

public CacheTypeMapping()

Method Detail

addParam

public void addParam(Param vParam)
Method addParam

Parameters: vParam

addParam

public void addParam(int index, Param vParam)
Method addParam

Parameters: index vParam

clearParam

public void clearParam()
Method clearParam

deleteCapacity

public void deleteCapacity()
Method deleteCapacity

deleteDebug

public void deleteDebug()
Method deleteDebug

enumerateParam

public Enumeration enumerateParam()
Method enumerateParam

Returns: Enumeration

getCapacity

public int getCapacity()
Returns the value of field 'capacity'.

Returns: int the value of field 'capacity'.

getDebug

public boolean getDebug()
Returns the value of field 'debug'.

Returns: boolean the value of field 'debug'.

getParam

public Param getParam(int index)
Method getParam

Parameters: index

Returns: Param

getParam

public Param[] getParam()
Method getParam

Returns: Param

getParamCount

public int getParamCount()
Method getParamCount

Returns: int

getType

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

Returns: String the value of field 'type'.

hasCapacity

public boolean hasCapacity()
Method hasCapacity

Returns: boolean

hasDebug

public boolean hasDebug()
Method hasDebug

Returns: boolean

isValid

public boolean isValid()
Method isValid

Returns: boolean

marshal

public void marshal(Writer out)
Method marshal

Parameters: out

marshal

public void marshal(ContentHandler handler)
Method marshal

Parameters: handler

removeParam

public boolean removeParam(Param vParam)
Method removeParam

Parameters: vParam

Returns: boolean

setCapacity

public void setCapacity(int capacity)
Sets the value of field 'capacity'.

Parameters: capacity the value of field 'capacity'.

setDebug

public void setDebug(boolean debug)
Sets the value of field 'debug'.

Parameters: debug the value of field 'debug'.

setParam

public void setParam(int index, Param vParam)
Method setParam

Parameters: index vParam

setParam

public void setParam(Param[] paramArray)
Method setParam

Parameters: paramArray

setType

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

Parameters: type the value of field 'type'.

unmarshal

public static CacheTypeMapping unmarshal(Reader reader)
Method unmarshal

Parameters: reader

Returns: CacheTypeMapping

validate

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