~ubuntu-branches/ubuntu/maverick/eucalyptus/maverick

« back to all changes in this revision

Viewing changes to node/generated/adb_virtualMachineType.h

  • Committer: Bazaar Package Importer
  • Author(s): Dave Walker (Daviey)
  • Date: 2010-07-21 17:27:10 UTC
  • mfrom: (1.1.38 upstream)
  • Revision ID: james.westby@ubuntu.com-20100721172710-7xv07dmdqgivc3t9
Tags: 2.0~bzr1211-0ubuntu1
* New major upstream version merge, 2.0 (r1211).
* debian/patches/:
  - 01-wsdl-stubs.patch, debian/wsdl.md5sums: wsdl stubs updated.
  - 02-Makefile.patch: Updated to reflect new code layout.
  - 07-local_support_euca_conf-in.patch: Updated to reflect new code layout.
  - 08-ubuntu-default-networking.patch: Refreshed.
  - 09-small-128-192MB.patch: Updated to point to new location.
  - 10-disable-iscsi.patch: Refreshed.
  - 11-state-cleanup-memleakfix.patch: Removed, fixed upstream.
  - 15-fix-default-ramdisk.patch: Updated to point to new location.
  - 16-kvm_libvirt_xml_default_use_kvm.patch: Updated to reflect changes.
  - 17-fix_walrus_OOM_errors.patch: Removed, fixed upstream.
  - 18-priv_security.patch: Updated to reflect upstream changes.
  - 20-brute-force-webui.patch: Updated to reflect upstream changes. 
  - 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:
15
15
        */
16
16
        typedef struct adb_virtualMachineType adb_virtualMachineType_t;
17
17
 
18
 
 
 
18
        
 
19
          #include "adb_deviceMappingType.h"
 
20
          
19
21
 
20
22
        #include <stdio.h>
21
23
        #include <axiom.h>
30
32
 
31
33
        #define ADB_DEFAULT_DIGIT_LIMIT 64
32
34
        #define ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT 64
33
 
 
 
35
        
34
36
 
35
37
        /******************************* Create and Free functions *********************************/
36
38
 
57
59
 
58
60
 
59
61
        /********************************** Getters and Setters **************************************/
60
 
 
61
 
 
62
 
 
63
 
        /**
64
 
         * Getter for memory.
 
62
        /******** Deprecated for array types, Use 'Getters and Setters for Arrays' instead ***********/
 
63
        
 
64
 
 
65
        /**
 
66
         * Getter for name. 
 
67
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
68
         * @param env pointer to environment struct
 
69
         * @return axis2_char_t*
 
70
         */
 
71
        axis2_char_t* AXIS2_CALL
 
72
        adb_virtualMachineType_get_name(
 
73
            adb_virtualMachineType_t* _virtualMachineType,
 
74
            const axutil_env_t *env);
 
75
 
 
76
        /**
 
77
         * Setter for name.
 
78
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
79
         * @param env pointer to environment struct
 
80
         * @param arg_name axis2_char_t*
 
81
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
 
82
         */
 
83
        axis2_status_t AXIS2_CALL
 
84
        adb_virtualMachineType_set_name(
 
85
            adb_virtualMachineType_t* _virtualMachineType,
 
86
            const axutil_env_t *env,
 
87
            const axis2_char_t*  arg_name);
 
88
 
 
89
        /**
 
90
         * Resetter for name
 
91
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
92
         * @param env pointer to environment struct
 
93
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
 
94
         */
 
95
        axis2_status_t AXIS2_CALL
 
96
        adb_virtualMachineType_reset_name(
 
97
            adb_virtualMachineType_t* _virtualMachineType,
 
98
            const axutil_env_t *env);
 
99
 
 
100
        
 
101
        
 
102
 
 
103
        /**
 
104
         * Getter for memory. 
65
105
         * @param  _virtualMachineType adb_virtualMachineType_t object
66
106
         * @param env pointer to environment struct
67
107
         * @return int
95
135
            adb_virtualMachineType_t* _virtualMachineType,
96
136
            const axutil_env_t *env);
97
137
 
98
 
 
99
 
 
 
138
        
 
139
        
100
140
 
101
141
        /**
102
 
         * Getter for cores.
 
142
         * Getter for cores. 
103
143
         * @param  _virtualMachineType adb_virtualMachineType_t object
104
144
         * @param env pointer to environment struct
105
145
         * @return int
133
173
            adb_virtualMachineType_t* _virtualMachineType,
134
174
            const axutil_env_t *env);
135
175
 
136
 
 
137
 
 
 
176
        
 
177
        
138
178
 
139
179
        /**
140
 
         * Getter for disk.
 
180
         * Getter for disk. 
141
181
         * @param  _virtualMachineType adb_virtualMachineType_t object
142
182
         * @param env pointer to environment struct
143
183
         * @return int
171
211
            adb_virtualMachineType_t* _virtualMachineType,
172
212
            const axutil_env_t *env);
173
213
 
174
 
 
 
214
        
 
215
        
 
216
 
 
217
        /**
 
218
         * Getter for deviceMapping. Deprecated for array types, Use adb_virtualMachineType_get_deviceMapping_at instead
 
219
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
220
         * @param env pointer to environment struct
 
221
         * @return Array of adb_deviceMappingType_t*s.
 
222
         */
 
223
        axutil_array_list_t* AXIS2_CALL
 
224
        adb_virtualMachineType_get_deviceMapping(
 
225
            adb_virtualMachineType_t* _virtualMachineType,
 
226
            const axutil_env_t *env);
 
227
 
 
228
        /**
 
229
         * Setter for deviceMapping.Deprecated for array types, Use adb_virtualMachineType_set_deviceMapping_at
 
230
         * or adb_virtualMachineType_add_deviceMapping instead.
 
231
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
232
         * @param env pointer to environment struct
 
233
         * @param arg_deviceMapping Array of adb_deviceMappingType_t*s.
 
234
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
 
235
         */
 
236
        axis2_status_t AXIS2_CALL
 
237
        adb_virtualMachineType_set_deviceMapping(
 
238
            adb_virtualMachineType_t* _virtualMachineType,
 
239
            const axutil_env_t *env,
 
240
            axutil_array_list_t*  arg_deviceMapping);
 
241
 
 
242
        /**
 
243
         * Resetter for deviceMapping
 
244
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
245
         * @param env pointer to environment struct
 
246
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
 
247
         */
 
248
        axis2_status_t AXIS2_CALL
 
249
        adb_virtualMachineType_reset_deviceMapping(
 
250
            adb_virtualMachineType_t* _virtualMachineType,
 
251
            const axutil_env_t *env);
 
252
 
 
253
        
 
254
        /****************************** Getters and Setters For Arrays **********************************/
 
255
        /************ Array Specific Operations: get_at, set_at, add, remove_at, sizeof *****************/
 
256
 
 
257
        /**
 
258
         * E.g. use of get_at, set_at, add and sizeof
 
259
         *
 
260
         * for(i = 0; i < adb_element_sizeof_property(adb_object, env); i ++ )
 
261
         * {
 
262
         *     // Getting ith value to property_object variable
 
263
         *     property_object = adb_element_get_property_at(adb_object, env, i);
 
264
         *
 
265
         *     // Setting ith value from property_object variable
 
266
         *     adb_element_set_property_at(adb_object, env, i, property_object);
 
267
         *
 
268
         *     // Appending the value to the end of the array from property_object variable
 
269
         *     adb_element_add_property(adb_object, env, property_object);
 
270
         *
 
271
         *     // Removing the ith value from an array
 
272
         *     adb_element_remove_property_at(adb_object, env, i);
 
273
         *     
 
274
         * }
 
275
         *
 
276
         */
 
277
 
 
278
        
 
279
        
 
280
        /**
 
281
         * Get the ith element of deviceMapping.
 
282
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
283
         * @param env pointer to environment struct
 
284
         * @param i index of the item to return
 
285
         * @return ith adb_deviceMappingType_t* of the array
 
286
         */
 
287
        adb_deviceMappingType_t* AXIS2_CALL
 
288
        adb_virtualMachineType_get_deviceMapping_at(
 
289
                adb_virtualMachineType_t* _virtualMachineType,
 
290
                const axutil_env_t *env, int i);
 
291
 
 
292
        /**
 
293
         * Set the ith element of deviceMapping. (If the ith already exist, it will be replaced)
 
294
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
295
         * @param env pointer to environment struct
 
296
         * @param i index of the item to return
 
297
         * @param arg_deviceMapping element to set adb_deviceMappingType_t* to the array
 
298
         * @return ith adb_deviceMappingType_t* of the array
 
299
         */
 
300
        axis2_status_t AXIS2_CALL
 
301
        adb_virtualMachineType_set_deviceMapping_at(
 
302
                adb_virtualMachineType_t* _virtualMachineType,
 
303
                const axutil_env_t *env, int i,
 
304
                adb_deviceMappingType_t* arg_deviceMapping);
 
305
 
 
306
 
 
307
        /**
 
308
         * Add to deviceMapping.
 
309
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
310
         * @param env pointer to environment struct
 
311
         * @param arg_deviceMapping element to add adb_deviceMappingType_t* to the array
 
312
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
 
313
         */
 
314
        axis2_status_t AXIS2_CALL
 
315
        adb_virtualMachineType_add_deviceMapping(
 
316
                adb_virtualMachineType_t* _virtualMachineType,
 
317
                const axutil_env_t *env,
 
318
                adb_deviceMappingType_t* arg_deviceMapping);
 
319
 
 
320
        /**
 
321
         * Get the size of the deviceMapping array.
 
322
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
323
         * @param env pointer to environment struct.
 
324
         * @return the size of the deviceMapping array.
 
325
         */
 
326
        int AXIS2_CALL
 
327
        adb_virtualMachineType_sizeof_deviceMapping(
 
328
                    adb_virtualMachineType_t* _virtualMachineType,
 
329
                    const axutil_env_t *env);
 
330
 
 
331
        /**
 
332
         * Remove the ith element of deviceMapping.
 
333
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
334
         * @param env pointer to environment struct
 
335
         * @param i index of the item to remove
 
336
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
 
337
         */
 
338
        axis2_status_t AXIS2_CALL
 
339
        adb_virtualMachineType_remove_deviceMapping_at(
 
340
                adb_virtualMachineType_t* _virtualMachineType,
 
341
                const axutil_env_t *env, int i);
 
342
 
 
343
        
175
344
 
176
345
 
177
346
        /******************************* Checking and Setting NIL values *********************************/
178
 
 
 
347
        /* Use 'Checking and Setting NIL values for Arrays' to check and set nil for individual elements */
179
348
 
180
349
        /**
181
350
         * NOTE: set_nil is only available for nillable properties
182
351
         */
183
352
 
184
 
 
 
353
        
 
354
 
 
355
        /**
 
356
         * Check whether name is nill
 
357
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
358
         * @param env pointer to environment struct
 
359
         * @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
 
360
         */
 
361
        axis2_bool_t AXIS2_CALL
 
362
        adb_virtualMachineType_is_name_nil(
 
363
                adb_virtualMachineType_t* _virtualMachineType,
 
364
                const axutil_env_t *env);
 
365
 
 
366
 
 
367
        
185
368
 
186
369
        /**
187
370
         * Check whether memory is nill
195
378
                const axutil_env_t *env);
196
379
 
197
380
 
198
 
 
 
381
        
199
382
 
200
383
        /**
201
384
         * Check whether cores is nill
209
392
                const axutil_env_t *env);
210
393
 
211
394
 
212
 
 
 
395
        
213
396
 
214
397
        /**
215
398
         * Check whether disk is nill
223
406
                const axutil_env_t *env);
224
407
 
225
408
 
226
 
 
 
409
        
 
410
 
 
411
        /**
 
412
         * Check whether deviceMapping is nill
 
413
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
414
         * @param env pointer to environment struct
 
415
         * @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
 
416
         */
 
417
        axis2_bool_t AXIS2_CALL
 
418
        adb_virtualMachineType_is_deviceMapping_nil(
 
419
                adb_virtualMachineType_t* _virtualMachineType,
 
420
                const axutil_env_t *env);
 
421
 
 
422
 
 
423
        
 
424
        /*************************** Checking and Setting 'NIL' values in Arrays *****************************/
 
425
 
 
426
        /**
 
427
         * NOTE: You may set this to remove specific elements in the array
 
428
         *       But you can not remove elements, if the specific property is declared to be non-nillable or sizeof(array) < minOccurs
 
429
         */
 
430
        
 
431
        /**
 
432
         * Check whether deviceMapping is nill at i
 
433
         * @param  _virtualMachineType adb_virtualMachineType_t object
 
434
         * @param env pointer to environment struct.
 
435
         * @param i index of the item to return.
 
436
         * @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
 
437
         */
 
438
        axis2_bool_t AXIS2_CALL
 
439
        adb_virtualMachineType_is_deviceMapping_nil_at(
 
440
                adb_virtualMachineType_t* _virtualMachineType,
 
441
                const axutil_env_t *env, int i);
 
442
 
 
443
       
 
444
        /**
 
445
         * Set deviceMapping to nill at i
 
446
         * @param  _virtualMachineType _ adb_virtualMachineType_t object
 
447
         * @param env pointer to environment struct.
 
448
         * @param i index of the item to set.
 
449
         * @return AXIS2_SUCCESS on success, or AXIS2_FAILURE otherwise.
 
450
         */
 
451
        axis2_status_t AXIS2_CALL
 
452
        adb_virtualMachineType_set_deviceMapping_nil_at(
 
453
                adb_virtualMachineType_t* _virtualMachineType, 
 
454
                const axutil_env_t *env, int i);
 
455
 
 
456
        
227
457
 
228
458
        /**************************** Serialize and Deserialize functions ***************************/
229
459
        /*********** These functions are for use only inside the generated code *********************/
230
460
 
231
 
 
 
461
        
232
462
        /**
233
463
         * Deserialize an XML to adb objects
234
464
         * @param  _virtualMachineType adb_virtualMachineType_t object
235
465
         * @param env pointer to environment struct
236
466
         * @param dp_parent double pointer to the parent node to deserialize
237
467
         * @param dp_is_early_node_valid double pointer to a flag (is_early_node_valid?)
238
 
         * @param dont_care_minoccurs Dont set errors on validating minoccurs,
 
468
         * @param dont_care_minoccurs Dont set errors on validating minoccurs, 
239
469
         *              (Parent will order this in a case of choice)
240
470
         * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
241
471
         */
246
476
            axiom_node_t** dp_parent,
247
477
            axis2_bool_t *dp_is_early_node_valid,
248
478
            axis2_bool_t dont_care_minoccurs);
249
 
 
250
 
 
 
479
                            
 
480
            
251
481
 
252
482
       /**
253
 
         * Declare namespace in the most parent node
 
483
         * Declare namespace in the most parent node 
254
484
         * @param  _virtualMachineType adb_virtualMachineType_t object
255
485
         * @param env pointer to environment struct
256
486
         * @param parent_element parent element
263
493
                    const axutil_env_t *env, axiom_element_t *parent_element,
264
494
                    axutil_hash_t *namespaces, int *next_ns_index);
265
495
 
266
 
 
 
496
        
267
497
 
268
498
        /**
269
499
         * Serialize to an XML from the adb objects
295
525
     #endif
296
526
 
297
527
     #endif /* ADB_VIRTUALMACHINETYPE_H */
298
 
 
 
528
    
299
529