X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fvamsas%2Fobjects%2Fsimple%2FMsfalignment.java;h=90370f0ac2879f1dba665393df18284a177a0c18;hb=97df7d7f0c7871ce943059b4f55832648dbff319;hp=f891957fbadc901356274fa85e491cb8a7971a57;hpb=f28099503e381c803dc0078079c3d17d17cea74f;p=jalview.git diff --git a/src/vamsas/objects/simple/Msfalignment.java b/src/vamsas/objects/simple/Msfalignment.java index f891957..90370f0 100755 --- a/src/vamsas/objects/simple/Msfalignment.java +++ b/src/vamsas/objects/simple/Msfalignment.java @@ -1,103 +1,135 @@ -/** - * Msfalignment.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter. +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. */ - 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; - public Msfalignment() { - } + private java.lang.String notes; - 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; + } + private java.lang.Object __equalsCalc = null; - /** - * Gets the notes value for this Msfalignment. - * - * @return notes - */ - public java.lang.String getNotes() { - return notes; + @Override + public synchronized boolean equals(java.lang.Object obj) + { + if (obj == null) + { + return false; } + if (!(obj instanceof Msfalignment)) + { + return false; + } + Msfalignment other = (Msfalignment) obj; + 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; - /** - * Sets the notes value for this Msfalignment. - * - * @param notes - */ - public void setNotes(java.lang.String notes) { - this.notes = notes; + @Override + public synchronized int hashCode() + { + if (__hashCodeCalc) + { + return 0; } - - 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; + __hashCodeCalc = true; + int _hashCode = 1; + if (getMsf() != null) + { + _hashCode += getMsf().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; + if (getNotes() != null) + { + _hashCode += getNotes().hashCode(); } + __hashCodeCalc = false; + return _hashCode; + } }