2 * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
3 * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
5 * This file is part of Jalview.
7 * Jalview is free software: you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
11 * Jalview is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.
18 package vamsas.objects.simple;
20 public class Result_Helper
23 private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
28 typeDesc.setXmlType(new javax.xml.namespace.QName(
29 "simple.objects.vamsas", "Result"));
30 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
31 elemField.setFieldName("broken");
32 elemField.setXmlName(new javax.xml.namespace.QName("", "broken"));
33 elemField.setXmlType(new javax.xml.namespace.QName(
34 "http://www.w3.org/2001/XMLSchema", "boolean"));
35 typeDesc.addFieldDesc(elemField);
36 elemField = new org.apache.axis.description.ElementDesc();
37 elemField.setFieldName("failed");
38 elemField.setXmlName(new javax.xml.namespace.QName("", "failed"));
39 elemField.setXmlType(new javax.xml.namespace.QName(
40 "http://www.w3.org/2001/XMLSchema", "boolean"));
41 typeDesc.addFieldDesc(elemField);
42 elemField = new org.apache.axis.description.ElementDesc();
43 elemField.setFieldName("finished");
44 elemField.setXmlName(new javax.xml.namespace.QName("", "finished"));
45 elemField.setXmlType(new javax.xml.namespace.QName(
46 "http://www.w3.org/2001/XMLSchema", "boolean"));
47 typeDesc.addFieldDesc(elemField);
48 elemField = new org.apache.axis.description.ElementDesc();
49 elemField.setFieldName("invalid");
50 elemField.setXmlName(new javax.xml.namespace.QName("", "invalid"));
51 elemField.setXmlType(new javax.xml.namespace.QName(
52 "http://www.w3.org/2001/XMLSchema", "boolean"));
53 typeDesc.addFieldDesc(elemField);
54 elemField = new org.apache.axis.description.ElementDesc();
55 elemField.setFieldName("jobFailed");
56 elemField.setXmlName(new javax.xml.namespace.QName("", "jobFailed"));
57 elemField.setXmlType(new javax.xml.namespace.QName(
58 "http://www.w3.org/2001/XMLSchema", "boolean"));
59 typeDesc.addFieldDesc(elemField);
60 elemField = new org.apache.axis.description.ElementDesc();
61 elemField.setFieldName("queued");
62 elemField.setXmlName(new javax.xml.namespace.QName("", "queued"));
63 elemField.setXmlType(new javax.xml.namespace.QName(
64 "http://www.w3.org/2001/XMLSchema", "boolean"));
65 typeDesc.addFieldDesc(elemField);
66 elemField = new org.apache.axis.description.ElementDesc();
67 elemField.setFieldName("running");
68 elemField.setXmlName(new javax.xml.namespace.QName("", "running"));
69 elemField.setXmlType(new javax.xml.namespace.QName(
70 "http://www.w3.org/2001/XMLSchema", "boolean"));
71 typeDesc.addFieldDesc(elemField);
72 elemField = new org.apache.axis.description.ElementDesc();
73 elemField.setFieldName("serverError");
74 elemField.setXmlName(new javax.xml.namespace.QName("", "serverError"));
75 elemField.setXmlType(new javax.xml.namespace.QName(
76 "http://www.w3.org/2001/XMLSchema", "boolean"));
77 typeDesc.addFieldDesc(elemField);
78 elemField = new org.apache.axis.description.ElementDesc();
79 elemField.setFieldName("state");
80 elemField.setXmlName(new javax.xml.namespace.QName("", "state"));
81 elemField.setXmlType(new javax.xml.namespace.QName(
82 "http://www.w3.org/2001/XMLSchema", "int"));
83 typeDesc.addFieldDesc(elemField);
84 elemField = new org.apache.axis.description.ElementDesc();
85 elemField.setFieldName("status");
86 elemField.setXmlName(new javax.xml.namespace.QName("", "status"));
87 elemField.setXmlType(new javax.xml.namespace.QName(
88 "http://schemas.xmlsoap.org/soap/encoding/", "string"));
89 typeDesc.addFieldDesc(elemField);
90 elemField = new org.apache.axis.description.ElementDesc();
91 elemField.setFieldName("suspended");
92 elemField.setXmlName(new javax.xml.namespace.QName("", "suspended"));
93 elemField.setXmlType(new javax.xml.namespace.QName(
94 "http://www.w3.org/2001/XMLSchema", "boolean"));
95 typeDesc.addFieldDesc(elemField);
99 * Return type metadata object
101 public static org.apache.axis.description.TypeDesc getTypeDesc()
107 * Get Custom Serializer
109 public static org.apache.axis.encoding.Serializer getSerializer(
110 java.lang.String mechType, java.lang.Class _javaType,
111 javax.xml.namespace.QName _xmlType)
113 return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,
118 * Get Custom Deserializer
120 public static org.apache.axis.encoding.Deserializer getDeserializer(
121 java.lang.String mechType, java.lang.Class _javaType,
122 javax.xml.namespace.QName _xmlType)
124 return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,