X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fext%2Fvamsas%2FServiceHandle.java;h=b649c99877f4000dc4b0f8e28b561ab6d5b2b786;hb=797df64fa2a0a30773d0f48f5494d4155e5a8be3;hp=994ea5c86ac0970179310a513d8d9c761c06f796;hpb=7bc226b58110fa26d9dbd3f0c78095d06909ffc3;p=jalview.git diff --git a/src/ext/vamsas/ServiceHandle.java b/src/ext/vamsas/ServiceHandle.java index 994ea5c..b649c99 100755 --- a/src/ext/vamsas/ServiceHandle.java +++ b/src/ext/vamsas/ServiceHandle.java @@ -1,29 +1,39 @@ -/** - * 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 2.7) + * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle + * + * 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 . */ - 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 +43,7 @@ public class ServiceHandle /** * Gets the abstractName value for this ServiceHandle. - * + * * @return abstractName */ public java.lang.String getAbstractName() @@ -43,7 +53,7 @@ public class ServiceHandle /** * Sets the abstractName value for this ServiceHandle. - * + * * @param abstractName */ public void setAbstractName(java.lang.String abstractName) @@ -53,7 +63,7 @@ public class ServiceHandle /** * Gets the description value for this ServiceHandle. - * + * * @return description */ public java.lang.String getDescription() @@ -63,7 +73,7 @@ public class ServiceHandle /** * Sets the description value for this ServiceHandle. - * + * * @param description */ public void setDescription(java.lang.String description) @@ -73,7 +83,7 @@ public class ServiceHandle /** * Gets the endpointURL value for this ServiceHandle. - * + * * @return endpointURL */ public java.lang.String getEndpointURL() @@ -83,7 +93,7 @@ public class ServiceHandle /** * Sets the endpointURL value for this ServiceHandle. - * + * * @param endpointURL */ public void setEndpointURL(java.lang.String endpointURL) @@ -93,7 +103,7 @@ public class ServiceHandle /** * Gets the name value for this ServiceHandle. - * + * * @return name */ public java.lang.String getName() @@ -103,7 +113,7 @@ public class ServiceHandle /** * Sets the name value for this ServiceHandle. - * + * * @param name */ public void setName(java.lang.String name) @@ -112,9 +122,10 @@ public class ServiceHandle } private java.lang.Object __equalsCalc = null; + public synchronized boolean equals(java.lang.Object obj) { - if (! (obj instanceof ServiceHandle)) + if (!(obj instanceof ServiceHandle)) { return false; } @@ -133,24 +144,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 +188,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 +233,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); } }