refactored schema (SequenceSet to DataSet and SequenceSetAnnotation to DataSetAnnotat...
[vamsas.git] / src / org / vamsas / objects / core / DataSetAnnotationsDescriptor.java
@@ -17,11 +17,11 @@ import org.exolab.castor.xml.XMLFieldDescriptor;
 import org.exolab.castor.xml.validators.*;
 
 /**
- * Class SequenceSetAnnotationsDescriptor.
+ * Class DataSetAnnotationsDescriptor.
  * 
  * @version $Revision$ $Date$
  */
-public class SequenceSetAnnotationsDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
+public class DataSetAnnotationsDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
 
 
       //--------------------------/
@@ -53,11 +53,11 @@ public class SequenceSetAnnotationsDescriptor extends org.exolab.castor.xml.util
      //- Constructors -/
     //----------------/
 
-    public SequenceSetAnnotationsDescriptor() 
+    public DataSetAnnotationsDescriptor() 
      {
         super();
         nsURI = "http://www.vamsas.org";
-        xmlName = "SequenceSetAnnotations";
+        xmlName = "DataSetAnnotations";
         
         //-- set grouping compositor
         setCompositorAsSequence();
@@ -73,14 +73,14 @@ public class SequenceSetAnnotationsDescriptor extends org.exolab.castor.xml.util
             public java.lang.Object getValue( java.lang.Object object ) 
                 throws IllegalStateException
             {
-                SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                DataSetAnnotations target = (DataSetAnnotations) object;
                 return target.getType();
             }
             public void setValue( java.lang.Object object, java.lang.Object value) 
                 throws IllegalStateException, IllegalArgumentException
             {
                 try {
-                    SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                    DataSetAnnotations target = (DataSetAnnotations) object;
                     target.setType( (java.lang.String) value);
                 }
                 catch (java.lang.Exception ex) {
@@ -112,14 +112,14 @@ public class SequenceSetAnnotationsDescriptor extends org.exolab.castor.xml.util
             public java.lang.Object getValue( java.lang.Object object ) 
                 throws IllegalStateException
             {
-                SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                DataSetAnnotations target = (DataSetAnnotations) object;
                 return target.getEnd();
             }
             public void setValue( java.lang.Object object, java.lang.Object value) 
                 throws IllegalStateException, IllegalArgumentException
             {
                 try {
-                    SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                    DataSetAnnotations target = (DataSetAnnotations) object;
                     target.setEnd( (java.lang.String) value);
                 }
                 catch (java.lang.Exception ex) {
@@ -151,14 +151,14 @@ public class SequenceSetAnnotationsDescriptor extends org.exolab.castor.xml.util
             public java.lang.Object getValue( java.lang.Object object ) 
                 throws IllegalStateException
             {
-                SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                DataSetAnnotations target = (DataSetAnnotations) object;
                 return target.getBegin();
             }
             public void setValue( java.lang.Object object, java.lang.Object value) 
                 throws IllegalStateException, IllegalArgumentException
             {
                 try {
-                    SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                    DataSetAnnotations target = (DataSetAnnotations) object;
                     target.setBegin( (java.lang.String) value);
                 }
                 catch (java.lang.Exception ex) {
@@ -190,14 +190,14 @@ public class SequenceSetAnnotationsDescriptor extends org.exolab.castor.xml.util
             public java.lang.Object getValue( java.lang.Object object ) 
                 throws IllegalStateException
             {
-                SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                DataSetAnnotations target = (DataSetAnnotations) object;
                 return target.getSeqRef();
             }
             public void setValue( java.lang.Object object, java.lang.Object value) 
                 throws IllegalStateException, IllegalArgumentException
             {
                 try {
-                    SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                    DataSetAnnotations target = (DataSetAnnotations) object;
                     target.setSeqRef( (java.lang.Object) value);
                 }
                 catch (java.lang.Exception ex) {
@@ -226,14 +226,14 @@ public class SequenceSetAnnotationsDescriptor extends org.exolab.castor.xml.util
             public java.lang.Object getValue( java.lang.Object object ) 
                 throws IllegalStateException
             {
-                SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                DataSetAnnotations target = (DataSetAnnotations) object;
                 return target.getId();
             }
             public void setValue( java.lang.Object object, java.lang.Object value) 
                 throws IllegalStateException, IllegalArgumentException
             {
                 try {
-                    SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                    DataSetAnnotations target = (DataSetAnnotations) object;
                     target.setId( (java.lang.String) value);
                 }
                 catch (java.lang.Exception ex) {
@@ -262,14 +262,14 @@ public class SequenceSetAnnotationsDescriptor extends org.exolab.castor.xml.util
             public java.lang.Object getValue( java.lang.Object object ) 
                 throws IllegalStateException
             {
-                SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                DataSetAnnotations target = (DataSetAnnotations) object;
                 return target.getDescription();
             }
             public void setValue( java.lang.Object object, java.lang.Object value) 
                 throws IllegalStateException, IllegalArgumentException
             {
                 try {
-                    SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                    DataSetAnnotations target = (DataSetAnnotations) object;
                     target.setDescription( (java.lang.String) value);
                 }
                 catch (java.lang.Exception ex) {
@@ -300,14 +300,14 @@ public class SequenceSetAnnotationsDescriptor extends org.exolab.castor.xml.util
             public java.lang.Object getValue( java.lang.Object object ) 
                 throws IllegalStateException
             {
-                SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                DataSetAnnotations target = (DataSetAnnotations) object;
                 return target.getStatus();
             }
             public void setValue( java.lang.Object object, java.lang.Object value) 
                 throws IllegalStateException, IllegalArgumentException
             {
                 try {
-                    SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                    DataSetAnnotations target = (DataSetAnnotations) object;
                     target.setStatus( (java.lang.String) value);
                 }
                 catch (java.lang.Exception ex) {
@@ -337,14 +337,14 @@ public class SequenceSetAnnotationsDescriptor extends org.exolab.castor.xml.util
             public java.lang.Object getValue( java.lang.Object object ) 
                 throws IllegalStateException
             {
-                SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                DataSetAnnotations target = (DataSetAnnotations) object;
                 return target.getAnnotationElement();
             }
             public void setValue( java.lang.Object object, java.lang.Object value) 
                 throws IllegalStateException, IllegalArgumentException
             {
                 try {
-                    SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                    DataSetAnnotations target = (DataSetAnnotations) object;
                     target.addAnnotationElement( (org.vamsas.objects.core.AnnotationElement) value);
                 }
                 catch (java.lang.Exception ex) {
@@ -372,14 +372,14 @@ public class SequenceSetAnnotationsDescriptor extends org.exolab.castor.xml.util
             public java.lang.Object getValue( java.lang.Object object ) 
                 throws IllegalStateException
             {
-                SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                DataSetAnnotations target = (DataSetAnnotations) object;
                 return target.getProvenance();
             }
             public void setValue( java.lang.Object object, java.lang.Object value) 
                 throws IllegalStateException, IllegalArgumentException
             {
                 try {
-                    SequenceSetAnnotations target = (SequenceSetAnnotations) object;
+                    DataSetAnnotations target = (DataSetAnnotations) object;
                     target.addProvenance( (org.vamsas.objects.core.Provenance) value);
                 }
                 catch (java.lang.Exception ex) {
@@ -401,7 +401,7 @@ public class SequenceSetAnnotationsDescriptor extends org.exolab.castor.xml.util
         { //-- local scope
         }
         desc.setValidator(fieldValidator);
-    } //-- org.vamsas.objects.core.SequenceSetAnnotationsDescriptor()
+    } //-- org.vamsas.objects.core.DataSetAnnotationsDescriptor()
 
 
       //-----------/
@@ -453,7 +453,7 @@ public class SequenceSetAnnotationsDescriptor extends org.exolab.castor.xml.util
      */
     public java.lang.Class getJavaClass()
     {
-        return org.vamsas.objects.core.SequenceSetAnnotations.class;
+        return org.vamsas.objects.core.DataSetAnnotations.class;
     } //-- java.lang.Class getJavaClass() 
 
     /**