java.io.Serializable
public class CacheTypeMapping
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
CacheTypeMapping() |
Modifier and Type | Method | Description |
---|---|---|
void |
addParam(int index,
Param vParam) |
|
void |
addParam(Param vParam) |
|
void |
deleteCapacity() |
|
void |
deleteDebug() |
|
java.util.Enumeration<? extends Param> |
enumerateParam() |
Method enumerateParam.
|
long |
getCapacity() |
Returns the value of field 'capacity'.
|
boolean |
getDebug() |
Returns the value of field 'debug'.
|
Param[] |
getParam() |
Method getParam.Returns the contents of the collection in an
Array.
|
Param |
getParam(int index) |
Method getParam.
|
int |
getParamCount() |
Method getParamCount.
|
java.lang.String |
getType() |
Returns the value of field 'type'.
|
boolean |
hasCapacity() |
Method hasCapacity.
|
boolean |
hasDebug() |
Method hasDebug.
|
boolean |
isDebug() |
Returns the value of field 'debug'.
|
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 |
setCapacity(long capacity) |
Sets the value of field 'capacity'.
|
void |
setDebug(boolean debug) |
Sets the value of field 'debug'.
|
void |
setParam(int index,
Param vParam) |
|
void |
setParam(Param[] vParamArray) |
|
void |
setType(java.lang.String type) |
Sets the value of field 'type'.
|
static CacheTypeMapping |
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 void deleteCapacity()
public void deleteDebug()
public java.util.Enumeration<? extends Param> enumerateParam()
public long getCapacity()
public boolean getDebug()
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 java.lang.String getType()
public boolean hasCapacity()
public boolean hasDebug()
public boolean isDebug()
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 setCapacity(long capacity)
capacity
- the value of field 'capacity'.public void setDebug(boolean debug)
debug
- the value of field 'debug'.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 void setType(java.lang.String type)
type
- the value of field 'type'.public static CacheTypeMapping 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