X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fext%2Fvamsas%2FMsfalignment.java;h=c9fbf8510621aa02f70e384e823bc8069699971d;hb=8ed0e40c3fcba8396c749d2250a4221a5099ed29;hp=d94e2b9488c5a237c13ea942f633b4f55bd36a9f;hpb=99c58ee0ae2a848f982552e53feaf6d5cb9925e5;p=jalview.git diff --git a/src/ext/vamsas/Msfalignment.java b/src/ext/vamsas/Msfalignment.java index d94e2b9..c9fbf85 100755 --- a/src/ext/vamsas/Msfalignment.java +++ b/src/ext/vamsas/Msfalignment.java @@ -3,8 +3,8 @@ * * 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 * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle @@ -22,150 +22,161 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA -*/ - -package ext.vamsas; - -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; - } - - +*/ +package ext.vamsas; + +public class Msfalignment implements java.io.Serializable { + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Msfalignment.class, + true); + + static { + typeDesc.setXmlType(new javax.xml.namespace.QName( + "http://dataTypes.vamsas", "Msfalignment")); + + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("msf"); + elemField.setXmlName(new javax.xml.namespace.QName( + "http://dataTypes.vamsas", "msf")); + elemField.setXmlType(new javax.xml.namespace.QName( + "http://www.w3.org/2001/XMLSchema", "string")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("notes"); + elemField.setXmlName(new javax.xml.namespace.QName( + "http://dataTypes.vamsas", "notes")); + elemField.setXmlType(new javax.xml.namespace.QName( + "http://www.w3.org/2001/XMLSchema", "string")); + typeDesc.addFieldDesc(elemField); + } + + private java.lang.String msf; + private java.lang.String notes; + private java.lang.Object __equalsCalc = null; + private boolean __hashCodeCalc = false; + + 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; - } - - + * 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; - 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; - } - - 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; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(Msfalignment.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://dataTypes.vamsas", "Msfalignment")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("msf"); - elemField.setXmlName(new javax.xml.namespace.QName("http://dataTypes.vamsas", "msf")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("notes"); - elemField.setXmlName(new javax.xml.namespace.QName("http://dataTypes.vamsas", "notes")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - typeDesc.addFieldDesc(elemField); - } - + * Sets the notes value for this Msfalignment. + * + * @param notes + */ + public void setNotes(java.lang.String notes) { + this.notes = notes; + } + + 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; + } + + 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; + } + /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() { + return typeDesc; + } + /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, + _xmlType, typeDesc); + } + /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, + _xmlType, typeDesc); + } +}