uk.ac.vamsas.objects.core
Class DataSet

java.lang.Object
  extended byuk.ac.vamsas.client.Vobject
      extended byuk.ac.vamsas.objects.core.DataSet
All Implemented Interfaces:
java.io.Serializable

public class DataSet
extends Vobject
implements java.io.Serializable

Class DataSet.

Version:
$Revision: 496 $ $Date: 2007-06-28 14:51:44 +0100 (Thu, 28 Jun 2007) $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class uk.ac.vamsas.client.Vobject
__added_since_last_read, __last_hash, __stored_in_document, __updated_since_last_read, __visited, __vorba, registerable, V_parent, vorbaId
 
Constructor Summary
DataSet()
           
 
Method Summary
 void addAlignment(Alignment vAlignment)
           
 void addAlignment(int index, Alignment vAlignment)
           
 void addDataSetAnnotations(DataSetAnnotations vDataSetAnnotations)
           
 void addDataSetAnnotations(int index, DataSetAnnotations vDataSetAnnotations)
           
 void addSequence(int index, Sequence vSequence)
           
 void addSequence(Sequence vSequence)
           
 void addSequenceMapping(int index, SequenceMapping vSequenceMapping)
           
 void addSequenceMapping(SequenceMapping vSequenceMapping)
           
 void addTree(int index, Tree vTree)
           
 void addTree(Tree vTree)
           
 java.util.Enumeration enumerateAlignment()
          Method enumerateAlignment.
 java.util.Enumeration enumerateDataSetAnnotations()
          Method enumerateDataSetAnnotations.
 java.util.Enumeration enumerateSequence()
          Method enumerateSequence.
 java.util.Enumeration enumerateSequenceMapping()
          Method enumerateSequenceMapping.
 java.util.Enumeration enumerateTree()
          Method enumerateTree.
 boolean equals(java.lang.Object obj)
          Overrides the java.lang.Object.equals method.
 Alignment[] getAlignment()
          Method getAlignment.Returns the contents of the collection in an Array.
 Alignment getAlignment(int index)
          Method getAlignment.
 java.util.Vector getAlignmentAsReference()
          Method getAlignmentAsReference.Returns a reference to '_alignmentList'.
 int getAlignmentCount()
          Method getAlignmentCount.
 DataSetAnnotations[] getDataSetAnnotations()
          Method getDataSetAnnotations.Returns the contents of the collection in an Array.
 DataSetAnnotations getDataSetAnnotations(int index)
          Method getDataSetAnnotations.
 java.util.Vector getDataSetAnnotationsAsReference()
          Method getDataSetAnnotationsAsReference.Returns a reference to '_dataSetAnnotationsList'.
 int getDataSetAnnotationsCount()
          Method getDataSetAnnotationsCount.
 java.lang.String getId()
          Returns the value of field 'id'.
 Provenance getProvenance()
          Returns the value of field 'provenance'.
 Sequence[] getSequence()
          Method getSequence.Returns the contents of the collection in an Array.
 Sequence getSequence(int index)
          Method getSequence.
 java.util.Vector getSequenceAsReference()
          Method getSequenceAsReference.Returns a reference to '_sequenceList'.
 int getSequenceCount()
          Method getSequenceCount.
 SequenceMapping[] getSequenceMapping()
          Method getSequenceMapping.Returns the contents of the collection in an Array.
 SequenceMapping getSequenceMapping(int index)
          Method getSequenceMapping.
 java.util.Vector getSequenceMappingAsReference()
          Method getSequenceMappingAsReference.Returns a reference to '_sequenceMappingList'.
 int getSequenceMappingCount()
          Method getSequenceMappingCount.
 Tree[] getTree()
          Method getTree.Returns the contents of the collection in an Array.
 Tree getTree(int index)
          Method getTree.
 java.util.Vector getTreeAsReference()
          Method getTreeAsReference.Returns a reference to '_treeList'.
 int getTreeCount()
          Method getTreeCount.
 int hashCode()
          Overrides the java.lang.Object.hashCode method.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 boolean removeAlignment(Alignment vAlignment)
          Method removeAlignment.
 Alignment removeAlignmentAt(int index)
          Method removeAlignmentAt.
 void removeAllAlignment()
           
 void removeAllDataSetAnnotations()
           
 void removeAllSequence()
           
 void removeAllSequenceMapping()
           
 void removeAllTree()
           
 boolean removeDataSetAnnotations(DataSetAnnotations vDataSetAnnotations)
          Method removeDataSetAnnotations.
 DataSetAnnotations removeDataSetAnnotationsAt(int index)
          Method removeDataSetAnnotationsAt.
 boolean removeSequence(Sequence vSequence)
          Method removeSequence.
 Sequence removeSequenceAt(int index)
          Method removeSequenceAt.
 boolean removeSequenceMapping(SequenceMapping vSequenceMapping)
          Method removeSequenceMapping.
 SequenceMapping removeSequenceMappingAt(int index)
          Method removeSequenceMappingAt.
 boolean removeTree(Tree vTree)
          Method removeTree.
 Tree removeTreeAt(int index)
          Method removeTreeAt.
 void setAlignment(Alignment[] vAlignmentArray)
           
 void setAlignment(int index, Alignment vAlignment)
           
 void setAlignment(java.util.Vector vAlignmentList)
          Sets the value of '_alignmentList' by copying the given Vector.
 void setAlignmentAsReference(java.util.Vector alignmentVector)
          Deprecated.  
 void setDataSetAnnotations(DataSetAnnotations[] vDataSetAnnotationsArray)
           
 void setDataSetAnnotations(int index, DataSetAnnotations vDataSetAnnotations)
           
 void setDataSetAnnotations(java.util.Vector vDataSetAnnotationsList)
          Sets the value of '_dataSetAnnotationsList' by copying the given Vector.
 void setDataSetAnnotationsAsReference(java.util.Vector dataSetAnnotationsVector)
          Deprecated.  
 void setId(java.lang.String id)
          Sets the value of field 'id'.
 void setProvenance(Provenance provenance)
          Sets the value of field 'provenance'.
 void setSequence(int index, Sequence vSequence)
           
 void setSequence(Sequence[] vSequenceArray)
           
 void setSequence(java.util.Vector vSequenceList)
          Sets the value of '_sequenceList' by copying the given Vector.
 void setSequenceAsReference(java.util.Vector sequenceVector)
          Deprecated.  
 void setSequenceMapping(int index, SequenceMapping vSequenceMapping)
           
 void setSequenceMapping(SequenceMapping[] vSequenceMappingArray)
           
 void setSequenceMapping(java.util.Vector vSequenceMappingList)
          Sets the value of '_sequenceMappingList' by copying the given Vector.
 void setSequenceMappingAsReference(java.util.Vector sequenceMappingVector)
          Deprecated.  
 void setTree(int index, Tree vTree)
           
 void setTree(Tree[] vTreeArray)
           
 void setTree(java.util.Vector vTreeList)
          Sets the value of '_treeList' by copying the given Vector.
 void setTreeAsReference(java.util.Vector treeVector)
          Deprecated.  
static DataSet unmarshal(java.io.Reader reader)
          Method unmarshal.
 void validate()
           
 
Methods inherited from class uk.ac.vamsas.client.Vobject
__callHash, __ensure_instance_ids, __ensure_instance_ids, __getInstanceIdField, __getLHash, __setFinalHash, __setInitHash, doHash, finalize, get__last_hash, getV_parent, getVorbaId, is__stored_in_document, isNewInDocument, isRegisterable, isRegistered, isUpdated, merge, set__added_since_last_read, set__stored_in_document, set__updated_since_last_read, setInstanceIdField, setRegisterable, setV_parent, setVorbaId
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSet

public DataSet()
Method Detail

addAlignment

public void addAlignment(Alignment vAlignment)
                  throws java.lang.IndexOutOfBoundsException
Parameters:
vAlignment -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addAlignment

public void addAlignment(int index,
                         Alignment vAlignment)
                  throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vAlignment -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addDataSetAnnotations

public void addDataSetAnnotations(DataSetAnnotations vDataSetAnnotations)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
vDataSetAnnotations -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addDataSetAnnotations

public void addDataSetAnnotations(int index,
                                  DataSetAnnotations vDataSetAnnotations)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vDataSetAnnotations -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addSequence

public void addSequence(Sequence vSequence)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
vSequence -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addSequence

public void addSequence(int index,
                        Sequence vSequence)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSequence -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addSequenceMapping

public void addSequenceMapping(SequenceMapping vSequenceMapping)
                        throws java.lang.IndexOutOfBoundsException
Parameters:
vSequenceMapping -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addSequenceMapping

public void addSequenceMapping(int index,
                               SequenceMapping vSequenceMapping)
                        throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSequenceMapping -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addTree

public void addTree(Tree vTree)
             throws java.lang.IndexOutOfBoundsException
Parameters:
vTree -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addTree

public void addTree(int index,
                    Tree vTree)
             throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vTree -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

enumerateAlignment

public java.util.Enumeration enumerateAlignment()
Method enumerateAlignment.

Returns:
an Enumeration over all uk.ac.vamsas.objects.core.Alignment elements

enumerateDataSetAnnotations

public java.util.Enumeration enumerateDataSetAnnotations()
Method enumerateDataSetAnnotations.

Returns:
an Enumeration over all uk.ac.vamsas.objects.core.DataSetAnnotations elements

enumerateSequence

public java.util.Enumeration enumerateSequence()
Method enumerateSequence.

Returns:
an Enumeration over all uk.ac.vamsas.objects.core.Sequence elements

enumerateSequenceMapping

public java.util.Enumeration enumerateSequenceMapping()
Method enumerateSequenceMapping.

Returns:
an Enumeration over all uk.ac.vamsas.objects.core.SequenceMapping elements

enumerateTree

public java.util.Enumeration enumerateTree()
Method enumerateTree.

Returns:
an Enumeration over all uk.ac.vamsas.objects.core.Tree elements

equals

public boolean equals(java.lang.Object obj)
Overrides the java.lang.Object.equals method.

Parameters:
obj -
Returns:
true if the objects are equal.

getAlignment

public Alignment getAlignment(int index)
                       throws java.lang.IndexOutOfBoundsException
Method getAlignment.

Parameters:
index -
Returns:
the value of the uk.ac.vamsas.objects.core.Alignment at the given index
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getAlignment

public Alignment[] getAlignment()
Method getAlignment.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.

Returns:
this collection as an Array

getAlignmentAsReference

public java.util.Vector getAlignmentAsReference()
Method getAlignmentAsReference.Returns a reference to '_alignmentList'. No type checking is performed on any modifications to the Vector.

Returns:
a reference to the Vector backing this class

getAlignmentCount

public int getAlignmentCount()
Method getAlignmentCount.

Returns:
the size of this collection

getDataSetAnnotations

public DataSetAnnotations getDataSetAnnotations(int index)
                                         throws java.lang.IndexOutOfBoundsException
Method getDataSetAnnotations.

Parameters:
index -
Returns:
the value of the uk.ac.vamsas.objects.core.DataSetAnnotations at the given index
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getDataSetAnnotations

public DataSetAnnotations[] getDataSetAnnotations()
Method getDataSetAnnotations.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.

Returns:
this collection as an Array

getDataSetAnnotationsAsReference

public java.util.Vector getDataSetAnnotationsAsReference()
Method getDataSetAnnotationsAsReference.Returns a reference to '_dataSetAnnotationsList'. No type checking is performed on any modifications to the Vector.

Returns:
a reference to the Vector backing this class

getDataSetAnnotationsCount

public int getDataSetAnnotationsCount()
Method getDataSetAnnotationsCount.

Returns:
the size of this collection

getId

public java.lang.String getId()
Returns the value of field 'id'. The field 'id' has the following description: Primary Key for vamsas object referencing

Returns:
the value of field 'Id'.

getProvenance

public Provenance getProvenance()
Returns the value of field 'provenance'.

Returns:
the value of field 'Provenance'.

getSequence

public Sequence getSequence(int index)
                     throws java.lang.IndexOutOfBoundsException
Method getSequence.

Parameters:
index -
Returns:
the value of the uk.ac.vamsas.objects.core.Sequence at the given index
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getSequence

public Sequence[] getSequence()
Method getSequence.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.

Returns:
this collection as an Array

getSequenceAsReference

public java.util.Vector getSequenceAsReference()
Method getSequenceAsReference.Returns a reference to '_sequenceList'. No type checking is performed on any modifications to the Vector.

Returns:
a reference to the Vector backing this class

getSequenceCount

public int getSequenceCount()
Method getSequenceCount.

Returns:
the size of this collection

getSequenceMapping

public SequenceMapping getSequenceMapping(int index)
                                   throws java.lang.IndexOutOfBoundsException
Method getSequenceMapping.

Parameters:
index -
Returns:
the value of the uk.ac.vamsas.objects.core.SequenceMapping at the given index
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getSequenceMapping

public SequenceMapping[] getSequenceMapping()
Method getSequenceMapping.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.

Returns:
this collection as an Array

getSequenceMappingAsReference

public java.util.Vector getSequenceMappingAsReference()
Method getSequenceMappingAsReference.Returns a reference to '_sequenceMappingList'. No type checking is performed on any modifications to the Vector.

Returns:
a reference to the Vector backing this class

getSequenceMappingCount

public int getSequenceMappingCount()
Method getSequenceMappingCount.

Returns:
the size of this collection

getTree

public Tree getTree(int index)
             throws java.lang.IndexOutOfBoundsException
Method getTree.

Parameters:
index -
Returns:
the value of the uk.ac.vamsas.objects.core.Tree at the given index
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getTree

public Tree[] getTree()
Method getTree.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.

Returns:
this collection as an Array

getTreeAsReference

public java.util.Vector getTreeAsReference()
Method getTreeAsReference.Returns a reference to '_treeList'. No type checking is performed on any modifications to the Vector.

Returns:
a reference to the Vector backing this class

getTreeCount

public int getTreeCount()
Method getTreeCount.

Returns:
the size of this collection

hashCode

public int hashCode()
Overrides the java.lang.Object.hashCode method.

The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3

Overrides:
hashCode in class Vobject
Returns:
a hash code value for the object.

isValid

public boolean isValid()
Method isValid.

Returns:
true if this object is valid according to the schema

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
java.io.IOException - if an IOException occurs during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling

removeAlignment

public boolean removeAlignment(Alignment vAlignment)
Method removeAlignment.

Parameters:
vAlignment -
Returns:
true if the object was removed from the collection.

removeAlignmentAt

public Alignment removeAlignmentAt(int index)
Method removeAlignmentAt.

Parameters:
index -
Returns:
the element removed from the collection

removeAllAlignment

public void removeAllAlignment()

removeAllDataSetAnnotations

public void removeAllDataSetAnnotations()

removeAllSequence

public void removeAllSequence()

removeAllSequenceMapping

public void removeAllSequenceMapping()

removeAllTree

public void removeAllTree()

removeDataSetAnnotations

public boolean removeDataSetAnnotations(DataSetAnnotations vDataSetAnnotations)
Method removeDataSetAnnotations.

Parameters:
vDataSetAnnotations -
Returns:
true if the object was removed from the collection.

removeDataSetAnnotationsAt

public DataSetAnnotations removeDataSetAnnotationsAt(int index)
Method removeDataSetAnnotationsAt.

Parameters:
index -
Returns:
the element removed from the collection

removeSequence

public boolean removeSequence(Sequence vSequence)
Method removeSequence.

Parameters:
vSequence -
Returns:
true if the object was removed from the collection.

removeSequenceAt

public Sequence removeSequenceAt(int index)
Method removeSequenceAt.

Parameters:
index -
Returns:
the element removed from the collection

removeSequenceMapping

public boolean removeSequenceMapping(SequenceMapping vSequenceMapping)
Method removeSequenceMapping.

Parameters:
vSequenceMapping -
Returns:
true if the object was removed from the collection.

removeSequenceMappingAt

public SequenceMapping removeSequenceMappingAt(int index)
Method removeSequenceMappingAt.

Parameters:
index -
Returns:
the element removed from the collection

removeTree

public boolean removeTree(Tree vTree)
Method removeTree.

Parameters:
vTree -
Returns:
true if the object was removed from the collection.

removeTreeAt

public Tree removeTreeAt(int index)
Method removeTreeAt.

Parameters:
index -
Returns:
the element removed from the collection

setAlignment

public void setAlignment(int index,
                         Alignment vAlignment)
                  throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vAlignment -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setAlignment

public void setAlignment(Alignment[] vAlignmentArray)
Parameters:
vAlignmentArray -

setAlignment

public void setAlignment(java.util.Vector vAlignmentList)
Sets the value of '_alignmentList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vAlignmentList - the Vector to copy.

setAlignmentAsReference

public void setAlignmentAsReference(java.util.Vector alignmentVector)
Deprecated.  

Sets the value of '_alignmentList' by setting it to the given Vector. No type checking is performed.

Parameters:
alignmentVector - the Vector to set.

setDataSetAnnotations

public void setDataSetAnnotations(int index,
                                  DataSetAnnotations vDataSetAnnotations)
                           throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vDataSetAnnotations -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setDataSetAnnotations

public void setDataSetAnnotations(DataSetAnnotations[] vDataSetAnnotationsArray)
Parameters:
vDataSetAnnotationsArray -

setDataSetAnnotations

public void setDataSetAnnotations(java.util.Vector vDataSetAnnotationsList)
Sets the value of '_dataSetAnnotationsList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vDataSetAnnotationsList - the Vector to copy.

setDataSetAnnotationsAsReference

public void setDataSetAnnotationsAsReference(java.util.Vector dataSetAnnotationsVector)
Deprecated.  

Sets the value of '_dataSetAnnotationsList' by setting it to the given Vector. No type checking is performed.

Parameters:
dataSetAnnotationsVector - the Vector to set.

setId

public void setId(java.lang.String id)
Sets the value of field 'id'. The field 'id' has the following description: Primary Key for vamsas object referencing

Parameters:
id - the value of field 'id'.

setProvenance

public void setProvenance(Provenance provenance)
Sets the value of field 'provenance'.

Parameters:
provenance - the value of field 'provenance'.

setSequence

public void setSequence(int index,
                        Sequence vSequence)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSequence -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setSequence

public void setSequence(Sequence[] vSequenceArray)
Parameters:
vSequenceArray -

setSequence

public void setSequence(java.util.Vector vSequenceList)
Sets the value of '_sequenceList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vSequenceList - the Vector to copy.

setSequenceAsReference

public void setSequenceAsReference(java.util.Vector sequenceVector)
Deprecated.  

Sets the value of '_sequenceList' by setting it to the given Vector. No type checking is performed.

Parameters:
sequenceVector - the Vector to set.

setSequenceMapping

public void setSequenceMapping(int index,
                               SequenceMapping vSequenceMapping)
                        throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vSequenceMapping -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setSequenceMapping

public void setSequenceMapping(SequenceMapping[] vSequenceMappingArray)
Parameters:
vSequenceMappingArray -

setSequenceMapping

public void setSequenceMapping(java.util.Vector vSequenceMappingList)
Sets the value of '_sequenceMappingList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vSequenceMappingList - the Vector to copy.

setSequenceMappingAsReference

public void setSequenceMappingAsReference(java.util.Vector sequenceMappingVector)
Deprecated.  

Sets the value of '_sequenceMappingList' by setting it to the given Vector. No type checking is performed.

Parameters:
sequenceMappingVector - the Vector to set.

setTree

public void setTree(int index,
                    Tree vTree)
             throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vTree -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setTree

public void setTree(Tree[] vTreeArray)
Parameters:
vTreeArray -

setTree

public void setTree(java.util.Vector vTreeList)
Sets the value of '_treeList' by copying the given Vector. All elements will be checked for type safety.

Parameters:
vTreeList - the Vector to copy.

setTreeAsReference

public void setTreeAsReference(java.util.Vector treeVector)
Deprecated.  

Sets the value of '_treeList' by setting it to the given Vector. No type checking is performed.

Parameters:
treeVector - the Vector to set.

unmarshal

public static DataSet unmarshal(java.io.Reader reader)
                         throws org.exolab.castor.xml.MarshalException,
                                org.exolab.castor.xml.ValidationException
Method unmarshal.

Parameters:
reader -
Returns:
the unmarshaled uk.ac.vamsas.objects.core.DataSet
Throws:
org.exolab.castor.xml.MarshalException - if object is null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException - if this object is an invalid instance according to the schema