~ubuntu-core-dev/ubuntu/maverick/eucalyptus/devel

« back to all changes in this revision

Viewing changes to cluster/generated/adb_networkType.h

  • Committer: Dustin Kirkland
  • Date: 2010-07-22 08:41:57 UTC
  • mfrom: (1050.1.19 ubuntu)
  • Revision ID: kirkland@x200-20100722084157-zh2p8dkawznvxxpn
Approving Dave Walker's merge of new upstream Eucalyptus 2.0 release.

Dustin Kirkland <kirkland@canonical.com>

* New major upstream version merge, 2.0 (r1211).
  - 01-wsdl-stubs.patch, debian/wsdl.md5sums: wsdl stubs updated.
  - 11-state-cleanup-memleakfix.patch: Removed, fixed upstream.
  - 21-eucalyptus-1.7-with-gwt-1.6.4.patch: New patch, allows 
    eucalyptus-1.7 to be built against gwt 1.6.4. Based on patch courtesy 
    of Dmitrii Zagorodnov, upstream. (LP: #597330)
* debian/eucalyptus-java-common.links: 
  - Changed symlink for groovy, point to groovy.all.jar, making compatiable 
    with groovy versions >1.7. (LP: #595421)
  - Added ant.jar & jetty-rewrite-handler.jar as they are now required.
* debian/control
  - & debian/build-jars: Added libjavassist-java and libjetty-extra-java as 
    build dependencies.
  - Added libjetty-extra-java as a dependency of eucalyptus-java-common
* The binary resulting jar's have been renamed from eucalyptus-*-1.6.2.jar
  to eucalyptus-*-main.jar:    
  - debian/eucalyptus-cc.upstart
  - debian/eucalyptus-cloud.install
  - debian/eucalyptus-common.eucalyptus.upstart
  - debian/eucalyptus-java-common.install
  - debian/eucalyptus-network.upstart
  - debian/eucalyptus-sc.install
  - debian/eucalyptus-walrus.install
* debian/eucalyptus-java-common.install: New upstream jars that have been
  installed:
  - eucalyptus-db-hsqldb-ext-main.jar
  - eucalyptus-component-main.jar
* debian/control:
  - Updated Standards Version to 3.8.4 (no change)
  - Updated the upstream Homepage to: http://open.eucalyptus.com/
  - Changed Vcs-Bzr to reflect new location of Ubuntu hosted development branch.
  - Made the Build Dependency of groovy and the binary eucalyptus-java-common
    package depend on version >=1.7.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
 
3
 
        #ifndef ADB_NETWORKTYPE_H
4
 
        #define ADB_NETWORKTYPE_H
5
 
 
6
 
       /**
7
 
        * adb_networkType.h
8
 
        *
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)
11
 
        */
12
 
 
13
 
       /**
14
 
        *  adb_networkType class
15
 
        */
16
 
        typedef struct adb_networkType adb_networkType_t;
17
 
 
18
 
 
19
 
 
20
 
        #include <stdio.h>
21
 
        #include <axiom.h>
22
 
        #include <axis2_util.h>
23
 
        #include <axiom_soap.h>
24
 
        #include <axis2_client.h>
25
 
 
26
 
        #ifdef __cplusplus
27
 
        extern "C"
28
 
        {
29
 
        #endif
30
 
 
31
 
        #define ADB_DEFAULT_DIGIT_LIMIT 64
32
 
        #define ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT 64
33
 
 
34
 
 
35
 
        /******************************* Create and Free functions *********************************/
36
 
 
37
 
        /**
38
 
         * Constructor for creating adb_networkType_t
39
 
         * @param env pointer to environment struct
40
 
         * @return newly created adb_networkType_t object
41
 
         */
42
 
        adb_networkType_t* AXIS2_CALL
43
 
        adb_networkType_create(
44
 
            const axutil_env_t *env );
45
 
 
46
 
        /**
47
 
         * Free adb_networkType_t object
48
 
         * @param  _networkType adb_networkType_t object to free
49
 
         * @param env pointer to environment struct
50
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
51
 
         */
52
 
        axis2_status_t AXIS2_CALL
53
 
        adb_networkType_free (
54
 
            adb_networkType_t* _networkType,
55
 
            const axutil_env_t *env);
56
 
 
57
 
 
58
 
 
59
 
        /********************************** Getters and Setters **************************************/
60
 
        /******** Deprecated for array types, Use 'Getters and Setters for Arrays' instead ***********/
61
 
 
62
 
 
63
 
        /**
64
 
         * Getter for vlan.
65
 
         * @param  _networkType adb_networkType_t object
66
 
         * @param env pointer to environment struct
67
 
         * @return int
68
 
         */
69
 
        int AXIS2_CALL
70
 
        adb_networkType_get_vlan(
71
 
            adb_networkType_t* _networkType,
72
 
            const axutil_env_t *env);
73
 
 
74
 
        /**
75
 
         * Setter for vlan.
76
 
         * @param  _networkType adb_networkType_t object
77
 
         * @param env pointer to environment struct
78
 
         * @param arg_vlan int
79
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
80
 
         */
81
 
        axis2_status_t AXIS2_CALL
82
 
        adb_networkType_set_vlan(
83
 
            adb_networkType_t* _networkType,
84
 
            const axutil_env_t *env,
85
 
            const int  arg_vlan);
86
 
 
87
 
        /**
88
 
         * Resetter for vlan
89
 
         * @param  _networkType adb_networkType_t object
90
 
         * @param env pointer to environment struct
91
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
92
 
         */
93
 
        axis2_status_t AXIS2_CALL
94
 
        adb_networkType_reset_vlan(
95
 
            adb_networkType_t* _networkType,
96
 
            const axutil_env_t *env);
97
 
 
98
 
 
99
 
 
100
 
 
101
 
        /**
102
 
         * Getter for netName.
103
 
         * @param  _networkType adb_networkType_t object
104
 
         * @param env pointer to environment struct
105
 
         * @return axis2_char_t*
106
 
         */
107
 
        axis2_char_t* AXIS2_CALL
108
 
        adb_networkType_get_netName(
109
 
            adb_networkType_t* _networkType,
110
 
            const axutil_env_t *env);
111
 
 
112
 
        /**
113
 
         * Setter for netName.
114
 
         * @param  _networkType adb_networkType_t object
115
 
         * @param env pointer to environment struct
116
 
         * @param arg_netName axis2_char_t*
117
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
118
 
         */
119
 
        axis2_status_t AXIS2_CALL
120
 
        adb_networkType_set_netName(
121
 
            adb_networkType_t* _networkType,
122
 
            const axutil_env_t *env,
123
 
            const axis2_char_t*  arg_netName);
124
 
 
125
 
        /**
126
 
         * Resetter for netName
127
 
         * @param  _networkType adb_networkType_t object
128
 
         * @param env pointer to environment struct
129
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
130
 
         */
131
 
        axis2_status_t AXIS2_CALL
132
 
        adb_networkType_reset_netName(
133
 
            adb_networkType_t* _networkType,
134
 
            const axutil_env_t *env);
135
 
 
136
 
 
137
 
 
138
 
 
139
 
        /**
140
 
         * Getter for userName.
141
 
         * @param  _networkType adb_networkType_t object
142
 
         * @param env pointer to environment struct
143
 
         * @return axis2_char_t*
144
 
         */
145
 
        axis2_char_t* AXIS2_CALL
146
 
        adb_networkType_get_userName(
147
 
            adb_networkType_t* _networkType,
148
 
            const axutil_env_t *env);
149
 
 
150
 
        /**
151
 
         * Setter for userName.
152
 
         * @param  _networkType adb_networkType_t object
153
 
         * @param env pointer to environment struct
154
 
         * @param arg_userName axis2_char_t*
155
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
156
 
         */
157
 
        axis2_status_t AXIS2_CALL
158
 
        adb_networkType_set_userName(
159
 
            adb_networkType_t* _networkType,
160
 
            const axutil_env_t *env,
161
 
            const axis2_char_t*  arg_userName);
162
 
 
163
 
        /**
164
 
         * Resetter for userName
165
 
         * @param  _networkType adb_networkType_t object
166
 
         * @param env pointer to environment struct
167
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
168
 
         */
169
 
        axis2_status_t AXIS2_CALL
170
 
        adb_networkType_reset_userName(
171
 
            adb_networkType_t* _networkType,
172
 
            const axutil_env_t *env);
173
 
 
174
 
 
175
 
 
176
 
 
177
 
        /**
178
 
         * Getter for activeAddrs. Deprecated for array types, Use adb_networkType_get_activeAddrs_at instead
179
 
         * @param  _networkType adb_networkType_t object
180
 
         * @param env pointer to environment struct
181
 
         * @return Array of int*s.
182
 
         */
183
 
        axutil_array_list_t* AXIS2_CALL
184
 
        adb_networkType_get_activeAddrs(
185
 
            adb_networkType_t* _networkType,
186
 
            const axutil_env_t *env);
187
 
 
188
 
        /**
189
 
         * Setter for activeAddrs.Deprecated for array types, Use adb_networkType_set_activeAddrs_at
190
 
         * or adb_networkType_add_activeAddrs instead.
191
 
         * @param  _networkType adb_networkType_t object
192
 
         * @param env pointer to environment struct
193
 
         * @param arg_activeAddrs Array of int*s.
194
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
195
 
         */
196
 
        axis2_status_t AXIS2_CALL
197
 
        adb_networkType_set_activeAddrs(
198
 
            adb_networkType_t* _networkType,
199
 
            const axutil_env_t *env,
200
 
            axutil_array_list_t*  arg_activeAddrs);
201
 
 
202
 
        /**
203
 
         * Resetter for activeAddrs
204
 
         * @param  _networkType adb_networkType_t object
205
 
         * @param env pointer to environment struct
206
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
207
 
         */
208
 
        axis2_status_t AXIS2_CALL
209
 
        adb_networkType_reset_activeAddrs(
210
 
            adb_networkType_t* _networkType,
211
 
            const axutil_env_t *env);
212
 
 
213
 
 
214
 
        /****************************** Getters and Setters For Arrays **********************************/
215
 
        /************ Array Specific Operations: get_at, set_at, add, remove_at, sizeof *****************/
216
 
 
217
 
        /**
218
 
         * E.g. use of get_at, set_at, add and sizeof
219
 
         *
220
 
         * for(i = 0; i < adb_element_sizeof_property(adb_object, env); i ++ )
221
 
         * {
222
 
         *     // Getting ith value to property_object variable
223
 
         *     property_object = adb_element_get_property_at(adb_object, env, i);
224
 
         *
225
 
         *     // Setting ith value from property_object variable
226
 
         *     adb_element_set_property_at(adb_object, env, i, property_object);
227
 
         *
228
 
         *     // Appending the value to the end of the array from property_object variable
229
 
         *     adb_element_add_property(adb_object, env, property_object);
230
 
         *
231
 
         *     // Removing the ith value from an array
232
 
         *     adb_element_remove_property_at(adb_object, env, i);
233
 
         *
234
 
         * }
235
 
         *
236
 
         */
237
 
 
238
 
 
239
 
 
240
 
        /**
241
 
         * Get the ith element of activeAddrs.
242
 
         * @param  _networkType adb_networkType_t object
243
 
         * @param env pointer to environment struct
244
 
         * @param i index of the item to return
245
 
         * @return ith int of the array
246
 
         */
247
 
        int AXIS2_CALL
248
 
        adb_networkType_get_activeAddrs_at(
249
 
                adb_networkType_t* _networkType,
250
 
                const axutil_env_t *env, int i);
251
 
 
252
 
        /**
253
 
         * Set the ith element of activeAddrs. (If the ith already exist, it will be replaced)
254
 
         * @param  _networkType adb_networkType_t object
255
 
         * @param env pointer to environment struct
256
 
         * @param i index of the item to return
257
 
         * @param arg_activeAddrs element to set int to the array
258
 
         * @return ith int of the array
259
 
         */
260
 
        axis2_status_t AXIS2_CALL
261
 
        adb_networkType_set_activeAddrs_at(
262
 
                adb_networkType_t* _networkType,
263
 
                const axutil_env_t *env, int i,
264
 
                const int arg_activeAddrs);
265
 
 
266
 
 
267
 
        /**
268
 
         * Add to activeAddrs.
269
 
         * @param  _networkType adb_networkType_t object
270
 
         * @param env pointer to environment struct
271
 
         * @param arg_activeAddrs element to add int to the array
272
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
273
 
         */
274
 
        axis2_status_t AXIS2_CALL
275
 
        adb_networkType_add_activeAddrs(
276
 
                adb_networkType_t* _networkType,
277
 
                const axutil_env_t *env,
278
 
                const int arg_activeAddrs);
279
 
 
280
 
        /**
281
 
         * Get the size of the activeAddrs array.
282
 
         * @param  _networkType adb_networkType_t object
283
 
         * @param env pointer to environment struct.
284
 
         * @return the size of the activeAddrs array.
285
 
         */
286
 
        int AXIS2_CALL
287
 
        adb_networkType_sizeof_activeAddrs(
288
 
                    adb_networkType_t* _networkType,
289
 
                    const axutil_env_t *env);
290
 
 
291
 
        /**
292
 
         * Remove the ith element of activeAddrs.
293
 
         * @param  _networkType adb_networkType_t object
294
 
         * @param env pointer to environment struct
295
 
         * @param i index of the item to remove
296
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
297
 
         */
298
 
        axis2_status_t AXIS2_CALL
299
 
        adb_networkType_remove_activeAddrs_at(
300
 
                adb_networkType_t* _networkType,
301
 
                const axutil_env_t *env, int i);
302
 
 
303
 
 
304
 
 
305
 
 
306
 
        /******************************* Checking and Setting NIL values *********************************/
307
 
        /* Use 'Checking and Setting NIL values for Arrays' to check and set nil for individual elements */
308
 
 
309
 
        /**
310
 
         * NOTE: set_nil is only available for nillable properties
311
 
         */
312
 
 
313
 
 
314
 
 
315
 
        /**
316
 
         * Check whether vlan is nill
317
 
         * @param  _networkType adb_networkType_t object
318
 
         * @param env pointer to environment struct
319
 
         * @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
320
 
         */
321
 
        axis2_bool_t AXIS2_CALL
322
 
        adb_networkType_is_vlan_nil(
323
 
                adb_networkType_t* _networkType,
324
 
                const axutil_env_t *env);
325
 
 
326
 
 
327
 
 
328
 
 
329
 
        /**
330
 
         * Check whether netName is nill
331
 
         * @param  _networkType adb_networkType_t object
332
 
         * @param env pointer to environment struct
333
 
         * @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
334
 
         */
335
 
        axis2_bool_t AXIS2_CALL
336
 
        adb_networkType_is_netName_nil(
337
 
                adb_networkType_t* _networkType,
338
 
                const axutil_env_t *env);
339
 
 
340
 
 
341
 
 
342
 
 
343
 
        /**
344
 
         * Check whether userName is nill
345
 
         * @param  _networkType adb_networkType_t object
346
 
         * @param env pointer to environment struct
347
 
         * @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
348
 
         */
349
 
        axis2_bool_t AXIS2_CALL
350
 
        adb_networkType_is_userName_nil(
351
 
                adb_networkType_t* _networkType,
352
 
                const axutil_env_t *env);
353
 
 
354
 
 
355
 
 
356
 
 
357
 
        /**
358
 
         * Check whether activeAddrs is nill
359
 
         * @param  _networkType adb_networkType_t object
360
 
         * @param env pointer to environment struct
361
 
         * @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
362
 
         */
363
 
        axis2_bool_t AXIS2_CALL
364
 
        adb_networkType_is_activeAddrs_nil(
365
 
                adb_networkType_t* _networkType,
366
 
                const axutil_env_t *env);
367
 
 
368
 
 
369
 
 
370
 
        /*************************** Checking and Setting 'NIL' values in Arrays *****************************/
371
 
 
372
 
        /**
373
 
         * NOTE: You may set this to remove specific elements in the array
374
 
         *       But you can not remove elements, if the specific property is declared to be non-nillable or sizeof(array) < minOccurs
375
 
         */
376
 
 
377
 
        /**
378
 
         * Check whether activeAddrs is nill at i
379
 
         * @param  _networkType adb_networkType_t object
380
 
         * @param env pointer to environment struct.
381
 
         * @param i index of the item to return.
382
 
         * @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
383
 
         */
384
 
        axis2_bool_t AXIS2_CALL
385
 
        adb_networkType_is_activeAddrs_nil_at(
386
 
                adb_networkType_t* _networkType,
387
 
                const axutil_env_t *env, int i);
388
 
 
389
 
 
390
 
        /**
391
 
         * Set activeAddrs to nill at i
392
 
         * @param  _networkType _ adb_networkType_t object
393
 
         * @param env pointer to environment struct.
394
 
         * @param i index of the item to set.
395
 
         * @return AXIS2_SUCCESS on success, or AXIS2_FAILURE otherwise.
396
 
         */
397
 
        axis2_status_t AXIS2_CALL
398
 
        adb_networkType_set_activeAddrs_nil_at(
399
 
                adb_networkType_t* _networkType,
400
 
                const axutil_env_t *env, int i);
401
 
 
402
 
 
403
 
 
404
 
        /**************************** Serialize and Deserialize functions ***************************/
405
 
        /*********** These functions are for use only inside the generated code *********************/
406
 
 
407
 
 
408
 
        /**
409
 
         * Deserialize an XML to adb objects
410
 
         * @param  _networkType adb_networkType_t object
411
 
         * @param env pointer to environment struct
412
 
         * @param dp_parent double pointer to the parent node to deserialize
413
 
         * @param dp_is_early_node_valid double pointer to a flag (is_early_node_valid?)
414
 
         * @param dont_care_minoccurs Dont set errors on validating minoccurs,
415
 
         *              (Parent will order this in a case of choice)
416
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
417
 
         */
418
 
        axis2_status_t AXIS2_CALL
419
 
        adb_networkType_deserialize(
420
 
            adb_networkType_t* _networkType,
421
 
            const axutil_env_t *env,
422
 
            axiom_node_t** dp_parent,
423
 
            axis2_bool_t *dp_is_early_node_valid,
424
 
            axis2_bool_t dont_care_minoccurs);
425
 
 
426
 
 
427
 
 
428
 
       /**
429
 
         * Declare namespace in the most parent node
430
 
         * @param  _networkType adb_networkType_t object
431
 
         * @param env pointer to environment struct
432
 
         * @param parent_element parent element
433
 
         * @param namespaces hash of namespace uri to prefix
434
 
         * @param next_ns_index pointer to an int which contain the next namespace index
435
 
         */
436
 
       void AXIS2_CALL
437
 
       adb_networkType_declare_parent_namespaces(
438
 
                    adb_networkType_t* _networkType,
439
 
                    const axutil_env_t *env, axiom_element_t *parent_element,
440
 
                    axutil_hash_t *namespaces, int *next_ns_index);
441
 
 
442
 
 
443
 
 
444
 
        /**
445
 
         * Serialize to an XML from the adb objects
446
 
         * @param  _networkType adb_networkType_t object
447
 
         * @param env pointer to environment struct
448
 
         * @param networkType_om_node node to serialize from
449
 
         * @param networkType_om_element parent element to serialize from
450
 
         * @param tag_closed whether the parent tag is closed or not
451
 
         * @param namespaces hash of namespace uri to prefix
452
 
         * @param next_ns_index an int which contain the next namespace index
453
 
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
454
 
         */
455
 
        axiom_node_t* AXIS2_CALL
456
 
        adb_networkType_serialize(
457
 
            adb_networkType_t* _networkType,
458
 
            const axutil_env_t *env,
459
 
            axiom_node_t* networkType_om_node, axiom_element_t *networkType_om_element, int tag_closed, axutil_hash_t *namespaces, int *next_ns_index);
460
 
 
461
 
        /**
462
 
         * Check whether the adb_networkType is a particle class (E.g. group, inner sequence)
463
 
         * @return whether this is a particle class.
464
 
         */
465
 
        axis2_bool_t AXIS2_CALL
466
 
        adb_networkType_is_particle();
467
 
 
468
 
 
469
 
     #ifdef __cplusplus
470
 
     }
471
 
     #endif
472
 
 
473
 
     #endif /* ADB_NETWORKTYPE_H */
474
 
 
475