X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fext%2Fvamsas%2FServiceHandle.java;h=83412eacbda89840e00a6fbdb0599b1bc9f04959;hb=6d35ae6c809d36b2e2fa984436134dbff712a377;hp=994ea5c86ac0970179310a513d8d9c761c06f796;hpb=7bc226b58110fa26d9dbd3f0c78095d06909ffc3;p=jalview.git diff --git a/src/ext/vamsas/ServiceHandle.java b/src/ext/vamsas/ServiceHandle.java index 994ea5c..83412ea 100755 --- a/src/ext/vamsas/ServiceHandle.java +++ b/src/ext/vamsas/ServiceHandle.java @@ -1,29 +1,42 @@ -/** - * ServiceHandle.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 ext.vamsas; -public class ServiceHandle - implements java.io.Serializable +public class ServiceHandle implements java.io.Serializable { private java.lang.String abstractName; + private java.lang.String description; + private java.lang.String endpointURL; + private java.lang.String name; public ServiceHandle() { } - public ServiceHandle( - java.lang.String abstractName, - java.lang.String description, - java.lang.String endpointURL, - java.lang.String name) + public ServiceHandle(java.lang.String abstractName, + java.lang.String description, java.lang.String endpointURL, + java.lang.String name) { this.abstractName = abstractName; this.description = description; @@ -33,7 +46,7 @@ public class ServiceHandle /** * Gets the abstractName value for this ServiceHandle. - * + * * @return abstractName */ public java.lang.String getAbstractName() @@ -43,7 +56,7 @@ public class ServiceHandle /** * Sets the abstractName value for this ServiceHandle. - * + * * @param abstractName */ public void setAbstractName(java.lang.String abstractName) @@ -53,7 +66,7 @@ public class ServiceHandle /** * Gets the description value for this ServiceHandle. - * + * * @return description */ public java.lang.String getDescription() @@ -63,7 +76,7 @@ public class ServiceHandle /** * Sets the description value for this ServiceHandle. - * + * * @param description */ public void setDescription(java.lang.String description) @@ -73,7 +86,7 @@ public class ServiceHandle /** * Gets the endpointURL value for this ServiceHandle. - * + * * @return endpointURL */ public java.lang.String getEndpointURL() @@ -83,7 +96,7 @@ public class ServiceHandle /** * Sets the endpointURL value for this ServiceHandle. - * + * * @param endpointURL */ public void setEndpointURL(java.lang.String endpointURL) @@ -93,7 +106,7 @@ public class ServiceHandle /** * Gets the name value for this ServiceHandle. - * + * * @return name */ public java.lang.String getName() @@ -103,7 +116,7 @@ public class ServiceHandle /** * Sets the name value for this ServiceHandle. - * + * * @param name */ public void setName(java.lang.String name) @@ -112,17 +125,18 @@ public class ServiceHandle } private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { - if (! (obj instanceof ServiceHandle)) + if (obj == null) { return false; } - ServiceHandle other = (ServiceHandle) obj; - if (obj == null) + if (!(obj instanceof ServiceHandle)) { return false; } + ServiceHandle other = (ServiceHandle) obj; if (this == obj) { return true; @@ -133,24 +147,21 @@ public class ServiceHandle } __equalsCalc = obj; boolean _equals; - _equals = true && - ( (this.abstractName == null && other.getAbstractName() == null) || - (this.abstractName != null && - this.abstractName.equals(other.getAbstractName()))) && - ( (this.description == null && other.getDescription() == null) || - (this.description != null && - this.description.equals(other.getDescription()))) && - ( (this.endpointURL == null && other.getEndpointURL() == null) || - (this.endpointURL != null && - this.endpointURL.equals(other.getEndpointURL()))) && - ( (this.name == null && other.getName() == null) || - (this.name != null && - this.name.equals(other.getName()))); + _equals = true + && ((this.abstractName == null && other.getAbstractName() == null) || (this.abstractName != null && this.abstractName + .equals(other.getAbstractName()))) + && ((this.description == null && other.getDescription() == null) || (this.description != null && this.description + .equals(other.getDescription()))) + && ((this.endpointURL == null && other.getEndpointURL() == null) || (this.endpointURL != null && this.endpointURL + .equals(other.getEndpointURL()))) + && ((this.name == null && other.getName() == null) || (this.name != null && this.name + .equals(other.getName()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; + public synchronized int hashCode() { if (__hashCodeCalc) @@ -180,37 +191,36 @@ public class ServiceHandle } // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(ServiceHandle.class, true); + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( + ServiceHandle.class, true); static { - typeDesc.setXmlType(new javax.xml.namespace.QName("registry.objects.vamsas", - "ServiceHandle")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis. - description.ElementDesc(); + typeDesc.setXmlType(new javax.xml.namespace.QName( + "registry.objects.vamsas", "ServiceHandle")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("abstractName"); elemField.setXmlName(new javax.xml.namespace.QName("", "abstractName")); elemField.setXmlType(new javax.xml.namespace.QName( - "http://schemas.xmlsoap.org/soap/encoding/", "string")); + "http://schemas.xmlsoap.org/soap/encoding/", "string")); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("description"); elemField.setXmlName(new javax.xml.namespace.QName("", "description")); elemField.setXmlType(new javax.xml.namespace.QName( - "http://schemas.xmlsoap.org/soap/encoding/", "string")); + "http://schemas.xmlsoap.org/soap/encoding/", "string")); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("endpointURL"); elemField.setXmlName(new javax.xml.namespace.QName("", "endpointURL")); elemField.setXmlType(new javax.xml.namespace.QName( - "http://schemas.xmlsoap.org/soap/encoding/", "string")); + "http://schemas.xmlsoap.org/soap/encoding/", "string")); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("name"); elemField.setXmlName(new javax.xml.namespace.QName("", "name")); elemField.setXmlType(new javax.xml.namespace.QName( - "http://schemas.xmlsoap.org/soap/encoding/", "string")); + "http://schemas.xmlsoap.org/soap/encoding/", "string")); typeDesc.addFieldDesc(elemField); } @@ -226,26 +236,22 @@ public class ServiceHandle * Get Custom Serializer */ public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) + java.lang.String mechType, java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); + 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) + java.lang.String mechType, java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, + _xmlType, typeDesc); } }