X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fext%2Fvamsas%2FServiceHandles.java;h=158d7c142140f4621878f0ac7e61b1e9189ca396;hb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;hp=1c4932f20b58c1f049fc7d2056cf34a1196624de;hpb=0dcb4abcf1a0fac137a98d3791ab117cd5bed141;p=jalview.git diff --git a/src/ext/vamsas/ServiceHandles.java b/src/ext/vamsas/ServiceHandles.java index 1c4932f..158d7c1 100755 --- a/src/ext/vamsas/ServiceHandles.java +++ b/src/ext/vamsas/ServiceHandles.java @@ -1,126 +1,157 @@ -/** - * 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.9.0b2) + * 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 . + * The Jalview Authors are detailed in the 'AUTHORS' file. */ - 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 == null) + { + return false; } - - public ServiceHandles( - ext.vamsas.ServiceHandle[] services) { - this.services = services; + if (!(obj instanceof ServiceHandles)) + { + return false; } - - - /** - * Gets the services value for this ServiceHandles. - * - * @return services - */ - public ext.vamsas.ServiceHandle[] getServices() { - return services; + ServiceHandles other = (ServiceHandles) obj; + 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