-/**
- * 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.9.0b1)
+ * Copyright (C) 2015 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 <http://www.gnu.org/licenses/>.
+ * 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;
/**
* Gets the abstractName value for this ServiceHandle.
- *
+ *
* @return abstractName
*/
public java.lang.String getAbstractName()
/**
* Sets the abstractName value for this ServiceHandle.
- *
+ *
* @param abstractName
*/
public void setAbstractName(java.lang.String abstractName)
/**
* Gets the description value for this ServiceHandle.
- *
+ *
* @return description
*/
public java.lang.String getDescription()
/**
* Sets the description value for this ServiceHandle.
- *
+ *
* @param description
*/
public void setDescription(java.lang.String description)
/**
* Gets the endpointURL value for this ServiceHandle.
- *
+ *
* @return endpointURL
*/
public java.lang.String getEndpointURL()
/**
* Sets the endpointURL value for this ServiceHandle.
- *
+ *
* @param endpointURL
*/
public void setEndpointURL(java.lang.String endpointURL)
/**
* Gets the name value for this ServiceHandle.
- *
+ *
* @return name
*/
public java.lang.String getName()
/**
* Sets the name value for this ServiceHandle.
- *
+ *
* @param name
*/
public void setName(java.lang.String name)
}
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;
}
__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)
}
// 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);
}
* 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);
}
}