part implementation of simpleClient and refactoring of ClientDocument.
[vamsas.git] / src / org / vamsas / objects / core / AlignmentSequence.java
index 91fd691..6761934 100644 (file)
@@ -36,6 +36,11 @@ implements java.io.Serializable
     //--------------------------/
 
     /**
+     * Field _id
+     */
+    private java.lang.String _id;
+
+    /**
      * Field _refid
      */
     private java.lang.Object _refid;
@@ -72,6 +77,13 @@ implements java.io.Serializable
         if (obj instanceof AlignmentSequence) {
         
             AlignmentSequence temp = (AlignmentSequence)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._refid != null) {
                 if (temp._refid == null) return false;
                 else if (!(this._refid.equals(temp._refid))) 
@@ -85,6 +97,17 @@ implements java.io.Serializable
     } //-- boolean equals(java.lang.Object) 
 
     /**
+     * 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 'refid'.
      * 
      * @return Object
@@ -142,6 +165,16 @@ implements java.io.Serializable
     } //-- void marshal(org.xml.sax.ContentHandler) 
 
     /**
+     * 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 'refid'.
      * 
      * @param refid the value of field 'refid'.