org.exolab.castor.tests.framework.testDescriptor
Class ConfigurationType
java.lang.Object
org.exolab.castor.tests.framework.testDescriptor.ConfigurationType
- java.io.Serializable
public class ConfigurationType
extends java.lang.Object
implements java.io.Serializable
Configuration for marshaling or unmarshaling or source
generation. Contains
a list of methods to be called on the marshaler or unmarshaler
or source
generator with the parameters to be provided for each method.
ConfigurationType
public ConfigurationType()
addCallMethod
public void addCallMethod(int index,
CallMethod vCallMethod)
throws java.lang.IndexOutOfBoundsException
addCallMethod
public void addCallMethod(CallMethod vCallMethod)
throws java.lang.IndexOutOfBoundsException
enumerateCallMethod
public java.util.Enumeration enumerateCallMethod()
Method enumerateCallMethod.
- an Enumeration over all
org.exolab.castor.tests.framework.testDescriptor.CallMethod
elements
getCallMethod
public CallMethod[] getCallMethod()
Method getCallMethod.Returns the contents of the collection
in an Array.
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.
- this collection as an Array
getCallMethod
public CallMethod getCallMethod(int index)
throws java.lang.IndexOutOfBoundsException
Method getCallMethod.
- the value of the
org.exolab.castor.tests.framework.testDescriptor.CallMethod
at the given index
getCallMethodCount
public int getCallMethodCount()
Method getCallMethodCount.
- the size of this collection
isValid
public boolean isValid()
Method isValid.
- true if this object is valid according to the schema
removeAllCallMethod
public void removeAllCallMethod()
removeCallMethod
public boolean removeCallMethod(CallMethod vCallMethod)
Method removeCallMethod.
- true if the object was removed from the collection.
removeCallMethodAt
public CallMethod removeCallMethodAt(int index)
Method removeCallMethodAt.
- the element removed from the collection
setCallMethod
public void setCallMethod(int index,
CallMethod vCallMethod)
throws java.lang.IndexOutOfBoundsException
setCallMethod
public void setCallMethod(CallMethod[] vCallMethodArray)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com