licencing and format applied (eclipse)
[jalview.git] / src / ext / vamsas / ServiceHandle.java
index 7d95b1a..8b15688 100755 (executable)
  */
 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;
@@ -44,7 +44,7 @@ public class ServiceHandle
 
   /**
    * Gets the abstractName value for this ServiceHandle.
-   *
+   * 
    * @return abstractName
    */
   public java.lang.String getAbstractName()
@@ -54,7 +54,7 @@ public class ServiceHandle
 
   /**
    * Sets the abstractName value for this ServiceHandle.
-   *
+   * 
    * @param abstractName
    */
   public void setAbstractName(java.lang.String abstractName)
@@ -64,7 +64,7 @@ public class ServiceHandle
 
   /**
    * Gets the description value for this ServiceHandle.
-   *
+   * 
    * @return description
    */
   public java.lang.String getDescription()
@@ -74,7 +74,7 @@ public class ServiceHandle
 
   /**
    * Sets the description value for this ServiceHandle.
-   *
+   * 
    * @param description
    */
   public void setDescription(java.lang.String description)
@@ -84,7 +84,7 @@ public class ServiceHandle
 
   /**
    * Gets the endpointURL value for this ServiceHandle.
-   *
+   * 
    * @return endpointURL
    */
   public java.lang.String getEndpointURL()
@@ -94,7 +94,7 @@ public class ServiceHandle
 
   /**
    * Sets the endpointURL value for this ServiceHandle.
-   *
+   * 
    * @param endpointURL
    */
   public void setEndpointURL(java.lang.String endpointURL)
@@ -104,7 +104,7 @@ public class ServiceHandle
 
   /**
    * Gets the name value for this ServiceHandle.
-   *
+   * 
    * @return name
    */
   public java.lang.String getName()
@@ -114,7 +114,7 @@ public class ServiceHandle
 
   /**
    * Sets the name value for this ServiceHandle.
-   *
+   * 
    * @param name
    */
   public void setName(java.lang.String name)
@@ -123,9 +123,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;
     }
@@ -144,24 +145,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)
@@ -191,37 +189,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);
   }
 
@@ -237,26 +234,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);
   }
 
 }