latest schema.
[vamsas.git] / src / org / vamsas / objects / core / Alignment.java
index b9fa81c..9a6d432 100644 (file)
@@ -38,6 +38,11 @@ implements java.io.Serializable
     //--------------------------/
 
     /**
+     * Field _id
+     */
+    private java.lang.String _id;
+
+    /**
      * Field _alignmentAnnotations
      */
     private org.vamsas.objects.core.AlignmentAnnotations _alignmentAnnotations;
@@ -169,6 +174,13 @@ implements java.io.Serializable
         if (obj instanceof Alignment) {
         
             Alignment temp = (Alignment)obj;
+            if (this._id != null) {
+                if (temp._id == null) return false;
+                else if (!(this._id.equals(temp._id))) 
+                    return false;
+            }
+            else if (temp._id != null)
+                return false;
             if (this._alignmentAnnotations != null) {
                 if (temp._alignmentAnnotations == null) return false;
                 else if (!(this._alignmentAnnotations.equals(temp._alignmentAnnotations))) 
@@ -262,6 +274,17 @@ implements java.io.Serializable
     } //-- int getAlignmentSequenceCount() 
 
     /**
+     * Returns the value of field 'id'.
+     * 
+     * @return String
+     * @return the value of field 'id'.
+     */
+    public java.lang.String getId()
+    {
+        return this._id;
+    } //-- java.lang.String getId() 
+
+    /**
      * Returns the value of field 'provenance'.
      * 
      * @return Provenance
@@ -460,6 +483,16 @@ implements java.io.Serializable
     } //-- void setAlignmentSequence(org.vamsas.objects.core.AlignmentSequence) 
 
     /**
+     * Sets the value of field 'id'.
+     * 
+     * @param id the value of field 'id'.
+     */
+    public void setId(java.lang.String id)
+    {
+        this._id = id;
+    } //-- void setId(java.lang.String) 
+
+    /**
      * Sets the value of field 'provenance'.
      * 
      * @param provenance the value of field 'provenance'.