1
|
/**
|
2
|
* KeplerWfOutput.java
|
3
|
*
|
4
|
* This file was auto-generated from WSDL
|
5
|
* by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
|
6
|
*/
|
7
|
|
8
|
package org.kepler.executionWS.xsd;
|
9
|
|
10
|
public class KeplerWfOutput implements java.io.Serializable {
|
11
|
private java.lang.String file;
|
12
|
|
13
|
private java.lang.String name;
|
14
|
|
15
|
public KeplerWfOutput() {
|
16
|
}
|
17
|
|
18
|
public KeplerWfOutput(
|
19
|
java.lang.String file,
|
20
|
java.lang.String name) {
|
21
|
this.file = file;
|
22
|
this.name = name;
|
23
|
}
|
24
|
|
25
|
|
26
|
/**
|
27
|
* Gets the file value for this KeplerWfOutput.
|
28
|
*
|
29
|
* @return file
|
30
|
*/
|
31
|
public java.lang.String getFile() {
|
32
|
return file;
|
33
|
}
|
34
|
|
35
|
|
36
|
/**
|
37
|
* Sets the file value for this KeplerWfOutput.
|
38
|
*
|
39
|
* @param file
|
40
|
*/
|
41
|
public void setFile(java.lang.String file) {
|
42
|
this.file = file;
|
43
|
}
|
44
|
|
45
|
|
46
|
/**
|
47
|
* Gets the name value for this KeplerWfOutput.
|
48
|
*
|
49
|
* @return name
|
50
|
*/
|
51
|
public java.lang.String getName() {
|
52
|
return name;
|
53
|
}
|
54
|
|
55
|
|
56
|
/**
|
57
|
* Sets the name value for this KeplerWfOutput.
|
58
|
*
|
59
|
* @param name
|
60
|
*/
|
61
|
public void setName(java.lang.String name) {
|
62
|
this.name = name;
|
63
|
}
|
64
|
|
65
|
private java.lang.Object __equalsCalc = null;
|
66
|
public synchronized boolean equals(java.lang.Object obj) {
|
67
|
if (!(obj instanceof KeplerWfOutput)) return false;
|
68
|
KeplerWfOutput other = (KeplerWfOutput) obj;
|
69
|
if (obj == null) return false;
|
70
|
if (this == obj) return true;
|
71
|
if (__equalsCalc != null) {
|
72
|
return (__equalsCalc == obj);
|
73
|
}
|
74
|
__equalsCalc = obj;
|
75
|
boolean _equals;
|
76
|
_equals = true &&
|
77
|
((this.file==null && other.getFile()==null) ||
|
78
|
(this.file!=null &&
|
79
|
this.file.equals(other.getFile()))) &&
|
80
|
((this.name==null && other.getName()==null) ||
|
81
|
(this.name!=null &&
|
82
|
this.name.equals(other.getName())));
|
83
|
__equalsCalc = null;
|
84
|
return _equals;
|
85
|
}
|
86
|
|
87
|
private boolean __hashCodeCalc = false;
|
88
|
public synchronized int hashCode() {
|
89
|
if (__hashCodeCalc) {
|
90
|
return 0;
|
91
|
}
|
92
|
__hashCodeCalc = true;
|
93
|
int _hashCode = 1;
|
94
|
if (getFile() != null) {
|
95
|
_hashCode += getFile().hashCode();
|
96
|
}
|
97
|
if (getName() != null) {
|
98
|
_hashCode += getName().hashCode();
|
99
|
}
|
100
|
__hashCodeCalc = false;
|
101
|
return _hashCode;
|
102
|
}
|
103
|
|
104
|
// Type metadata
|
105
|
private static org.apache.axis.description.TypeDesc typeDesc =
|
106
|
new org.apache.axis.description.TypeDesc(KeplerWfOutput.class, true);
|
107
|
|
108
|
static {
|
109
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://executionWS.kepler.org/xsd", "KeplerWfOutput"));
|
110
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
111
|
elemField.setFieldName("file");
|
112
|
elemField.setXmlName(new javax.xml.namespace.QName("http://executionWS.kepler.org/xsd", "file"));
|
113
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
114
|
elemField.setMinOccurs(0);
|
115
|
elemField.setNillable(true);
|
116
|
typeDesc.addFieldDesc(elemField);
|
117
|
elemField = new org.apache.axis.description.ElementDesc();
|
118
|
elemField.setFieldName("name");
|
119
|
elemField.setXmlName(new javax.xml.namespace.QName("http://executionWS.kepler.org/xsd", "name"));
|
120
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
121
|
elemField.setMinOccurs(0);
|
122
|
elemField.setNillable(true);
|
123
|
typeDesc.addFieldDesc(elemField);
|
124
|
}
|
125
|
|
126
|
/**
|
127
|
* Return type metadata object
|
128
|
*/
|
129
|
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
130
|
return typeDesc;
|
131
|
}
|
132
|
|
133
|
/**
|
134
|
* Get Custom Serializer
|
135
|
*/
|
136
|
public static org.apache.axis.encoding.Serializer getSerializer(
|
137
|
java.lang.String mechType,
|
138
|
java.lang.Class _javaType,
|
139
|
javax.xml.namespace.QName _xmlType) {
|
140
|
return
|
141
|
new org.apache.axis.encoding.ser.BeanSerializer(
|
142
|
_javaType, _xmlType, typeDesc);
|
143
|
}
|
144
|
|
145
|
/**
|
146
|
* Get Custom Deserializer
|
147
|
*/
|
148
|
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
149
|
java.lang.String mechType,
|
150
|
java.lang.Class _javaType,
|
151
|
javax.xml.namespace.QName _xmlType) {
|
152
|
return
|
153
|
new org.apache.axis.encoding.ser.BeanDeserializer(
|
154
|
_javaType, _xmlType, typeDesc);
|
155
|
}
|
156
|
|
157
|
}
|