Project

General

Profile

1
/**
2
 * StartExeByURIWithPara.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 StartExeByURIWithPara  implements java.io.Serializable {
11
    private java.lang.String wfURI;
12

    
13
    private org.kepler.executionWS.xsd.KeplerWfParameter[] wfParas;
14

    
15
    public StartExeByURIWithPara() {
16
    }
17

    
18
    public StartExeByURIWithPara(
19
           java.lang.String wfURI,
20
           org.kepler.executionWS.xsd.KeplerWfParameter[] wfParas) {
21
           this.wfURI = wfURI;
22
           this.wfParas = wfParas;
23
    }
24

    
25

    
26
    /**
27
     * Gets the wfURI value for this StartExeByURIWithPara.
28
     * 
29
     * @return wfURI
30
     */
31
    public java.lang.String getWfURI() {
32
        return wfURI;
33
    }
34

    
35

    
36
    /**
37
     * Sets the wfURI value for this StartExeByURIWithPara.
38
     * 
39
     * @param wfURI
40
     */
41
    public void setWfURI(java.lang.String wfURI) {
42
        this.wfURI = wfURI;
43
    }
44

    
45

    
46
    /**
47
     * Gets the wfParas value for this StartExeByURIWithPara.
48
     * 
49
     * @return wfParas
50
     */
51
    public org.kepler.executionWS.xsd.KeplerWfParameter[] getWfParas() {
52
        return wfParas;
53
    }
54

    
55

    
56
    /**
57
     * Sets the wfParas value for this StartExeByURIWithPara.
58
     * 
59
     * @param wfParas
60
     */
61
    public void setWfParas(org.kepler.executionWS.xsd.KeplerWfParameter[] wfParas) {
62
        this.wfParas = wfParas;
63
    }
64

    
65
    public org.kepler.executionWS.xsd.KeplerWfParameter getWfParas(int i) {
66
        return this.wfParas[i];
67
    }
68

    
69
    public void setWfParas(int i, org.kepler.executionWS.xsd.KeplerWfParameter _value) {
70
        this.wfParas[i] = _value;
71
    }
72

    
73
    private java.lang.Object __equalsCalc = null;
74
    public synchronized boolean equals(java.lang.Object obj) {
75
        if (!(obj instanceof StartExeByURIWithPara)) return false;
76
        StartExeByURIWithPara other = (StartExeByURIWithPara) obj;
77
        if (obj == null) return false;
78
        if (this == obj) return true;
79
        if (__equalsCalc != null) {
80
            return (__equalsCalc == obj);
81
        }
82
        __equalsCalc = obj;
83
        boolean _equals;
84
        _equals = true && 
85
            ((this.wfURI==null && other.getWfURI()==null) || 
86
             (this.wfURI!=null &&
87
              this.wfURI.equals(other.getWfURI()))) &&
88
            ((this.wfParas==null && other.getWfParas()==null) || 
89
             (this.wfParas!=null &&
90
              java.util.Arrays.equals(this.wfParas, other.getWfParas())));
91
        __equalsCalc = null;
92
        return _equals;
93
    }
94

    
95
    private boolean __hashCodeCalc = false;
96
    public synchronized int hashCode() {
97
        if (__hashCodeCalc) {
98
            return 0;
99
        }
100
        __hashCodeCalc = true;
101
        int _hashCode = 1;
102
        if (getWfURI() != null) {
103
            _hashCode += getWfURI().hashCode();
104
        }
105
        if (getWfParas() != null) {
106
            for (int i=0;
107
                 i<java.lang.reflect.Array.getLength(getWfParas());
108
                 i++) {
109
                java.lang.Object obj = java.lang.reflect.Array.get(getWfParas(), i);
110
                if (obj != null &&
111
                    !obj.getClass().isArray()) {
112
                    _hashCode += obj.hashCode();
113
                }
114
            }
115
        }
116
        __hashCodeCalc = false;
117
        return _hashCode;
118
    }
119

    
120
    // Type metadata
121
    private static org.apache.axis.description.TypeDesc typeDesc =
122
        new org.apache.axis.description.TypeDesc(StartExeByURIWithPara.class, true);
123

    
124
    static {
125
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://executionWS.kepler.org/xsd", ">startExeByURIWithPara"));
126
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
127
        elemField.setFieldName("wfURI");
128
        elemField.setXmlName(new javax.xml.namespace.QName("http://executionWS.kepler.org/xsd", "wfURI"));
129
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
130
        elemField.setMinOccurs(0);
131
        elemField.setNillable(true);
132
        typeDesc.addFieldDesc(elemField);
133
        elemField = new org.apache.axis.description.ElementDesc();
134
        elemField.setFieldName("wfParas");
135
        elemField.setXmlName(new javax.xml.namespace.QName("http://executionWS.kepler.org/xsd", "wfParas"));
136
        elemField.setXmlType(new javax.xml.namespace.QName("http://executionWS.kepler.org/xsd", "KeplerWfParameter"));
137
        elemField.setMinOccurs(0);
138
        elemField.setNillable(true);
139
        elemField.setMaxOccursUnbounded(true);
140
        typeDesc.addFieldDesc(elemField);
141
    }
142

    
143
    /**
144
     * Return type metadata object
145
     */
146
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
147
        return typeDesc;
148
    }
149

    
150
    /**
151
     * Get Custom Serializer
152
     */
153
    public static org.apache.axis.encoding.Serializer getSerializer(
154
           java.lang.String mechType, 
155
           java.lang.Class _javaType,  
156
           javax.xml.namespace.QName _xmlType) {
157
        return 
158
          new  org.apache.axis.encoding.ser.BeanSerializer(
159
            _javaType, _xmlType, typeDesc);
160
    }
161

    
162
    /**
163
     * Get Custom Deserializer
164
     */
165
    public static org.apache.axis.encoding.Deserializer getDeserializer(
166
           java.lang.String mechType, 
167
           java.lang.Class _javaType,  
168
           javax.xml.namespace.QName _xmlType) {
169
        return 
170
          new  org.apache.axis.encoding.ser.BeanDeserializer(
171
            _javaType, _xmlType, typeDesc);
172
    }
173

    
174
}
(37-37/42)