autogenerated java classes for current schema
[vamsas.git] / src / org / vamsas / objects / core / Newick.java
index 58b2f6e..23c6891 100644 (file)
@@ -46,10 +46,26 @@ implements java.io.Serializable
     private java.lang.String _title;
 
     /**
-     * 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;
+
 
       //----------------/
      //- Constructors -/
@@ -67,6 +83,15 @@ implements java.io.Serializable
     //-----------/
 
     /**
+     * Method deleteModifiable
+     * 
+     */
+    public void deleteModifiable()
+    {
+        this._has_modifiable= false;
+    } //-- void deleteModifiable() 
+
+    /**
      * Note: hashCode() has not been overriden
      * 
      * @param obj
@@ -104,6 +129,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;
             return true;
         }
         return false;
@@ -122,7 +151,10 @@ implements java.io.Serializable
     } //-- java.lang.String getContent() 
 
     /**
-     * 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'.
@@ -133,6 +165,22 @@ 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() 
+
+    /**
      * Returns the value of field 'title'.
      * 
      * @return String
@@ -144,6 +192,18 @@ implements java.io.Serializable
     } //-- java.lang.String getTitle() 
 
     /**
+     * Method hasModifiable
+     * 
+     * 
+     * 
+     * @return boolean
+     */
+    public boolean hasModifiable()
+    {
+        return this._has_modifiable;
+    } //-- boolean hasModifiable() 
+
+    /**
      * Method isValid
      * 
      * 
@@ -201,7 +261,10 @@ implements java.io.Serializable
     } //-- void setContent(java.lang.String) 
 
     /**
-     * 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'.
      */
@@ -211,6 +274,22 @@ 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) 
+
+    /**
      * Sets the value of field 'title'.
      * 
      * @param title the value of field 'title'.