New schema, new objects
[jalview.git] / src / org / vamsas / objects / core / AlignmentAnnotations.java
index 5b62ccd..fd5fece 100755 (executable)
@@ -1,6 +1,6 @@
 /*\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
@@ -75,8 +75,7 @@ public class AlignmentAnnotations implements java.io.Serializable {
      //- Constructors -/\r
     //----------------/\r
 \r
-    public AlignmentAnnotations() \r
-     {\r
+    public AlignmentAnnotations() {\r
         super();\r
         _annotationElementList = new Vector();\r
     } //-- org.vamsas.objects.core.AlignmentAnnotations()\r
@@ -147,7 +146,7 @@ public class AlignmentAnnotations implements java.io.Serializable {
     {\r
         //-- check bounds for index\r
         if ((index < 0) || (index > _annotationElementList.size())) {\r
-            throw new IndexOutOfBoundsException("getAnnotationElement: Index value '"+index+"' not in range [0.."+_annotationElementList.size()+ "]");\r
+            throw new IndexOutOfBoundsException();\r
         }\r
         \r
         return (org.vamsas.objects.core.AnnotationElement) _annotationElementList.elementAt(index);\r
@@ -332,7 +331,7 @@ public class AlignmentAnnotations implements java.io.Serializable {
     {\r
         //-- check bounds for index\r
         if ((index < 0) || (index > _annotationElementList.size())) {\r
-            throw new IndexOutOfBoundsException("setAnnotationElement: Index value '"+index+"' not in range [0.."+_annotationElementList.size()+ "]");\r
+            throw new IndexOutOfBoundsException();\r
         }\r
         _annotationElementList.setElementAt(vAnnotationElement, index);\r
     } //-- void setAnnotationElement(int, org.vamsas.objects.core.AnnotationElement) \r
@@ -410,13 +409,13 @@ public class AlignmentAnnotations implements java.io.Serializable {
      * \r
      * \r
      * @param reader\r
-     * @return AlignmentAnnotations\r
+     * @return Object\r
      */\r
-    public static org.vamsas.objects.core.AlignmentAnnotations 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.AlignmentAnnotations) Unmarshaller.unmarshal(org.vamsas.objects.core.AlignmentAnnotations.class, reader);\r
-    } //-- org.vamsas.objects.core.AlignmentAnnotations unmarshal(java.io.Reader) \r
+    } //-- java.lang.Object unmarshal(java.io.Reader) \r
 \r
     /**\r
      * Method validate\r