X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Forg%2Fvamsas%2Fobjects%2Fcore%2FAlignment.java;h=9a6d4327e629f18186a803ee4d1db18429d0da71;hb=2e92d5449226c6b2423129d779977df26fe74ec6;hp=b9fa81cfd0d617a062d5c5e0238622f0054f3611;hpb=a54f7d71affe4e9cd7a7b0f6137e44f5b82b7a9d;p=vamsas.git diff --git a/src/org/vamsas/objects/core/Alignment.java b/src/org/vamsas/objects/core/Alignment.java index b9fa81c..9a6d432 100644 --- a/src/org/vamsas/objects/core/Alignment.java +++ b/src/org/vamsas/objects/core/Alignment.java @@ -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'.