View Javadoc

1   /***
2    * ExecutionSummaryType.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis WSDL2Java emitter.
6    */
7   
8   package org.astrogrid.jes.types.v1.cea.axis;
9   
10  public class ExecutionSummaryType  implements java.io.Serializable {
11      private java.lang.String applicationName;
12      private java.lang.String executionId;
13      private org.astrogrid.jes.types.v1.cea.axis.InputListType inputList;
14      private org.astrogrid.jes.types.v1.cea.axis.ResultListType resultList;
15      private org.astrogrid.jes.types.v1.cea.axis.ExecutionPhase status;
16  
17      public ExecutionSummaryType() {
18      }
19  
20      public java.lang.String getApplicationName() {
21          return applicationName;
22      }
23  
24      public void setApplicationName(java.lang.String applicationName) {
25          this.applicationName = applicationName;
26      }
27  
28      public java.lang.String getExecutionId() {
29          return executionId;
30      }
31  
32      public void setExecutionId(java.lang.String executionId) {
33          this.executionId = executionId;
34      }
35  
36      public org.astrogrid.jes.types.v1.cea.axis.InputListType getInputList() {
37          return inputList;
38      }
39  
40      public void setInputList(org.astrogrid.jes.types.v1.cea.axis.InputListType inputList) {
41          this.inputList = inputList;
42      }
43  
44      public org.astrogrid.jes.types.v1.cea.axis.ResultListType getResultList() {
45          return resultList;
46      }
47  
48      public void setResultList(org.astrogrid.jes.types.v1.cea.axis.ResultListType resultList) {
49          this.resultList = resultList;
50      }
51  
52      public org.astrogrid.jes.types.v1.cea.axis.ExecutionPhase getStatus() {
53          return status;
54      }
55  
56      public void setStatus(org.astrogrid.jes.types.v1.cea.axis.ExecutionPhase status) {
57          this.status = status;
58      }
59  
60      private java.lang.Object __equalsCalc = null;
61      public synchronized boolean equals(java.lang.Object obj) {
62          if (!(obj instanceof ExecutionSummaryType)) return false;
63          ExecutionSummaryType other = (ExecutionSummaryType) obj;
64          if (obj == null) return false;
65          if (this == obj) return true;
66          if (__equalsCalc != null) {
67              return (__equalsCalc == obj);
68          }
69          __equalsCalc = obj;
70          boolean _equals;
71          _equals = true && 
72              ((this.applicationName==null && other.getApplicationName()==null) || 
73               (this.applicationName!=null &&
74                this.applicationName.equals(other.getApplicationName()))) &&
75              ((this.executionId==null && other.getExecutionId()==null) || 
76               (this.executionId!=null &&
77                this.executionId.equals(other.getExecutionId()))) &&
78              ((this.inputList==null && other.getInputList()==null) || 
79               (this.inputList!=null &&
80                this.inputList.equals(other.getInputList()))) &&
81              ((this.resultList==null && other.getResultList()==null) || 
82               (this.resultList!=null &&
83                this.resultList.equals(other.getResultList()))) &&
84              ((this.status==null && other.getStatus()==null) || 
85               (this.status!=null &&
86                this.status.equals(other.getStatus())));
87          __equalsCalc = null;
88          return _equals;
89      }
90  
91      private boolean __hashCodeCalc = false;
92      public synchronized int hashCode() {
93          if (__hashCodeCalc) {
94              return 0;
95          }
96          __hashCodeCalc = true;
97          int _hashCode = 1;
98          if (getApplicationName() != null) {
99              _hashCode += getApplicationName().hashCode();
100         }
101         if (getExecutionId() != null) {
102             _hashCode += getExecutionId().hashCode();
103         }
104         if (getInputList() != null) {
105             _hashCode += getInputList().hashCode();
106         }
107         if (getResultList() != null) {
108             _hashCode += getResultList().hashCode();
109         }
110         if (getStatus() != null) {
111             _hashCode += getStatus().hashCode();
112         }
113         __hashCodeCalc = false;
114         return _hashCode;
115     }
116 
117     // Type metadata
118     private static org.apache.axis.description.TypeDesc typeDesc =
119         new org.apache.axis.description.TypeDesc(ExecutionSummaryType.class);
120 
121     static {
122         typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.astrogrid.org/schema/CEATypes/v1", "execution-summary-type"));
123         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
124         elemField.setFieldName("applicationName");
125         elemField.setXmlName(new javax.xml.namespace.QName("http://www.astrogrid.org/schema/CEATypes/v1", "application-name"));
126         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
127         typeDesc.addFieldDesc(elemField);
128         elemField = new org.apache.axis.description.ElementDesc();
129         elemField.setFieldName("executionId");
130         elemField.setXmlName(new javax.xml.namespace.QName("http://www.astrogrid.org/schema/CEATypes/v1", "execution-id"));
131         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
132         typeDesc.addFieldDesc(elemField);
133         elemField = new org.apache.axis.description.ElementDesc();
134         elemField.setFieldName("inputList");
135         elemField.setXmlName(new javax.xml.namespace.QName("http://www.astrogrid.org/schema/CEATypes/v1", "input-list"));
136         elemField.setXmlType(new javax.xml.namespace.QName("http://www.astrogrid.org/schema/CEATypes/v1", "input-list-type"));
137         typeDesc.addFieldDesc(elemField);
138         elemField = new org.apache.axis.description.ElementDesc();
139         elemField.setFieldName("resultList");
140         elemField.setXmlName(new javax.xml.namespace.QName("http://www.astrogrid.org/schema/CEATypes/v1", "result-list"));
141         elemField.setXmlType(new javax.xml.namespace.QName("http://www.astrogrid.org/schema/CEATypes/v1", "result-list-type"));
142         elemField.setMinOccurs(0);
143         typeDesc.addFieldDesc(elemField);
144         elemField = new org.apache.axis.description.ElementDesc();
145         elemField.setFieldName("status");
146         elemField.setXmlName(new javax.xml.namespace.QName("http://www.astrogrid.org/schema/CEATypes/v1", "status"));
147         elemField.setXmlType(new javax.xml.namespace.QName("http://www.astrogrid.org/schema/CEATypes/v1", "execution-phase"));
148         typeDesc.addFieldDesc(elemField);
149     }
150 
151     /***
152      * Return type metadata object
153      */
154     public static org.apache.axis.description.TypeDesc getTypeDesc() {
155         return typeDesc;
156     }
157 
158     /***
159      * Get Custom Serializer
160      */
161     public static org.apache.axis.encoding.Serializer getSerializer(
162            java.lang.String mechType, 
163            java.lang.Class _javaType,  
164            javax.xml.namespace.QName _xmlType) {
165         return 
166           new  org.apache.axis.encoding.ser.BeanSerializer(
167             _javaType, _xmlType, typeDesc);
168     }
169 
170     /***
171      * Get Custom Deserializer
172      */
173     public static org.apache.axis.encoding.Deserializer getDeserializer(
174            java.lang.String mechType, 
175            java.lang.Class _javaType,  
176            javax.xml.namespace.QName _xmlType) {
177         return 
178           new  org.apache.axis.encoding.ser.BeanDeserializer(
179             _javaType, _xmlType, typeDesc);
180     }
181 
182 }