autogenerated java classes for current schema
[vamsas.git] / src / org / vamsas / objects / core / VAMSAS.java
index 0c1af87..e5f615d 100644 (file)
@@ -24,7 +24,9 @@ import org.exolab.castor.xml.ValidationException;
 import org.xml.sax.ContentHandler;
 
 /**
- * Class VAMSAS.
+ * contains unassociated trees and a number of analysis
+ *  sets
+ *  
  * 
  * @version $Revision$ $Date$
  */
@@ -38,11 +40,24 @@ implements java.io.Serializable
     //--------------------------/
 
     /**
-     * Field _id
+     * Primary Key for vamsas object referencing
+     *  
      */
     private java.lang.String _id;
 
     /**
+     * objects with modifiable=false will not be
+     *  modified by a vamsas client update
+     *  
+     */
+    private boolean _modifiable = true;
+
+    /**
+     * keeps track of state for field: _modifiable
+     */
+    private boolean _has_modifiable;
+
+    /**
      * Field _treeList
      */
     private java.util.Vector _treeList;
@@ -124,6 +139,15 @@ implements java.io.Serializable
     } //-- void addTree(int, org.vamsas.objects.core.Tree) 
 
     /**
+     * Method deleteModifiable
+     * 
+     */
+    public void deleteModifiable()
+    {
+        this._has_modifiable= false;
+    } //-- void deleteModifiable() 
+
+    /**
      * Method enumerateDataSet
      * 
      * 
@@ -171,6 +195,10 @@ implements java.io.Serializable
             }
             else if (temp._id != null)
                 return false;
+            if (this._modifiable != temp._modifiable)
+                return false;
+            if (this._has_modifiable != temp._has_modifiable)
+                return false;
             if (this._treeList != null) {
                 if (temp._treeList == null) return false;
                 else if (!(this._treeList.equals(temp._treeList))) 
@@ -239,7 +267,10 @@ implements java.io.Serializable
     } //-- int getDataSetCount() 
 
     /**
-     * Returns the value of field 'id'.
+     * Returns the value of field 'id'. The field 'id' has the
+     * following description: Primary Key for vamsas object
+     * referencing
+     *  
      * 
      * @return String
      * @return the value of field 'id'.
@@ -250,6 +281,21 @@ implements java.io.Serializable
     } //-- java.lang.String getId() 
 
     /**
+     * Returns the value of field 'modifiable'. The field
+     * 'modifiable' has the following description: objects with
+     * modifiable=false will not be
+     *  modified by a vamsas client update
+     *  
+     * 
+     * @return boolean
+     * @return the value of field 'modifiable'.
+     */
+    public boolean getModifiable()
+    {
+        return this._modifiable;
+    } //-- boolean getModifiable() 
+
+    /**
      * Method getTree
      * 
      * 
@@ -298,6 +344,18 @@ implements java.io.Serializable
     } //-- int getTreeCount() 
 
     /**
+     * Method hasModifiable
+     * 
+     * 
+     * 
+     * @return boolean
+     */
+    public boolean hasModifiable()
+    {
+        return this._has_modifiable;
+    } //-- boolean hasModifiable() 
+
+    /**
      * Method isValid
      * 
      * 
@@ -426,7 +484,10 @@ implements java.io.Serializable
     } //-- void setDataSet(org.vamsas.objects.core.DataSet) 
 
     /**
-     * Sets the value of field 'id'.
+     * Sets the value of field 'id'. The field 'id' has the
+     * following description: Primary Key for vamsas object
+     * referencing
+     *  
      * 
      * @param id the value of field 'id'.
      */
@@ -436,6 +497,21 @@ implements java.io.Serializable
     } //-- void setId(java.lang.String) 
 
     /**
+     * Sets the value of field 'modifiable'. The field 'modifiable'
+     * has the following description: objects with modifiable=false
+     * will not be
+     *  modified by a vamsas client update
+     *  
+     * 
+     * @param modifiable the value of field 'modifiable'.
+     */
+    public void setModifiable(boolean modifiable)
+    {
+        this._modifiable = modifiable;
+        this._has_modifiable = true;
+    } //-- void setModifiable(boolean) 
+
+    /**
      * Method setTree
      * 
      *