--- /dev/null
+/**
+ * Jpred.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
+ */
+
+package ext.vamsas;
+
+public interface Jpred extends java.rmi.Remote {
+ public java.lang.String predict(vamsas.objects.simple.Sequence seq) throws java.rmi.RemoteException;
+ public java.lang.String predictOnMsa(vamsas.objects.simple.Msfalignment msf) throws java.rmi.RemoteException;
+ public vamsas.objects.simple.Secstructpred getpredict(java.lang.String job_id) throws java.rmi.RemoteException;
+ public vamsas.objects.simple.JpredResult getresult(java.lang.String job_id) throws java.rmi.RemoteException;
+}
+++ /dev/null
-/**
- * JpredResult.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
- */\r
-\r
-/*
-* Jalview - A Sequence Alignment Editor and Viewer
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
-*
-* This program 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 2
-* of the License, or (at your option) any later version.
-*
-* This program 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 this program; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-*/\r
-package ext.vamsas;\r
-\r
-public class JpredResult extends ext.vamsas.Result\r
- implements java.io.Serializable {\r
- // Type metadata\r
- private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(JpredResult.class,\r
- true);\r
-\r
- static {\r
- typeDesc.setXmlType(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "JpredResult"));\r
-\r
- org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("aligfile");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "aligfile"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "string"));\r
- typeDesc.addFieldDesc(elemField);\r
- elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("predfile");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "predfile"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "string"));\r
- typeDesc.addFieldDesc(elemField);\r
- }\r
-\r
- private java.lang.String aligfile;\r
- private java.lang.String predfile;\r
- private java.lang.Object __equalsCalc = null;\r
- private boolean __hashCodeCalc = false;\r
-\r
- public JpredResult() {\r
- }\r
-\r
- public JpredResult(java.lang.String aligfile, java.lang.String predfile) {\r
- this.aligfile = aligfile;\r
- this.predfile = predfile;\r
- }\r
-\r
- /**
- * Gets the aligfile value for this JpredResult.
- *
- * @return aligfile
- */\r
- public java.lang.String getAligfile() {\r
- return aligfile;\r
- }\r
-\r
- /**
- * Sets the aligfile value for this JpredResult.
- *
- * @param aligfile
- */\r
- public void setAligfile(java.lang.String aligfile) {\r
- this.aligfile = aligfile;\r
- }\r
-\r
- /**
- * Gets the predfile value for this JpredResult.
- *
- * @return predfile
- */\r
- public java.lang.String getPredfile() {\r
- return predfile;\r
- }\r
-\r
- /**
- * Sets the predfile value for this JpredResult.
- *
- * @param predfile
- */\r
- public void setPredfile(java.lang.String predfile) {\r
- this.predfile = predfile;\r
- }\r
-\r
- public synchronized boolean equals(java.lang.Object obj) {\r
- if (!(obj instanceof JpredResult)) {\r
- return false;\r
- }\r
-\r
- JpredResult other = (JpredResult) obj;\r
-\r
- if (obj == null) {\r
- return false;\r
- }\r
-\r
- if (this == obj) {\r
- return true;\r
- }\r
-\r
- if (__equalsCalc != null) {\r
- return (__equalsCalc == obj);\r
- }\r
-\r
- __equalsCalc = obj;\r
-\r
- boolean _equals;\r
- _equals = super.equals(obj) &&\r
- (((this.aligfile == null) && (other.getAligfile() == null)) ||\r
- ((this.aligfile != null) &&\r
- this.aligfile.equals(other.getAligfile()))) &&\r
- (((this.predfile == null) && (other.getPredfile() == null)) ||\r
- ((this.predfile != null) &&\r
- this.predfile.equals(other.getPredfile())));\r
- __equalsCalc = null;\r
-\r
- return _equals;\r
- }\r
-\r
- public synchronized int hashCode() {\r
- if (__hashCodeCalc) {\r
- return 0;\r
- }\r
-\r
- __hashCodeCalc = true;\r
-\r
- int _hashCode = super.hashCode();\r
-\r
- if (getAligfile() != null) {\r
- _hashCode += getAligfile().hashCode();\r
- }\r
-\r
- if (getPredfile() != null) {\r
- _hashCode += getPredfile().hashCode();\r
- }\r
-\r
- __hashCodeCalc = false;\r
-\r
- return _hashCode;\r
- }\r
-\r
- /**
- * Return type metadata object
- */\r
- public static org.apache.axis.description.TypeDesc getTypeDesc() {\r
- return typeDesc;\r
- }\r
-\r
- /**
- * Get Custom Serializer
- */\r
- public static org.apache.axis.encoding.Serializer getSerializer(\r
- java.lang.String mechType, java.lang.Class _javaType,\r
- javax.xml.namespace.QName _xmlType) {\r
- return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,\r
- _xmlType, typeDesc);\r
- }\r
-\r
- /**
- * Get Custom Deserializer
- */\r
- public static org.apache.axis.encoding.Deserializer getDeserializer(\r
- java.lang.String mechType, java.lang.Class _javaType,\r
- javax.xml.namespace.QName _xmlType) {\r
- return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,\r
- _xmlType, typeDesc);\r
- }\r
-}\r
--- /dev/null
+/**
+ * JpredService.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
+ */
+
+package ext.vamsas;
+
+public interface JpredService extends javax.xml.rpc.Service {
+ public java.lang.String getjpredAddress();
+
+ public ext.vamsas.Jpred getjpred() throws javax.xml.rpc.ServiceException;
+
+ public ext.vamsas.Jpred getjpred(java.net.URL portAddress) throws javax.xml.rpc.ServiceException;
+}
--- /dev/null
+/**
+ * JpredServiceLocator.java
+ *
+ * This file was auto-generated from WSDL
+ * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
+ */
+
+package ext.vamsas;
+
+public class JpredServiceLocator extends org.apache.axis.client.Service implements ext.vamsas.JpredService {
+
+ public JpredServiceLocator() {
+ }
+
+
+ public JpredServiceLocator(org.apache.axis.EngineConfiguration config) {
+ super(config);
+ }
+
+ // Use to get a proxy class for jpred
+ private java.lang.String jpred_address = "http://www.compbio.dundee.ac.uk/JalviewWS/services/jpred";
+
+ public java.lang.String getjpredAddress() {
+ return jpred_address;
+ }
+
+ // The WSDD service name defaults to the port name.
+ private java.lang.String jpredWSDDServiceName = "jpred";
+
+ public java.lang.String getjpredWSDDServiceName() {
+ return jpredWSDDServiceName;
+ }
+
+ public void setjpredWSDDServiceName(java.lang.String name) {
+ jpredWSDDServiceName = name;
+ }
+
+ public ext.vamsas.Jpred getjpred() throws javax.xml.rpc.ServiceException {
+ java.net.URL endpoint;
+ try {
+ endpoint = new java.net.URL(jpred_address);
+ }
+ catch (java.net.MalformedURLException e) {
+ throw new javax.xml.rpc.ServiceException(e);
+ }
+ return getjpred(endpoint);
+ }
+
+ public ext.vamsas.Jpred getjpred(java.net.URL portAddress) throws javax.xml.rpc.ServiceException {
+ try {
+ ext.vamsas.JpredSoapBindingStub _stub = new ext.vamsas.JpredSoapBindingStub(portAddress, this);
+ _stub.setPortName(getjpredWSDDServiceName());
+ return _stub;
+ }
+ catch (org.apache.axis.AxisFault e) {
+ return null;
+ }
+ }
+
+ public void setjpredEndpointAddress(java.lang.String address) {
+ jpred_address = address;
+ }
+
+ /**
+ * For the given interface, get the stub implementation.
+ * If this service has no port for the given interface,
+ * then ServiceException is thrown.
+ */
+ public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
+ try {
+ if (ext.vamsas.Jpred.class.isAssignableFrom(serviceEndpointInterface)) {
+ ext.vamsas.JpredSoapBindingStub _stub = new ext.vamsas.JpredSoapBindingStub(new java.net.URL(jpred_address), this);
+ _stub.setPortName(getjpredWSDDServiceName());
+ return _stub;
+ }
+ }
+ catch (java.lang.Throwable t) {
+ throw new javax.xml.rpc.ServiceException(t);
+ }
+ throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
+ }
+
+ /**
+ * For the given interface, get the stub implementation.
+ * If this service has no port for the given interface,
+ * then ServiceException is thrown.
+ */
+ public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
+ if (portName == null) {
+ return getPort(serviceEndpointInterface);
+ }
+ java.lang.String inputPortName = portName.getLocalPart();
+ if ("jpred".equals(inputPortName)) {
+ return getjpred();
+ }
+ else {
+ java.rmi.Remote _stub = getPort(serviceEndpointInterface);
+ ((org.apache.axis.client.Stub) _stub).setPortName(portName);
+ return _stub;
+ }
+ }
+
+ public javax.xml.namespace.QName getServiceName() {
+ return new javax.xml.namespace.QName("vamsas", "jpredService");
+ }
+
+ private java.util.HashSet ports = null;
+
+ public java.util.Iterator getPorts() {
+ if (ports == null) {
+ ports = new java.util.HashSet();
+ ports.add(new javax.xml.namespace.QName("vamsas", "jpred"));
+ }
+ return ports.iterator();
+ }
+
+ /**
+ * Set the endpoint address for the specified port name.
+ */
+ public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
+ if ("jpred".equals(portName)) {
+ setjpredEndpointAddress(address);
+ }
+ else { // Unknown Port Name
+ throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
+ }
+ }
+
+ /**
+ * Set the endpoint address for the specified port name.
+ */
+ public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
+ setEndpointAddress(portName.getLocalPart(), address);
+ }
+
+}
+++ /dev/null
-/**
- * Msfalignment.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
- */\r
-\r
-/*
-* Jalview - A Sequence Alignment Editor and Viewer
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
-*
-* This program 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 2
-* of the License, or (at your option) any later version.
-*
-* This program 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 this program; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-*/\r
-package ext.vamsas;\r
-\r
-public class Msfalignment implements java.io.Serializable {\r
- // Type metadata\r
- private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Msfalignment.class,\r
- true);\r
-\r
- static {\r
- typeDesc.setXmlType(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "Msfalignment"));\r
-\r
- org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("msf");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "msf"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "string"));\r
- typeDesc.addFieldDesc(elemField);\r
- elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("notes");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "notes"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "string"));\r
- typeDesc.addFieldDesc(elemField);\r
- }\r
-\r
- private java.lang.String msf;\r
- private java.lang.String notes;\r
- private java.lang.Object __equalsCalc = null;\r
- private boolean __hashCodeCalc = false;\r
-\r
- public Msfalignment() {\r
- }\r
-\r
- public Msfalignment(java.lang.String msf, java.lang.String notes) {\r
- this.msf = msf;\r
- this.notes = notes;\r
- }\r
-\r
- /**
- * Gets the msf value for this Msfalignment.
- *
- * @return msf
- */\r
- public java.lang.String getMsf() {\r
- return msf;\r
- }\r
-\r
- /**
- * Sets the msf value for this Msfalignment.
- *
- * @param msf
- */\r
- public void setMsf(java.lang.String msf) {\r
- this.msf = msf;\r
- }\r
-\r
- /**
- * Gets the notes value for this Msfalignment.
- *
- * @return notes
- */\r
- public java.lang.String getNotes() {\r
- return notes;\r
- }\r
-\r
- /**
- * Sets the notes value for this Msfalignment.
- *
- * @param notes
- */\r
- public void setNotes(java.lang.String notes) {\r
- this.notes = notes;\r
- }\r
-\r
- public synchronized boolean equals(java.lang.Object obj) {\r
- if (!(obj instanceof Msfalignment)) {\r
- return false;\r
- }\r
-\r
- Msfalignment other = (Msfalignment) obj;\r
-\r
- if (obj == null) {\r
- return false;\r
- }\r
-\r
- if (this == obj) {\r
- return true;\r
- }\r
-\r
- if (__equalsCalc != null) {\r
- return (__equalsCalc == obj);\r
- }\r
-\r
- __equalsCalc = obj;\r
-\r
- boolean _equals;\r
- _equals = true &&\r
- (((this.msf == null) && (other.getMsf() == null)) ||\r
- ((this.msf != null) && this.msf.equals(other.getMsf()))) &&\r
- (((this.notes == null) && (other.getNotes() == null)) ||\r
- ((this.notes != null) && this.notes.equals(other.getNotes())));\r
- __equalsCalc = null;\r
-\r
- return _equals;\r
- }\r
-\r
- public synchronized int hashCode() {\r
- if (__hashCodeCalc) {\r
- return 0;\r
- }\r
-\r
- __hashCodeCalc = true;\r
-\r
- int _hashCode = 1;\r
-\r
- if (getMsf() != null) {\r
- _hashCode += getMsf().hashCode();\r
- }\r
-\r
- if (getNotes() != null) {\r
- _hashCode += getNotes().hashCode();\r
- }\r
-\r
- __hashCodeCalc = false;\r
-\r
- return _hashCode;\r
- }\r
-\r
- /**
- * Return type metadata object
- */\r
- public static org.apache.axis.description.TypeDesc getTypeDesc() {\r
- return typeDesc;\r
- }\r
-\r
- /**
- * Get Custom Serializer
- */\r
- public static org.apache.axis.encoding.Serializer getSerializer(\r
- java.lang.String mechType, java.lang.Class _javaType,\r
- javax.xml.namespace.QName _xmlType) {\r
- return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,\r
- _xmlType, typeDesc);\r
- }\r
-\r
- /**
- * Get Custom Deserializer
- */\r
- public static org.apache.axis.encoding.Deserializer getDeserializer(\r
- java.lang.String mechType, java.lang.Class _javaType,\r
- javax.xml.namespace.QName _xmlType) {\r
- return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,\r
- _xmlType, typeDesc);\r
- }\r
-}\r
+++ /dev/null
-/**
- * Result.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
- */\r
-\r
-/*
-* Jalview - A Sequence Alignment Editor and Viewer
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
-*
-* This program 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 2
-* of the License, or (at your option) any later version.
-*
-* This program 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 this program; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-*/\r
-package ext.vamsas;\r
-\r
-public class Result implements java.io.Serializable {\r
- // Type metadata\r
- private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Result.class,\r
- true);\r
-\r
- static {\r
- typeDesc.setXmlType(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "Result"));\r
-\r
- org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("broken");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "broken"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "boolean"));\r
- typeDesc.addFieldDesc(elemField);\r
- elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("failed");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "failed"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "boolean"));\r
- typeDesc.addFieldDesc(elemField);\r
- elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("finished");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "finished"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "boolean"));\r
- typeDesc.addFieldDesc(elemField);\r
- elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("invalid");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "invalid"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "boolean"));\r
- typeDesc.addFieldDesc(elemField);\r
- elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("jobFailed");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "jobFailed"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "boolean"));\r
- typeDesc.addFieldDesc(elemField);\r
- elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("queued");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "queued"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "boolean"));\r
- typeDesc.addFieldDesc(elemField);\r
- elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("running");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "running"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "boolean"));\r
- typeDesc.addFieldDesc(elemField);\r
- elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("serverError");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "serverError"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "boolean"));\r
- typeDesc.addFieldDesc(elemField);\r
- elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("state");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "state"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "int"));\r
- typeDesc.addFieldDesc(elemField);\r
- elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("status");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "status"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "string"));\r
- typeDesc.addFieldDesc(elemField);\r
- elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("suspended");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "suspended"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "boolean"));\r
- typeDesc.addFieldDesc(elemField);\r
- }\r
-\r
- private boolean broken;\r
- private boolean failed;\r
- private boolean finished;\r
- private boolean invalid;\r
- private boolean jobFailed;\r
- private boolean queued;\r
- private boolean running;\r
- private boolean serverError;\r
- private int state;\r
- private java.lang.String status;\r
- private boolean suspended;\r
- private java.lang.Object __equalsCalc = null;\r
- private boolean __hashCodeCalc = false;\r
-\r
- public Result() {\r
- }\r
-\r
- public Result(boolean broken, boolean failed, boolean finished,\r
- boolean invalid, boolean jobFailed, boolean queued, boolean running,\r
- boolean serverError, int state, java.lang.String status,\r
- boolean suspended) {\r
- this.broken = broken;\r
- this.failed = failed;\r
- this.finished = finished;\r
- this.invalid = invalid;\r
- this.jobFailed = jobFailed;\r
- this.queued = queued;\r
- this.running = running;\r
- this.serverError = serverError;\r
- this.state = state;\r
- this.status = status;\r
- this.suspended = suspended;\r
- }\r
-\r
- /**
- * Gets the broken value for this Result.
- *
- * @return broken
- */\r
- public boolean isBroken() {\r
- return broken;\r
- }\r
-\r
- /**
- * Sets the broken value for this Result.
- *
- * @param broken
- */\r
- public void setBroken(boolean broken) {\r
- this.broken = broken;\r
- }\r
-\r
- /**
- * Gets the failed value for this Result.
- *
- * @return failed
- */\r
- public boolean isFailed() {\r
- return failed;\r
- }\r
-\r
- /**
- * Sets the failed value for this Result.
- *
- * @param failed
- */\r
- public void setFailed(boolean failed) {\r
- this.failed = failed;\r
- }\r
-\r
- /**
- * Gets the finished value for this Result.
- *
- * @return finished
- */\r
- public boolean isFinished() {\r
- return finished;\r
- }\r
-\r
- /**
- * Sets the finished value for this Result.
- *
- * @param finished
- */\r
- public void setFinished(boolean finished) {\r
- this.finished = finished;\r
- }\r
-\r
- /**
- * Gets the invalid value for this Result.
- *
- * @return invalid
- */\r
- public boolean isInvalid() {\r
- return invalid;\r
- }\r
-\r
- /**
- * Sets the invalid value for this Result.
- *
- * @param invalid
- */\r
- public void setInvalid(boolean invalid) {\r
- this.invalid = invalid;\r
- }\r
-\r
- /**
- * Gets the jobFailed value for this Result.
- *
- * @return jobFailed
- */\r
- public boolean isJobFailed() {\r
- return jobFailed;\r
- }\r
-\r
- /**
- * Sets the jobFailed value for this Result.
- *
- * @param jobFailed
- */\r
- public void setJobFailed(boolean jobFailed) {\r
- this.jobFailed = jobFailed;\r
- }\r
-\r
- /**
- * Gets the queued value for this Result.
- *
- * @return queued
- */\r
- public boolean isQueued() {\r
- return queued;\r
- }\r
-\r
- /**
- * Sets the queued value for this Result.
- *
- * @param queued
- */\r
- public void setQueued(boolean queued) {\r
- this.queued = queued;\r
- }\r
-\r
- /**
- * Gets the running value for this Result.
- *
- * @return running
- */\r
- public boolean isRunning() {\r
- return running;\r
- }\r
-\r
- /**
- * Sets the running value for this Result.
- *
- * @param running
- */\r
- public void setRunning(boolean running) {\r
- this.running = running;\r
- }\r
-\r
- /**
- * Gets the serverError value for this Result.
- *
- * @return serverError
- */\r
- public boolean isServerError() {\r
- return serverError;\r
- }\r
-\r
- /**
- * Sets the serverError value for this Result.
- *
- * @param serverError
- */\r
- public void setServerError(boolean serverError) {\r
- this.serverError = serverError;\r
- }\r
-\r
- /**
- * Gets the state value for this Result.
- *
- * @return state
- */\r
- public int getState() {\r
- return state;\r
- }\r
-\r
- /**
- * Sets the state value for this Result.
- *
- * @param state
- */\r
- public void setState(int state) {\r
- this.state = state;\r
- }\r
-\r
- /**
- * Gets the status value for this Result.
- *
- * @return status
- */\r
- public java.lang.String getStatus() {\r
- return status;\r
- }\r
-\r
- /**
- * Sets the status value for this Result.
- *
- * @param status
- */\r
- public void setStatus(java.lang.String status) {\r
- this.status = status;\r
- }\r
-\r
- /**
- * Gets the suspended value for this Result.
- *
- * @return suspended
- */\r
- public boolean isSuspended() {\r
- return suspended;\r
- }\r
-\r
- /**
- * Sets the suspended value for this Result.
- *
- * @param suspended
- */\r
- public void setSuspended(boolean suspended) {\r
- this.suspended = suspended;\r
- }\r
-\r
- public synchronized boolean equals(java.lang.Object obj) {\r
- if (!(obj instanceof Result)) {\r
- return false;\r
- }\r
-\r
- Result other = (Result) obj;\r
-\r
- if (obj == null) {\r
- return false;\r
- }\r
-\r
- if (this == obj) {\r
- return true;\r
- }\r
-\r
- if (__equalsCalc != null) {\r
- return (__equalsCalc == obj);\r
- }\r
-\r
- __equalsCalc = obj;\r
-\r
- boolean _equals;\r
- _equals = true && (this.broken == other.isBroken()) &&\r
- (this.failed == other.isFailed()) &&\r
- (this.finished == other.isFinished()) &&\r
- (this.invalid == other.isInvalid()) &&\r
- (this.jobFailed == other.isJobFailed()) &&\r
- (this.queued == other.isQueued()) &&\r
- (this.running == other.isRunning()) &&\r
- (this.serverError == other.isServerError()) &&\r
- (this.state == other.getState()) &&\r
- (((this.status == null) && (other.getStatus() == null)) ||\r
- ((this.status != null) && this.status.equals(other.getStatus()))) &&\r
- (this.suspended == other.isSuspended());\r
- __equalsCalc = null;\r
-\r
- return _equals;\r
- }\r
-\r
- public synchronized int hashCode() {\r
- if (__hashCodeCalc) {\r
- return 0;\r
- }\r
-\r
- __hashCodeCalc = true;\r
-\r
- int _hashCode = 1;\r
- _hashCode += (isBroken() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isFinished() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isInvalid() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isJobFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isQueued() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isRunning() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isServerError() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += getState();\r
-\r
- if (getStatus() != null) {\r
- _hashCode += getStatus().hashCode();\r
- }\r
-\r
- _hashCode += (isSuspended() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- __hashCodeCalc = false;\r
-\r
- return _hashCode;\r
- }\r
-\r
- /**
- * Return type metadata object
- */\r
- public static org.apache.axis.description.TypeDesc getTypeDesc() {\r
- return typeDesc;\r
- }\r
-\r
- /**
- * Get Custom Serializer
- */\r
- public static org.apache.axis.encoding.Serializer getSerializer(\r
- java.lang.String mechType, java.lang.Class _javaType,\r
- javax.xml.namespace.QName _xmlType) {\r
- return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,\r
- _xmlType, typeDesc);\r
- }\r
-\r
- /**
- * Get Custom Deserializer
- */\r
- public static org.apache.axis.encoding.Deserializer getDeserializer(\r
- java.lang.String mechType, java.lang.Class _javaType,\r
- javax.xml.namespace.QName _xmlType) {\r
- return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,\r
- _xmlType, typeDesc);\r
- }\r
-}\r
+++ /dev/null
-/**
- * Secstructpred.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
- */\r
-\r
-/*
-* Jalview - A Sequence Alignment Editor and Viewer
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
-*
-* This program 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 2
-* of the License, or (at your option) any later version.
-*
-* This program 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 this program; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-*/\r
-package ext.vamsas;\r
-\r
-public class Secstructpred implements java.io.Serializable {\r
- // Type metadata\r
- private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Secstructpred.class,\r
- true);\r
-\r
- static {\r
- typeDesc.setXmlType(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "Secstructpred"));\r
-\r
- org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("output");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "output"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "string"));\r
- typeDesc.addFieldDesc(elemField);\r
- }\r
-\r
- private java.lang.String output;\r
- private java.lang.Object __equalsCalc = null;\r
- private boolean __hashCodeCalc = false;\r
-\r
- public Secstructpred() {\r
- }\r
-\r
- public Secstructpred(java.lang.String output) {\r
- this.output = output;\r
- }\r
-\r
- /**
- * Gets the output value for this Secstructpred.
- *
- * @return output
- */\r
- public java.lang.String getOutput() {\r
- return output;\r
- }\r
-\r
- /**
- * Sets the output value for this Secstructpred.
- *
- * @param output
- */\r
- public void setOutput(java.lang.String output) {\r
- this.output = output;\r
- }\r
-\r
- public synchronized boolean equals(java.lang.Object obj) {\r
- if (!(obj instanceof Secstructpred)) {\r
- return false;\r
- }\r
-\r
- Secstructpred other = (Secstructpred) obj;\r
-\r
- if (obj == null) {\r
- return false;\r
- }\r
-\r
- if (this == obj) {\r
- return true;\r
- }\r
-\r
- if (__equalsCalc != null) {\r
- return (__equalsCalc == obj);\r
- }\r
-\r
- __equalsCalc = obj;\r
-\r
- boolean _equals;\r
- _equals = true &&\r
- (((this.output == null) && (other.getOutput() == null)) ||\r
- ((this.output != null) && this.output.equals(other.getOutput())));\r
- __equalsCalc = null;\r
-\r
- return _equals;\r
- }\r
-\r
- public synchronized int hashCode() {\r
- if (__hashCodeCalc) {\r
- return 0;\r
- }\r
-\r
- __hashCodeCalc = true;\r
-\r
- int _hashCode = 1;\r
-\r
- if (getOutput() != null) {\r
- _hashCode += getOutput().hashCode();\r
- }\r
-\r
- __hashCodeCalc = false;\r
-\r
- return _hashCode;\r
- }\r
-\r
- /**
- * Return type metadata object
- */\r
- public static org.apache.axis.description.TypeDesc getTypeDesc() {\r
- return typeDesc;\r
- }\r
-\r
- /**
- * Get Custom Serializer
- */\r
- public static org.apache.axis.encoding.Serializer getSerializer(\r
- java.lang.String mechType, java.lang.Class _javaType,\r
- javax.xml.namespace.QName _xmlType) {\r
- return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,\r
- _xmlType, typeDesc);\r
- }\r
-\r
- /**
- * Get Custom Deserializer
- */\r
- public static org.apache.axis.encoding.Deserializer getDeserializer(\r
- java.lang.String mechType, java.lang.Class _javaType,\r
- javax.xml.namespace.QName _xmlType) {\r
- return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,\r
- _xmlType, typeDesc);\r
- }\r
-}\r
+++ /dev/null
-/**
- * Sequence.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
- */\r
-\r
-/*
-* Jalview - A Sequence Alignment Editor and Viewer
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
-*
-* This program 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 2
-* of the License, or (at your option) any later version.
-*
-* This program 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 this program; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-*/\r
-package ext.vamsas;\r
-\r
-public class Sequence implements java.io.Serializable {\r
- // Type metadata\r
- private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Sequence.class,\r
- true);\r
-\r
- static {\r
- typeDesc.setXmlType(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "Sequence"));\r
-\r
- org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("id");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "id"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "string"));\r
- typeDesc.addFieldDesc(elemField);\r
- elemField = new org.apache.axis.description.ElementDesc();\r
- elemField.setFieldName("seq");\r
- elemField.setXmlName(new javax.xml.namespace.QName(\r
- "http://dataTypes.vamsas", "seq"));\r
- elemField.setXmlType(new javax.xml.namespace.QName(\r
- "http://www.w3.org/2001/XMLSchema", "string"));\r
- typeDesc.addFieldDesc(elemField);\r
- }\r
-\r
- private java.lang.String id;\r
- private java.lang.String seq;\r
- private java.lang.Object __equalsCalc = null;\r
- private boolean __hashCodeCalc = false;\r
-\r
- public Sequence() {\r
- }\r
-\r
- public Sequence(java.lang.String id, java.lang.String seq) {\r
- this.id = id;\r
- this.seq = seq;\r
- }\r
-\r
- /**
- * Gets the id value for this Sequence.
- *
- * @return id
- */\r
- public java.lang.String getId() {\r
- return id;\r
- }\r
-\r
- /**
- * Sets the id value for this Sequence.
- *
- * @param id
- */\r
- public void setId(java.lang.String id) {\r
- this.id = id;\r
- }\r
-\r
- /**
- * Gets the seq value for this Sequence.
- *
- * @return seq
- */\r
- public java.lang.String getSeq() {\r
- return seq;\r
- }\r
-\r
- /**
- * Sets the seq value for this Sequence.
- *
- * @param seq
- */\r
- public void setSeq(java.lang.String seq) {\r
- this.seq = seq;\r
- }\r
-\r
- public synchronized boolean equals(java.lang.Object obj) {\r
- if (!(obj instanceof Sequence)) {\r
- return false;\r
- }\r
-\r
- Sequence other = (Sequence) obj;\r
-\r
- if (obj == null) {\r
- return false;\r
- }\r
-\r
- if (this == obj) {\r
- return true;\r
- }\r
-\r
- if (__equalsCalc != null) {\r
- return (__equalsCalc == obj);\r
- }\r
-\r
- __equalsCalc = obj;\r
-\r
- boolean _equals;\r
- _equals = true &&\r
- (((this.id == null) && (other.getId() == null)) ||\r
- ((this.id != null) && this.id.equals(other.getId()))) &&\r
- (((this.seq == null) && (other.getSeq() == null)) ||\r
- ((this.seq != null) && this.seq.equals(other.getSeq())));\r
- __equalsCalc = null;\r
-\r
- return _equals;\r
- }\r
-\r
- public synchronized int hashCode() {\r
- if (__hashCodeCalc) {\r
- return 0;\r
- }\r
-\r
- __hashCodeCalc = true;\r
-\r
- int _hashCode = 1;\r
-\r
- if (getId() != null) {\r
- _hashCode += getId().hashCode();\r
- }\r
-\r
- if (getSeq() != null) {\r
- _hashCode += getSeq().hashCode();\r
- }\r
-\r
- __hashCodeCalc = false;\r
-\r
- return _hashCode;\r
- }\r
-\r
- /**
- * Return type metadata object
- */\r
- public static org.apache.axis.description.TypeDesc getTypeDesc() {\r
- return typeDesc;\r
- }\r
-\r
- /**
- * Get Custom Serializer
- */\r
- public static org.apache.axis.encoding.Serializer getSerializer(\r
- java.lang.String mechType, java.lang.Class _javaType,\r
- javax.xml.namespace.QName _xmlType) {\r
- return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,\r
- _xmlType, typeDesc);\r
- }\r
-\r
- /**
- * Get Custom Deserializer
- */\r
- public static org.apache.axis.encoding.Deserializer getDeserializer(\r
- java.lang.String mechType, java.lang.Class _javaType,\r
- javax.xml.namespace.QName _xmlType) {\r
- return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,\r
- _xmlType, typeDesc);\r
- }\r
-}\r