X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fext%2Fvamsas%2FServiceHandles.java;h=a9912e157feec64b8c894175fdbdfd3ae408e5d4;hb=80c223c45fde0899c9794e887801dd82fffd3452;hp=1c4932f20b58c1f049fc7d2056cf34a1196624de;hpb=0dcb4abcf1a0fac137a98d3791ab117cd5bed141;p=jalview.git
diff --git a/src/ext/vamsas/ServiceHandles.java b/src/ext/vamsas/ServiceHandles.java
index 1c4932f..a9912e1 100755
--- a/src/ext/vamsas/ServiceHandles.java
+++ b/src/ext/vamsas/ServiceHandles.java
@@ -1,126 +1,154 @@
-/**
- * ServiceHandles.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.8)
+ * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, 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 ServiceHandles implements java.io.Serializable {
- private ext.vamsas.ServiceHandle[] services;
-
- public ServiceHandles() {
+public class ServiceHandles implements java.io.Serializable
+{
+ private ext.vamsas.ServiceHandle[] services;
+
+ public ServiceHandles()
+ {
+ }
+
+ public ServiceHandles(ext.vamsas.ServiceHandle[] services)
+ {
+ this.services = services;
+ }
+
+ /**
+ * Gets the services value for this ServiceHandles.
+ *
+ * @return services
+ */
+ public ext.vamsas.ServiceHandle[] getServices()
+ {
+ return services;
+ }
+
+ /**
+ * Sets the services value for this ServiceHandles.
+ *
+ * @param services
+ */
+ public void setServices(ext.vamsas.ServiceHandle[] services)
+ {
+ this.services = services;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+
+ public synchronized boolean equals(java.lang.Object obj)
+ {
+ if (!(obj instanceof ServiceHandles))
+ {
+ return false;
}
-
- public ServiceHandles(
- ext.vamsas.ServiceHandle[] services) {
- this.services = services;
+ ServiceHandles other = (ServiceHandles) obj;
+ if (obj == null)
+ {
+ return false;
}
-
-
- /**
- * Gets the services value for this ServiceHandles.
- *
- * @return services
- */
- public ext.vamsas.ServiceHandle[] getServices() {
- return services;
+ if (this == obj)
+ {
+ return true;
}
-
-
- /**
- * Sets the services value for this ServiceHandles.
- *
- * @param services
- */
- public void setServices(ext.vamsas.ServiceHandle[] services) {
- this.services = services;
+ if (__equalsCalc != null)
+ {
+ return (__equalsCalc == obj);
}
-
- private java.lang.Object __equalsCalc = null;
- public synchronized boolean equals(java.lang.Object obj) {
- if (!(obj instanceof ServiceHandles)) return false;
- ServiceHandles other = (ServiceHandles) obj;
- if (obj == null) return false;
- if (this == obj) return true;
- if (__equalsCalc != null) {
- return (__equalsCalc == obj);
- }
- __equalsCalc = obj;
- boolean _equals;
- _equals = true &&
- ((this.services==null && other.getServices()==null) ||
- (this.services!=null &&
- java.util.Arrays.equals(this.services, other.getServices())));
- __equalsCalc = null;
- return _equals;
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true && ((this.services == null && other.getServices() == null) || (this.services != null && java.util.Arrays
+ .equals(this.services, other.getServices())));
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+
+ public synchronized int hashCode()
+ {
+ if (__hashCodeCalc)
+ {
+ return 0;
}
-
- private boolean __hashCodeCalc = false;
- public synchronized int hashCode() {
- if (__hashCodeCalc) {
- return 0;
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ if (getServices() != null)
+ {
+ for (int i = 0; i < java.lang.reflect.Array.getLength(getServices()); i++)
+ {
+ java.lang.Object obj = java.lang.reflect.Array
+ .get(getServices(), i);
+ if (obj != null && !obj.getClass().isArray())
+ {
+ _hashCode += obj.hashCode();
}
- __hashCodeCalc = true;
- int _hashCode = 1;
- if (getServices() != null) {
- for (int i=0;
- i