Tests source generation and then tests the generated source,
testing
both marshaling and unmarshaling.
addSchema
public void addSchema(int index,
java.lang.String vSchema)
throws java.lang.IndexOutOfBoundsException
addSchema
public void addSchema(java.lang.String vSchema)
throws java.lang.IndexOutOfBoundsException
addUnitTestCase
public void addUnitTestCase(int index,
UnitTestCase vUnitTestCase)
throws java.lang.IndexOutOfBoundsException
addUnitTestCase
public void addUnitTestCase(UnitTestCase vUnitTestCase)
throws java.lang.IndexOutOfBoundsException
enumerateSchema
public java.util.Enumeration enumerateSchema()
Method enumerateSchema.
- an Enumeration over all java.lang.String elements
enumerateUnitTestCase
public java.util.Enumeration enumerateUnitTestCase()
Method enumerateUnitTestCase.
- an Enumeration over all
org.exolab.castor.tests.framework.testDescriptor.UnitTestCase
elements
getBindingFile
public java.lang.String getBindingFile()
Returns the value of field 'bindingFile'.
- the value of field 'BindingFile'.
getCollection
public CollectionType getCollection()
Returns the value of field 'collection'. The field
'collection' has the following description: The data type to
use in collections.
- the value of field 'Collection'.
getExpectedSources
public ExpectedSources getExpectedSources()
Returns the value of field 'expectedSources'.
- the value of field 'ExpectedSources'.
getPackage
public java.lang.String getPackage()
Returns the value of field 'package'.
- the value of field 'Package'.
getProperty_File
public java.lang.String getProperty_File()
Returns the value of field 'property_File'.
- the value of field 'Property_File'.
getRoot_Object
public Root_Object getRoot_Object()
Returns the value of field 'root_Object'. The field
'root_Object' has the following description: The qualified
name of the root Object.
TODO: define a pattern to describe a Java quailified name.
- the value of field 'Root_Object'.
getSchema
public java.lang.String[] getSchema()
Method getSchema.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
getSchema
public java.lang.String getSchema(int index)
throws java.lang.IndexOutOfBoundsException
Method getSchema.
- the value of the java.lang.String at the given index
getSchemaCount
public int getSchemaCount()
Method getSchemaCount.
- the size of this collection
getUnitTestCase
public UnitTestCase[] getUnitTestCase()
Method getUnitTestCase.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
getUnitTestCase
public UnitTestCase getUnitTestCase(int index)
throws java.lang.IndexOutOfBoundsException
Method getUnitTestCase.
- the value of the
org.exolab.castor.tests.framework.testDescriptor.UnitTestCase
at the given index
getUnitTestCaseCount
public int getUnitTestCaseCount()
Method getUnitTestCaseCount.
- the size of this collection
isValid
public boolean isValid()
Method isValid.
- true if this object is valid according to the schema
removeAllSchema
public void removeAllSchema()
removeAllUnitTestCase
public void removeAllUnitTestCase()
removeSchema
public boolean removeSchema(java.lang.String vSchema)
Method removeSchema.
- true if the object was removed from the collection.
removeSchemaAt
public java.lang.String removeSchemaAt(int index)
Method removeSchemaAt.
- the element removed from the collection
removeUnitTestCase
public boolean removeUnitTestCase(UnitTestCase vUnitTestCase)
Method removeUnitTestCase.
- true if the object was removed from the collection.
removeUnitTestCaseAt
public UnitTestCase removeUnitTestCaseAt(int index)
Method removeUnitTestCaseAt.
- the element removed from the collection
setBindingFile
public void setBindingFile(java.lang.String bindingFile)
Sets the value of field 'bindingFile'.
bindingFile
- the value of field 'bindingFile'.
setCollection
public void setCollection(CollectionType collection)
Sets the value of field 'collection'. The field 'collection'
has the following description: The data type to use in
collections.
collection
- the value of field 'collection'.
setExpectedSources
public void setExpectedSources(ExpectedSources expectedSources)
Sets the value of field 'expectedSources'.
expectedSources
- the value of field 'expectedSources'.
setPackage
public void setPackage(java.lang.String _package)
Sets the value of field 'package'.
setProperty_File
public void setProperty_File(java.lang.String property_File)
Sets the value of field 'property_File'.
property_File
- the value of field 'property_File'.
setRoot_Object
public void setRoot_Object(Root_Object root_Object)
Sets the value of field 'root_Object'. The field
'root_Object' has the following description: The qualified
name of the root Object.
TODO: define a pattern to describe a Java quailified name.
root_Object
- the value of field 'root_Object'.
setSchema
public void setSchema(int index,
java.lang.String vSchema)
throws java.lang.IndexOutOfBoundsException
setSchema
public void setSchema(java.lang.String[] vSchemaArray)
setUnitTestCase
public void setUnitTestCase(int index,
UnitTestCase vUnitTestCase)
throws java.lang.IndexOutOfBoundsException
setUnitTestCase
public void setUnitTestCase(UnitTestCase[] vUnitTestCaseArray)