3
#ifndef ADB_NCPOWERDOWNTYPE_H
4
#define ADB_NCPOWERDOWNTYPE_H
7
* adb_ncPowerDownType.h
9
* This file was auto-generated from WSDL
10
* by the Apache Axis2/Java version: 1.4 Built on : Apr 26, 2008 (06:25:17 EDT)
14
* adb_ncPowerDownType class
16
typedef struct adb_ncPowerDownType adb_ncPowerDownType_t;
22
#include <axis2_util.h>
23
#include <axiom_soap.h>
24
#include <axis2_client.h>
31
#define ADB_DEFAULT_DIGIT_LIMIT 64
32
#define ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT 64
35
/******************************* Create and Free functions *********************************/
38
* Constructor for creating adb_ncPowerDownType_t
39
* @param env pointer to environment struct
40
* @return newly created adb_ncPowerDownType_t object
42
adb_ncPowerDownType_t* AXIS2_CALL
43
adb_ncPowerDownType_create(
44
const axutil_env_t *env );
47
* Free adb_ncPowerDownType_t object
48
* @param _ncPowerDownType adb_ncPowerDownType_t object to free
49
* @param env pointer to environment struct
50
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
52
axis2_status_t AXIS2_CALL
53
adb_ncPowerDownType_free (
54
adb_ncPowerDownType_t* _ncPowerDownType,
55
const axutil_env_t *env);
59
/********************************** Getters and Setters **************************************/
64
* Getter for correlationId.
65
* @param _ncPowerDownType adb_ncPowerDownType_t object
66
* @param env pointer to environment struct
67
* @return axis2_char_t*
69
axis2_char_t* AXIS2_CALL
70
adb_ncPowerDownType_get_correlationId(
71
adb_ncPowerDownType_t* _ncPowerDownType,
72
const axutil_env_t *env);
75
* Setter for correlationId.
76
* @param _ncPowerDownType adb_ncPowerDownType_t object
77
* @param env pointer to environment struct
78
* @param arg_correlationId axis2_char_t*
79
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
81
axis2_status_t AXIS2_CALL
82
adb_ncPowerDownType_set_correlationId(
83
adb_ncPowerDownType_t* _ncPowerDownType,
84
const axutil_env_t *env,
85
const axis2_char_t* arg_correlationId);
88
* Resetter for correlationId
89
* @param _ncPowerDownType adb_ncPowerDownType_t object
90
* @param env pointer to environment struct
91
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
93
axis2_status_t AXIS2_CALL
94
adb_ncPowerDownType_reset_correlationId(
95
adb_ncPowerDownType_t* _ncPowerDownType,
96
const axutil_env_t *env);
103
* @param _ncPowerDownType adb_ncPowerDownType_t object
104
* @param env pointer to environment struct
105
* @return axis2_char_t*
107
axis2_char_t* AXIS2_CALL
108
adb_ncPowerDownType_get_userId(
109
adb_ncPowerDownType_t* _ncPowerDownType,
110
const axutil_env_t *env);
114
* @param _ncPowerDownType adb_ncPowerDownType_t object
115
* @param env pointer to environment struct
116
* @param arg_userId axis2_char_t*
117
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
119
axis2_status_t AXIS2_CALL
120
adb_ncPowerDownType_set_userId(
121
adb_ncPowerDownType_t* _ncPowerDownType,
122
const axutil_env_t *env,
123
const axis2_char_t* arg_userId);
126
* Resetter for userId
127
* @param _ncPowerDownType adb_ncPowerDownType_t object
128
* @param env pointer to environment struct
129
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
131
axis2_status_t AXIS2_CALL
132
adb_ncPowerDownType_reset_userId(
133
adb_ncPowerDownType_t* _ncPowerDownType,
134
const axutil_env_t *env);
141
* @param _ncPowerDownType adb_ncPowerDownType_t object
142
* @param env pointer to environment struct
143
* @return axis2_bool_t
145
axis2_bool_t AXIS2_CALL
146
adb_ncPowerDownType_get_return(
147
adb_ncPowerDownType_t* _ncPowerDownType,
148
const axutil_env_t *env);
152
* @param _ncPowerDownType adb_ncPowerDownType_t object
153
* @param env pointer to environment struct
154
* @param arg_return axis2_bool_t
155
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
157
axis2_status_t AXIS2_CALL
158
adb_ncPowerDownType_set_return(
159
adb_ncPowerDownType_t* _ncPowerDownType,
160
const axutil_env_t *env,
161
axis2_bool_t arg_return);
164
* Resetter for return
165
* @param _ncPowerDownType adb_ncPowerDownType_t object
166
* @param env pointer to environment struct
167
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
169
axis2_status_t AXIS2_CALL
170
adb_ncPowerDownType_reset_return(
171
adb_ncPowerDownType_t* _ncPowerDownType,
172
const axutil_env_t *env);
178
* Getter for nodeName.
179
* @param _ncPowerDownType adb_ncPowerDownType_t object
180
* @param env pointer to environment struct
181
* @return axis2_char_t*
183
axis2_char_t* AXIS2_CALL
184
adb_ncPowerDownType_get_nodeName(
185
adb_ncPowerDownType_t* _ncPowerDownType,
186
const axutil_env_t *env);
189
* Setter for nodeName.
190
* @param _ncPowerDownType adb_ncPowerDownType_t object
191
* @param env pointer to environment struct
192
* @param arg_nodeName axis2_char_t*
193
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
195
axis2_status_t AXIS2_CALL
196
adb_ncPowerDownType_set_nodeName(
197
adb_ncPowerDownType_t* _ncPowerDownType,
198
const axutil_env_t *env,
199
const axis2_char_t* arg_nodeName);
202
* Resetter for nodeName
203
* @param _ncPowerDownType adb_ncPowerDownType_t object
204
* @param env pointer to environment struct
205
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
207
axis2_status_t AXIS2_CALL
208
adb_ncPowerDownType_reset_nodeName(
209
adb_ncPowerDownType_t* _ncPowerDownType,
210
const axutil_env_t *env);
216
* Getter for statusMessage.
217
* @param _ncPowerDownType adb_ncPowerDownType_t object
218
* @param env pointer to environment struct
222
adb_ncPowerDownType_get_statusMessage(
223
adb_ncPowerDownType_t* _ncPowerDownType,
224
const axutil_env_t *env);
227
* Setter for statusMessage.
228
* @param _ncPowerDownType adb_ncPowerDownType_t object
229
* @param env pointer to environment struct
230
* @param arg_statusMessage int
231
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
233
axis2_status_t AXIS2_CALL
234
adb_ncPowerDownType_set_statusMessage(
235
adb_ncPowerDownType_t* _ncPowerDownType,
236
const axutil_env_t *env,
237
const int arg_statusMessage);
240
* Resetter for statusMessage
241
* @param _ncPowerDownType adb_ncPowerDownType_t object
242
* @param env pointer to environment struct
243
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
245
axis2_status_t AXIS2_CALL
246
adb_ncPowerDownType_reset_statusMessage(
247
adb_ncPowerDownType_t* _ncPowerDownType,
248
const axutil_env_t *env);
253
/******************************* Checking and Setting NIL values *********************************/
257
* NOTE: set_nil is only available for nillable properties
263
* Check whether correlationId is nill
264
* @param _ncPowerDownType adb_ncPowerDownType_t object
265
* @param env pointer to environment struct
266
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
268
axis2_bool_t AXIS2_CALL
269
adb_ncPowerDownType_is_correlationId_nil(
270
adb_ncPowerDownType_t* _ncPowerDownType,
271
const axutil_env_t *env);
276
* Set correlationId to nill (currently the same as reset)
277
* @param _ncPowerDownType adb_ncPowerDownType_t object
278
* @param env pointer to environment struct
279
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
281
axis2_status_t AXIS2_CALL
282
adb_ncPowerDownType_set_correlationId_nil(
283
adb_ncPowerDownType_t* _ncPowerDownType,
284
const axutil_env_t *env);
288
* Check whether userId is nill
289
* @param _ncPowerDownType adb_ncPowerDownType_t object
290
* @param env pointer to environment struct
291
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
293
axis2_bool_t AXIS2_CALL
294
adb_ncPowerDownType_is_userId_nil(
295
adb_ncPowerDownType_t* _ncPowerDownType,
296
const axutil_env_t *env);
302
* Check whether return is nill
303
* @param _ncPowerDownType adb_ncPowerDownType_t object
304
* @param env pointer to environment struct
305
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
307
axis2_bool_t AXIS2_CALL
308
adb_ncPowerDownType_is_return_nil(
309
adb_ncPowerDownType_t* _ncPowerDownType,
310
const axutil_env_t *env);
316
* Check whether nodeName is nill
317
* @param _ncPowerDownType adb_ncPowerDownType_t object
318
* @param env pointer to environment struct
319
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
321
axis2_bool_t AXIS2_CALL
322
adb_ncPowerDownType_is_nodeName_nil(
323
adb_ncPowerDownType_t* _ncPowerDownType,
324
const axutil_env_t *env);
329
* Set nodeName to nill (currently the same as reset)
330
* @param _ncPowerDownType adb_ncPowerDownType_t object
331
* @param env pointer to environment struct
332
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
334
axis2_status_t AXIS2_CALL
335
adb_ncPowerDownType_set_nodeName_nil(
336
adb_ncPowerDownType_t* _ncPowerDownType,
337
const axutil_env_t *env);
341
* Check whether statusMessage is nill
342
* @param _ncPowerDownType adb_ncPowerDownType_t object
343
* @param env pointer to environment struct
344
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
346
axis2_bool_t AXIS2_CALL
347
adb_ncPowerDownType_is_statusMessage_nil(
348
adb_ncPowerDownType_t* _ncPowerDownType,
349
const axutil_env_t *env);
354
* Set statusMessage to nill (currently the same as reset)
355
* @param _ncPowerDownType adb_ncPowerDownType_t object
356
* @param env pointer to environment struct
357
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
359
axis2_status_t AXIS2_CALL
360
adb_ncPowerDownType_set_statusMessage_nil(
361
adb_ncPowerDownType_t* _ncPowerDownType,
362
const axutil_env_t *env);
365
/**************************** Serialize and Deserialize functions ***************************/
366
/*********** These functions are for use only inside the generated code *********************/
370
* Deserialize an XML to adb objects
371
* @param _ncPowerDownType adb_ncPowerDownType_t object
372
* @param env pointer to environment struct
373
* @param dp_parent double pointer to the parent node to deserialize
374
* @param dp_is_early_node_valid double pointer to a flag (is_early_node_valid?)
375
* @param dont_care_minoccurs Dont set errors on validating minoccurs,
376
* (Parent will order this in a case of choice)
377
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
379
axis2_status_t AXIS2_CALL
380
adb_ncPowerDownType_deserialize(
381
adb_ncPowerDownType_t* _ncPowerDownType,
382
const axutil_env_t *env,
383
axiom_node_t** dp_parent,
384
axis2_bool_t *dp_is_early_node_valid,
385
axis2_bool_t dont_care_minoccurs);
390
* Declare namespace in the most parent node
391
* @param _ncPowerDownType adb_ncPowerDownType_t object
392
* @param env pointer to environment struct
393
* @param parent_element parent element
394
* @param namespaces hash of namespace uri to prefix
395
* @param next_ns_index pointer to an int which contain the next namespace index
398
adb_ncPowerDownType_declare_parent_namespaces(
399
adb_ncPowerDownType_t* _ncPowerDownType,
400
const axutil_env_t *env, axiom_element_t *parent_element,
401
axutil_hash_t *namespaces, int *next_ns_index);
406
* Serialize to an XML from the adb objects
407
* @param _ncPowerDownType adb_ncPowerDownType_t object
408
* @param env pointer to environment struct
409
* @param ncPowerDownType_om_node node to serialize from
410
* @param ncPowerDownType_om_element parent element to serialize from
411
* @param tag_closed whether the parent tag is closed or not
412
* @param namespaces hash of namespace uri to prefix
413
* @param next_ns_index an int which contain the next namespace index
414
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
416
axiom_node_t* AXIS2_CALL
417
adb_ncPowerDownType_serialize(
418
adb_ncPowerDownType_t* _ncPowerDownType,
419
const axutil_env_t *env,
420
axiom_node_t* ncPowerDownType_om_node, axiom_element_t *ncPowerDownType_om_element, int tag_closed, axutil_hash_t *namespaces, int *next_ns_index);
423
* Check whether the adb_ncPowerDownType is a particle class (E.g. group, inner sequence)
424
* @return whether this is a particle class.
426
axis2_bool_t AXIS2_CALL
427
adb_ncPowerDownType_is_particle();
434
#endif /* ADB_NCPOWERDOWNTYPE_H */