X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fvamsas%2Fobjects%2Fsimple%2FMsfalignment.java;fp=src%2Fvamsas%2Fobjects%2Fsimple%2FMsfalignment.java;h=242b14f442bd4d8c0d1aca7db61bbd6889544dab;hb=7bc226b58110fa26d9dbd3f0c78095d06909ffc3;hp=f891957fbadc901356274fa85e491cb8a7971a57;hpb=dd74fc4938723fe5ec48d4e5fdcfbe58ac42a48d;p=jalview.git diff --git a/src/vamsas/objects/simple/Msfalignment.java b/src/vamsas/objects/simple/Msfalignment.java index f891957..242b14f 100755 --- a/src/vamsas/objects/simple/Msfalignment.java +++ b/src/vamsas/objects/simple/Msfalignment.java @@ -7,97 +7,116 @@ package vamsas.objects.simple; -public class Msfalignment implements java.io.Serializable { - private java.lang.String msf; - private java.lang.String notes; +public class Msfalignment + implements java.io.Serializable +{ + private java.lang.String msf; + private java.lang.String notes; - public Msfalignment() { - } - - public Msfalignment( - java.lang.String msf, - java.lang.String notes) { - this.msf = msf; - this.notes = notes; - } + public Msfalignment() + { + } + public Msfalignment( + java.lang.String msf, + java.lang.String notes) + { + this.msf = msf; + this.notes = notes; + } - /** - * Gets the msf value for this Msfalignment. - * - * @return msf - */ - public java.lang.String getMsf() { - return msf; - } + /** + * Gets the msf value for this Msfalignment. + * + * @return msf + */ + public java.lang.String getMsf() + { + return msf; + } + /** + * Sets the msf value for this Msfalignment. + * + * @param msf + */ + public void setMsf(java.lang.String msf) + { + this.msf = msf; + } - /** - * Sets the msf value for this Msfalignment. - * - * @param msf - */ - public void setMsf(java.lang.String msf) { - this.msf = msf; - } + /** + * Gets the notes value for this Msfalignment. + * + * @return notes + */ + public java.lang.String getNotes() + { + return notes; + } + /** + * Sets the notes value for this Msfalignment. + * + * @param notes + */ + public void setNotes(java.lang.String notes) + { + this.notes = notes; + } - /** - * Gets the notes value for this Msfalignment. - * - * @return notes - */ - public java.lang.String getNotes() { - return notes; + private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) + { + if (! (obj instanceof Msfalignment)) + { + return false; } - - - /** - * Sets the notes value for this Msfalignment. - * - * @param notes - */ - public void setNotes(java.lang.String notes) { - this.notes = notes; + Msfalignment other = (Msfalignment) obj; + if (obj == null) + { + return false; } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof Msfalignment)) return false; - Msfalignment other = (Msfalignment) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.msf==null && other.getMsf()==null) || - (this.msf!=null && - this.msf.equals(other.getMsf()))) && - ((this.notes==null && other.getNotes()==null) || - (this.notes!=null && - this.notes.equals(other.getNotes()))); - __equalsCalc = null; - return _equals; + if (this == obj) + { + return true; + } + if (__equalsCalc != null) + { + return (__equalsCalc == obj); } + __equalsCalc = obj; + boolean _equals; + _equals = true && + ( (this.msf == null && other.getMsf() == null) || + (this.msf != null && + this.msf.equals(other.getMsf()))) && + ( (this.notes == null && other.getNotes() == null) || + (this.notes != null && + this.notes.equals(other.getNotes()))); + __equalsCalc = null; + return _equals; + } - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getMsf() != null) { - _hashCode += getMsf().hashCode(); - } - if (getNotes() != null) { - _hashCode += getNotes().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; + private boolean __hashCodeCalc = false; + public synchronized int hashCode() + { + if (__hashCodeCalc) + { + return 0; + } + __hashCodeCalc = true; + int _hashCode = 1; + if (getMsf() != null) + { + _hashCode += getMsf().hashCode(); + } + if (getNotes() != null) + { + _hashCode += getNotes().hashCode(); } + __hashCodeCalc = false; + return _hashCode; + } }