X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Forg%2Fvamsas%2Fobjects%2Fcore%2FAlignmentSequence.java;h=67619342b2b908f3f3df5a4b9228aa7c24377f05;hb=4e2e8ec4215ad0f0864048e3eb44fdb7ec494e15;hp=91fd69175e59baa2f53d6f11faf26b9dca358799;hpb=a54f7d71affe4e9cd7a7b0f6137e44f5b82b7a9d;p=vamsas.git diff --git a/src/org/vamsas/objects/core/AlignmentSequence.java b/src/org/vamsas/objects/core/AlignmentSequence.java index 91fd691..6761934 100644 --- a/src/org/vamsas/objects/core/AlignmentSequence.java +++ b/src/org/vamsas/objects/core/AlignmentSequence.java @@ -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'.