1
2
3
4
5
6
7
8 package net.sf.provisioner.IntrawayWSDL_pkg;
9
10 public class SpDescriptionObj implements java.io.Serializable {
11 private java.lang.String servicePackageName;
12
13 private java.lang.String servicePackageCRMId;
14
15 private java.lang.String COS;
16
17 private net.sf.provisioner.IntrawayWSDL_pkg.FlowsObj[] serviceFlowsUpstream;
18
19 private net.sf.provisioner.IntrawayWSDL_pkg.FlowsObj[] serviceFlowsDownstream;
20
21 private net.sf.provisioner.IntrawayWSDL_pkg.ComandosObj[] grupoComandosSNMP;
22
23 private net.sf.provisioner.IntrawayWSDL_pkg.OpcionesObj[] opcionesAdicionales;
24
25 public SpDescriptionObj() {
26 }
27
28 public SpDescriptionObj(
29 java.lang.String servicePackageName,
30 java.lang.String servicePackageCRMId,
31 java.lang.String COS,
32 net.sf.provisioner.IntrawayWSDL_pkg.FlowsObj[] serviceFlowsUpstream,
33 net.sf.provisioner.IntrawayWSDL_pkg.FlowsObj[] serviceFlowsDownstream,
34 net.sf.provisioner.IntrawayWSDL_pkg.ComandosObj[] grupoComandosSNMP,
35 net.sf.provisioner.IntrawayWSDL_pkg.OpcionesObj[] opcionesAdicionales) {
36 this.servicePackageName = servicePackageName;
37 this.servicePackageCRMId = servicePackageCRMId;
38 this.COS = COS;
39 this.serviceFlowsUpstream = serviceFlowsUpstream;
40 this.serviceFlowsDownstream = serviceFlowsDownstream;
41 this.grupoComandosSNMP = grupoComandosSNMP;
42 this.opcionesAdicionales = opcionesAdicionales;
43 }
44
45
46
47
48
49
50
51 public java.lang.String getServicePackageName() {
52 return servicePackageName;
53 }
54
55
56
57
58
59
60
61 public void setServicePackageName(java.lang.String servicePackageName) {
62 this.servicePackageName = servicePackageName;
63 }
64
65
66
67
68
69
70
71 public java.lang.String getServicePackageCRMId() {
72 return servicePackageCRMId;
73 }
74
75
76
77
78
79
80
81 public void setServicePackageCRMId(java.lang.String servicePackageCRMId) {
82 this.servicePackageCRMId = servicePackageCRMId;
83 }
84
85
86
87
88
89
90
91 public java.lang.String getCOS() {
92 return COS;
93 }
94
95
96
97
98
99
100
101 public void setCOS(java.lang.String COS) {
102 this.COS = COS;
103 }
104
105
106
107
108
109
110
111 public net.sf.provisioner.IntrawayWSDL_pkg.FlowsObj[] getServiceFlowsUpstream() {
112 return serviceFlowsUpstream;
113 }
114
115
116
117
118
119
120
121 public void setServiceFlowsUpstream(net.sf.provisioner.IntrawayWSDL_pkg.FlowsObj[] serviceFlowsUpstream) {
122 this.serviceFlowsUpstream = serviceFlowsUpstream;
123 }
124
125
126
127
128
129
130
131 public net.sf.provisioner.IntrawayWSDL_pkg.FlowsObj[] getServiceFlowsDownstream() {
132 return serviceFlowsDownstream;
133 }
134
135
136
137
138
139
140
141 public void setServiceFlowsDownstream(net.sf.provisioner.IntrawayWSDL_pkg.FlowsObj[] serviceFlowsDownstream) {
142 this.serviceFlowsDownstream = serviceFlowsDownstream;
143 }
144
145
146
147
148
149
150
151 public net.sf.provisioner.IntrawayWSDL_pkg.ComandosObj[] getGrupoComandosSNMP() {
152 return grupoComandosSNMP;
153 }
154
155
156
157
158
159
160
161 public void setGrupoComandosSNMP(net.sf.provisioner.IntrawayWSDL_pkg.ComandosObj[] grupoComandosSNMP) {
162 this.grupoComandosSNMP = grupoComandosSNMP;
163 }
164
165
166
167
168
169
170
171 public net.sf.provisioner.IntrawayWSDL_pkg.OpcionesObj[] getOpcionesAdicionales() {
172 return opcionesAdicionales;
173 }
174
175
176
177
178
179
180
181 public void setOpcionesAdicionales(net.sf.provisioner.IntrawayWSDL_pkg.OpcionesObj[] opcionesAdicionales) {
182 this.opcionesAdicionales = opcionesAdicionales;
183 }
184
185 private java.lang.Object __equalsCalc = null;
186 public synchronized boolean equals(java.lang.Object obj) {
187 if (!(obj instanceof SpDescriptionObj)) return false;
188 SpDescriptionObj other = (SpDescriptionObj) obj;
189 if (obj == null) return false;
190 if (this == obj) return true;
191 if (__equalsCalc != null) {
192 return (__equalsCalc == obj);
193 }
194 __equalsCalc = obj;
195 boolean _equals;
196 _equals = true &&
197 ((this.servicePackageName==null && other.getServicePackageName()==null) ||
198 (this.servicePackageName!=null &&
199 this.servicePackageName.equals(other.getServicePackageName()))) &&
200 ((this.servicePackageCRMId==null && other.getServicePackageCRMId()==null) ||
201 (this.servicePackageCRMId!=null &&
202 this.servicePackageCRMId.equals(other.getServicePackageCRMId()))) &&
203 ((this.COS==null && other.getCOS()==null) ||
204 (this.COS!=null &&
205 this.COS.equals(other.getCOS()))) &&
206 ((this.serviceFlowsUpstream==null && other.getServiceFlowsUpstream()==null) ||
207 (this.serviceFlowsUpstream!=null &&
208 java.util.Arrays.equals(this.serviceFlowsUpstream, other.getServiceFlowsUpstream()))) &&
209 ((this.serviceFlowsDownstream==null && other.getServiceFlowsDownstream()==null) ||
210 (this.serviceFlowsDownstream!=null &&
211 java.util.Arrays.equals(this.serviceFlowsDownstream, other.getServiceFlowsDownstream()))) &&
212 ((this.grupoComandosSNMP==null && other.getGrupoComandosSNMP()==null) ||
213 (this.grupoComandosSNMP!=null &&
214 java.util.Arrays.equals(this.grupoComandosSNMP, other.getGrupoComandosSNMP()))) &&
215 ((this.opcionesAdicionales==null && other.getOpcionesAdicionales()==null) ||
216 (this.opcionesAdicionales!=null &&
217 java.util.Arrays.equals(this.opcionesAdicionales, other.getOpcionesAdicionales())));
218 __equalsCalc = null;
219 return _equals;
220 }
221
222 private boolean __hashCodeCalc = false;
223 public synchronized int hashCode() {
224 if (__hashCodeCalc) {
225 return 0;
226 }
227 __hashCodeCalc = true;
228 int _hashCode = 1;
229 if (getServicePackageName() != null) {
230 _hashCode += getServicePackageName().hashCode();
231 }
232 if (getServicePackageCRMId() != null) {
233 _hashCode += getServicePackageCRMId().hashCode();
234 }
235 if (getCOS() != null) {
236 _hashCode += getCOS().hashCode();
237 }
238 if (getServiceFlowsUpstream() != null) {
239 for (int i=0;
240 i<java.lang.reflect.Array.getLength(getServiceFlowsUpstream());
241 i++) {
242 java.lang.Object obj = java.lang.reflect.Array.get(getServiceFlowsUpstream(), i);
243 if (obj != null &&
244 !obj.getClass().isArray()) {
245 _hashCode += obj.hashCode();
246 }
247 }
248 }
249 if (getServiceFlowsDownstream() != null) {
250 for (int i=0;
251 i<java.lang.reflect.Array.getLength(getServiceFlowsDownstream());
252 i++) {
253 java.lang.Object obj = java.lang.reflect.Array.get(getServiceFlowsDownstream(), i);
254 if (obj != null &&
255 !obj.getClass().isArray()) {
256 _hashCode += obj.hashCode();
257 }
258 }
259 }
260 if (getGrupoComandosSNMP() != null) {
261 for (int i=0;
262 i<java.lang.reflect.Array.getLength(getGrupoComandosSNMP());
263 i++) {
264 java.lang.Object obj = java.lang.reflect.Array.get(getGrupoComandosSNMP(), i);
265 if (obj != null &&
266 !obj.getClass().isArray()) {
267 _hashCode += obj.hashCode();
268 }
269 }
270 }
271 if (getOpcionesAdicionales() != null) {
272 for (int i=0;
273 i<java.lang.reflect.Array.getLength(getOpcionesAdicionales());
274 i++) {
275 java.lang.Object obj = java.lang.reflect.Array.get(getOpcionesAdicionales(), i);
276 if (obj != null &&
277 !obj.getClass().isArray()) {
278 _hashCode += obj.hashCode();
279 }
280 }
281 }
282 __hashCodeCalc = false;
283 return _hashCode;
284 }
285
286
287 private static org.apache.axis.description.TypeDesc typeDesc =
288 new org.apache.axis.description.TypeDesc(SpDescriptionObj.class, true);
289
290 static {
291 typeDesc.setXmlType(new javax.xml.namespace.QName("urn:IntrawayWSDL", "spDescriptionObj"));
292 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
293 elemField.setFieldName("servicePackageName");
294 elemField.setXmlName(new javax.xml.namespace.QName("", "ServicePackageName"));
295 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
296 elemField.setNillable(false);
297 typeDesc.addFieldDesc(elemField);
298 elemField = new org.apache.axis.description.ElementDesc();
299 elemField.setFieldName("servicePackageCRMId");
300 elemField.setXmlName(new javax.xml.namespace.QName("", "ServicePackageCRMId"));
301 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
302 elemField.setNillable(false);
303 typeDesc.addFieldDesc(elemField);
304 elemField = new org.apache.axis.description.ElementDesc();
305 elemField.setFieldName("COS");
306 elemField.setXmlName(new javax.xml.namespace.QName("", "COS"));
307 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
308 elemField.setNillable(false);
309 typeDesc.addFieldDesc(elemField);
310 elemField = new org.apache.axis.description.ElementDesc();
311 elemField.setFieldName("serviceFlowsUpstream");
312 elemField.setXmlName(new javax.xml.namespace.QName("", "ServiceFlowsUpstream"));
313 elemField.setXmlType(new javax.xml.namespace.QName("urn:IntrawayWSDL", "flowsObj"));
314 elemField.setNillable(false);
315 typeDesc.addFieldDesc(elemField);
316 elemField = new org.apache.axis.description.ElementDesc();
317 elemField.setFieldName("serviceFlowsDownstream");
318 elemField.setXmlName(new javax.xml.namespace.QName("", "ServiceFlowsDownstream"));
319 elemField.setXmlType(new javax.xml.namespace.QName("urn:IntrawayWSDL", "flowsObj"));
320 elemField.setNillable(false);
321 typeDesc.addFieldDesc(elemField);
322 elemField = new org.apache.axis.description.ElementDesc();
323 elemField.setFieldName("grupoComandosSNMP");
324 elemField.setXmlName(new javax.xml.namespace.QName("", "GrupoComandosSNMP"));
325 elemField.setXmlType(new javax.xml.namespace.QName("urn:IntrawayWSDL", "comandosObj"));
326 elemField.setNillable(false);
327 typeDesc.addFieldDesc(elemField);
328 elemField = new org.apache.axis.description.ElementDesc();
329 elemField.setFieldName("opcionesAdicionales");
330 elemField.setXmlName(new javax.xml.namespace.QName("", "OpcionesAdicionales"));
331 elemField.setXmlType(new javax.xml.namespace.QName("urn:IntrawayWSDL", "opcionesObj"));
332 elemField.setNillable(false);
333 typeDesc.addFieldDesc(elemField);
334 }
335
336
337
338
339 public static org.apache.axis.description.TypeDesc getTypeDesc() {
340 return typeDesc;
341 }
342
343
344
345
346 public static org.apache.axis.encoding.Serializer getSerializer(
347 java.lang.String mechType,
348 java.lang.Class _javaType,
349 javax.xml.namespace.QName _xmlType) {
350 return
351 new org.apache.axis.encoding.ser.BeanSerializer(
352 _javaType, _xmlType, typeDesc);
353 }
354
355
356
357
358 public static org.apache.axis.encoding.Deserializer getDeserializer(
359 java.lang.String mechType,
360 java.lang.Class _javaType,
361 javax.xml.namespace.QName _xmlType) {
362 return
363 new org.apache.axis.encoding.ser.BeanDeserializer(
364 _javaType, _xmlType, typeDesc);
365 }
366
367 }