/*\r
* This class was automatically generated with \r
- * <a href="http://www.castor.org">Castor 0.9.9M2</a>, using an XML\r
+ * <a href="http://www.castor.org">Castor 0.9.6</a>, using an XML\r
* Schema.\r
* $Id$\r
*/\r
//- Constructors -/\r
//----------------/\r
\r
- public DataSet() \r
- {\r
+ public DataSet() {\r
super();\r
_sequenceList = new Vector();\r
_dataSetAnnotationsList = new Vector();\r
{\r
//-- check bounds for index\r
if ((index < 0) || (index > _alignmentList.size())) {\r
- throw new IndexOutOfBoundsException("getAlignment: Index value '"+index+"' not in range [0.."+_alignmentList.size()+ "]");\r
+ throw new IndexOutOfBoundsException();\r
}\r
\r
return (org.vamsas.objects.core.Alignment) _alignmentList.elementAt(index);\r
{\r
//-- check bounds for index\r
if ((index < 0) || (index > _dataSetAnnotationsList.size())) {\r
- throw new IndexOutOfBoundsException("getDataSetAnnotations: Index value '"+index+"' not in range [0.."+_dataSetAnnotationsList.size()+ "]");\r
+ throw new IndexOutOfBoundsException();\r
}\r
\r
return (org.vamsas.objects.core.DataSetAnnotations) _dataSetAnnotationsList.elementAt(index);\r
{\r
//-- check bounds for index\r
if ((index < 0) || (index > _sequenceList.size())) {\r
- throw new IndexOutOfBoundsException("getSequence: Index value '"+index+"' not in range [0.."+_sequenceList.size()+ "]");\r
+ throw new IndexOutOfBoundsException();\r
}\r
\r
return (org.vamsas.objects.core.Sequence) _sequenceList.elementAt(index);\r
{\r
//-- check bounds for index\r
if ((index < 0) || (index > _treeList.size())) {\r
- throw new IndexOutOfBoundsException("getTree: Index value '"+index+"' not in range [0.."+_treeList.size()+ "]");\r
+ throw new IndexOutOfBoundsException();\r
}\r
\r
return (org.vamsas.objects.core.Tree) _treeList.elementAt(index);\r
{\r
//-- check bounds for index\r
if ((index < 0) || (index > _alignmentList.size())) {\r
- throw new IndexOutOfBoundsException("setAlignment: Index value '"+index+"' not in range [0.."+_alignmentList.size()+ "]");\r
+ throw new IndexOutOfBoundsException();\r
}\r
_alignmentList.setElementAt(vAlignment, index);\r
} //-- void setAlignment(int, org.vamsas.objects.core.Alignment) \r
{\r
//-- check bounds for index\r
if ((index < 0) || (index > _dataSetAnnotationsList.size())) {\r
- throw new IndexOutOfBoundsException("setDataSetAnnotations: Index value '"+index+"' not in range [0.."+_dataSetAnnotationsList.size()+ "]");\r
+ throw new IndexOutOfBoundsException();\r
}\r
_dataSetAnnotationsList.setElementAt(vDataSetAnnotations, index);\r
} //-- void setDataSetAnnotations(int, org.vamsas.objects.core.DataSetAnnotations) \r
{\r
//-- check bounds for index\r
if ((index < 0) || (index > _sequenceList.size())) {\r
- throw new IndexOutOfBoundsException("setSequence: Index value '"+index+"' not in range [0.."+_sequenceList.size()+ "]");\r
+ throw new IndexOutOfBoundsException();\r
}\r
_sequenceList.setElementAt(vSequence, index);\r
} //-- void setSequence(int, org.vamsas.objects.core.Sequence) \r
{\r
//-- check bounds for index\r
if ((index < 0) || (index > _treeList.size())) {\r
- throw new IndexOutOfBoundsException("setTree: Index value '"+index+"' not in range [0.."+_treeList.size()+ "]");\r
+ throw new IndexOutOfBoundsException();\r
}\r
_treeList.setElementAt(vTree, index);\r
} //-- void setTree(int, org.vamsas.objects.core.Tree) \r
* \r
* \r
* @param reader\r
- * @return DataSet\r
+ * @return Object\r
*/\r
- public static org.vamsas.objects.core.DataSet unmarshal(java.io.Reader reader)\r
+ public static java.lang.Object unmarshal(java.io.Reader reader)\r
throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r
{\r
return (org.vamsas.objects.core.DataSet) Unmarshaller.unmarshal(org.vamsas.objects.core.DataSet.class, reader);\r
- } //-- org.vamsas.objects.core.DataSet unmarshal(java.io.Reader) \r
+ } //-- java.lang.Object unmarshal(java.io.Reader) \r
\r
/**\r
* Method validate\r