3
#ifndef ADB_CCINSTANCETYPE_H
4
#define ADB_CCINSTANCETYPE_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_ccInstanceType class
16
typedef struct adb_ccInstanceType adb_ccInstanceType_t;
19
#include "adb_virtualMachineType.h"
21
#include "adb_netConfigType.h"
23
#include "adb_volumeType.h"
25
#include <axutil_date_time.h>
30
#include <axis2_util.h>
31
#include <axiom_soap.h>
32
#include <axis2_client.h>
39
#define ADB_DEFAULT_DIGIT_LIMIT 64
40
#define ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT 64
43
/******************************* Create and Free functions *********************************/
46
* Constructor for creating adb_ccInstanceType_t
47
* @param env pointer to environment struct
48
* @return newly created adb_ccInstanceType_t object
50
adb_ccInstanceType_t* AXIS2_CALL
51
adb_ccInstanceType_create(
52
const axutil_env_t *env );
55
* Free adb_ccInstanceType_t object
56
* @param _ccInstanceType adb_ccInstanceType_t object to free
57
* @param env pointer to environment struct
58
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
60
axis2_status_t AXIS2_CALL
61
adb_ccInstanceType_free (
62
adb_ccInstanceType_t* _ccInstanceType,
63
const axutil_env_t *env);
67
/********************************** Getters and Setters **************************************/
68
/******** Deprecated for array types, Use 'Getters and Setters for Arrays' instead ***********/
73
* @param _ccInstanceType adb_ccInstanceType_t object
74
* @param env pointer to environment struct
75
* @return axis2_char_t*
77
axis2_char_t* AXIS2_CALL
78
adb_ccInstanceType_get_imageId(
79
adb_ccInstanceType_t* _ccInstanceType,
80
const axutil_env_t *env);
84
* @param _ccInstanceType adb_ccInstanceType_t object
85
* @param env pointer to environment struct
86
* @param arg_imageId axis2_char_t*
87
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
89
axis2_status_t AXIS2_CALL
90
adb_ccInstanceType_set_imageId(
91
adb_ccInstanceType_t* _ccInstanceType,
92
const axutil_env_t *env,
93
const axis2_char_t* arg_imageId);
96
* Resetter for imageId
97
* @param _ccInstanceType adb_ccInstanceType_t object
98
* @param env pointer to environment struct
99
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
101
axis2_status_t AXIS2_CALL
102
adb_ccInstanceType_reset_imageId(
103
adb_ccInstanceType_t* _ccInstanceType,
104
const axutil_env_t *env);
110
* Getter for kernelId.
111
* @param _ccInstanceType adb_ccInstanceType_t object
112
* @param env pointer to environment struct
113
* @return axis2_char_t*
115
axis2_char_t* AXIS2_CALL
116
adb_ccInstanceType_get_kernelId(
117
adb_ccInstanceType_t* _ccInstanceType,
118
const axutil_env_t *env);
121
* Setter for kernelId.
122
* @param _ccInstanceType adb_ccInstanceType_t object
123
* @param env pointer to environment struct
124
* @param arg_kernelId axis2_char_t*
125
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
127
axis2_status_t AXIS2_CALL
128
adb_ccInstanceType_set_kernelId(
129
adb_ccInstanceType_t* _ccInstanceType,
130
const axutil_env_t *env,
131
const axis2_char_t* arg_kernelId);
134
* Resetter for kernelId
135
* @param _ccInstanceType adb_ccInstanceType_t object
136
* @param env pointer to environment struct
137
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
139
axis2_status_t AXIS2_CALL
140
adb_ccInstanceType_reset_kernelId(
141
adb_ccInstanceType_t* _ccInstanceType,
142
const axutil_env_t *env);
148
* Getter for ramdiskId.
149
* @param _ccInstanceType adb_ccInstanceType_t object
150
* @param env pointer to environment struct
151
* @return axis2_char_t*
153
axis2_char_t* AXIS2_CALL
154
adb_ccInstanceType_get_ramdiskId(
155
adb_ccInstanceType_t* _ccInstanceType,
156
const axutil_env_t *env);
159
* Setter for ramdiskId.
160
* @param _ccInstanceType adb_ccInstanceType_t object
161
* @param env pointer to environment struct
162
* @param arg_ramdiskId axis2_char_t*
163
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
165
axis2_status_t AXIS2_CALL
166
adb_ccInstanceType_set_ramdiskId(
167
adb_ccInstanceType_t* _ccInstanceType,
168
const axutil_env_t *env,
169
const axis2_char_t* arg_ramdiskId);
172
* Resetter for ramdiskId
173
* @param _ccInstanceType adb_ccInstanceType_t object
174
* @param env pointer to environment struct
175
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
177
axis2_status_t AXIS2_CALL
178
adb_ccInstanceType_reset_ramdiskId(
179
adb_ccInstanceType_t* _ccInstanceType,
180
const axutil_env_t *env);
186
* Getter for instanceId.
187
* @param _ccInstanceType adb_ccInstanceType_t object
188
* @param env pointer to environment struct
189
* @return axis2_char_t*
191
axis2_char_t* AXIS2_CALL
192
adb_ccInstanceType_get_instanceId(
193
adb_ccInstanceType_t* _ccInstanceType,
194
const axutil_env_t *env);
197
* Setter for instanceId.
198
* @param _ccInstanceType adb_ccInstanceType_t object
199
* @param env pointer to environment struct
200
* @param arg_instanceId axis2_char_t*
201
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
203
axis2_status_t AXIS2_CALL
204
adb_ccInstanceType_set_instanceId(
205
adb_ccInstanceType_t* _ccInstanceType,
206
const axutil_env_t *env,
207
const axis2_char_t* arg_instanceId);
210
* Resetter for instanceId
211
* @param _ccInstanceType adb_ccInstanceType_t object
212
* @param env pointer to environment struct
213
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
215
axis2_status_t AXIS2_CALL
216
adb_ccInstanceType_reset_instanceId(
217
adb_ccInstanceType_t* _ccInstanceType,
218
const axutil_env_t *env);
224
* Getter for instanceType.
225
* @param _ccInstanceType adb_ccInstanceType_t object
226
* @param env pointer to environment struct
227
* @return adb_virtualMachineType_t*
229
adb_virtualMachineType_t* AXIS2_CALL
230
adb_ccInstanceType_get_instanceType(
231
adb_ccInstanceType_t* _ccInstanceType,
232
const axutil_env_t *env);
235
* Setter for instanceType.
236
* @param _ccInstanceType adb_ccInstanceType_t object
237
* @param env pointer to environment struct
238
* @param arg_instanceType adb_virtualMachineType_t*
239
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
241
axis2_status_t AXIS2_CALL
242
adb_ccInstanceType_set_instanceType(
243
adb_ccInstanceType_t* _ccInstanceType,
244
const axutil_env_t *env,
245
adb_virtualMachineType_t* arg_instanceType);
248
* Resetter for instanceType
249
* @param _ccInstanceType adb_ccInstanceType_t object
250
* @param env pointer to environment struct
251
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
253
axis2_status_t AXIS2_CALL
254
adb_ccInstanceType_reset_instanceType(
255
adb_ccInstanceType_t* _ccInstanceType,
256
const axutil_env_t *env);
262
* Getter for keyName.
263
* @param _ccInstanceType adb_ccInstanceType_t object
264
* @param env pointer to environment struct
265
* @return axis2_char_t*
267
axis2_char_t* AXIS2_CALL
268
adb_ccInstanceType_get_keyName(
269
adb_ccInstanceType_t* _ccInstanceType,
270
const axutil_env_t *env);
273
* Setter for keyName.
274
* @param _ccInstanceType adb_ccInstanceType_t object
275
* @param env pointer to environment struct
276
* @param arg_keyName axis2_char_t*
277
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
279
axis2_status_t AXIS2_CALL
280
adb_ccInstanceType_set_keyName(
281
adb_ccInstanceType_t* _ccInstanceType,
282
const axutil_env_t *env,
283
const axis2_char_t* arg_keyName);
286
* Resetter for keyName
287
* @param _ccInstanceType adb_ccInstanceType_t object
288
* @param env pointer to environment struct
289
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
291
axis2_status_t AXIS2_CALL
292
adb_ccInstanceType_reset_keyName(
293
adb_ccInstanceType_t* _ccInstanceType,
294
const axutil_env_t *env);
300
* Getter for launchTime.
301
* @param _ccInstanceType adb_ccInstanceType_t object
302
* @param env pointer to environment struct
303
* @return axutil_date_time_t*
305
axutil_date_time_t* AXIS2_CALL
306
adb_ccInstanceType_get_launchTime(
307
adb_ccInstanceType_t* _ccInstanceType,
308
const axutil_env_t *env);
311
* Setter for launchTime.
312
* @param _ccInstanceType adb_ccInstanceType_t object
313
* @param env pointer to environment struct
314
* @param arg_launchTime axutil_date_time_t*
315
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
317
axis2_status_t AXIS2_CALL
318
adb_ccInstanceType_set_launchTime(
319
adb_ccInstanceType_t* _ccInstanceType,
320
const axutil_env_t *env,
321
axutil_date_time_t* arg_launchTime);
324
* Resetter for launchTime
325
* @param _ccInstanceType adb_ccInstanceType_t object
326
* @param env pointer to environment struct
327
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
329
axis2_status_t AXIS2_CALL
330
adb_ccInstanceType_reset_launchTime(
331
adb_ccInstanceType_t* _ccInstanceType,
332
const axutil_env_t *env);
338
* Getter for stateName.
339
* @param _ccInstanceType adb_ccInstanceType_t object
340
* @param env pointer to environment struct
341
* @return axis2_char_t*
343
axis2_char_t* AXIS2_CALL
344
adb_ccInstanceType_get_stateName(
345
adb_ccInstanceType_t* _ccInstanceType,
346
const axutil_env_t *env);
349
* Setter for stateName.
350
* @param _ccInstanceType adb_ccInstanceType_t object
351
* @param env pointer to environment struct
352
* @param arg_stateName axis2_char_t*
353
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
355
axis2_status_t AXIS2_CALL
356
adb_ccInstanceType_set_stateName(
357
adb_ccInstanceType_t* _ccInstanceType,
358
const axutil_env_t *env,
359
const axis2_char_t* arg_stateName);
362
* Resetter for stateName
363
* @param _ccInstanceType adb_ccInstanceType_t object
364
* @param env pointer to environment struct
365
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
367
axis2_status_t AXIS2_CALL
368
adb_ccInstanceType_reset_stateName(
369
adb_ccInstanceType_t* _ccInstanceType,
370
const axutil_env_t *env);
376
* Getter for netParams.
377
* @param _ccInstanceType adb_ccInstanceType_t object
378
* @param env pointer to environment struct
379
* @return adb_netConfigType_t*
381
adb_netConfigType_t* AXIS2_CALL
382
adb_ccInstanceType_get_netParams(
383
adb_ccInstanceType_t* _ccInstanceType,
384
const axutil_env_t *env);
387
* Setter for netParams.
388
* @param _ccInstanceType adb_ccInstanceType_t object
389
* @param env pointer to environment struct
390
* @param arg_netParams adb_netConfigType_t*
391
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
393
axis2_status_t AXIS2_CALL
394
adb_ccInstanceType_set_netParams(
395
adb_ccInstanceType_t* _ccInstanceType,
396
const axutil_env_t *env,
397
adb_netConfigType_t* arg_netParams);
400
* Resetter for netParams
401
* @param _ccInstanceType adb_ccInstanceType_t object
402
* @param env pointer to environment struct
403
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
405
axis2_status_t AXIS2_CALL
406
adb_ccInstanceType_reset_netParams(
407
adb_ccInstanceType_t* _ccInstanceType,
408
const axutil_env_t *env);
414
* Getter for ownerId.
415
* @param _ccInstanceType adb_ccInstanceType_t object
416
* @param env pointer to environment struct
417
* @return axis2_char_t*
419
axis2_char_t* AXIS2_CALL
420
adb_ccInstanceType_get_ownerId(
421
adb_ccInstanceType_t* _ccInstanceType,
422
const axutil_env_t *env);
425
* Setter for ownerId.
426
* @param _ccInstanceType adb_ccInstanceType_t object
427
* @param env pointer to environment struct
428
* @param arg_ownerId axis2_char_t*
429
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
431
axis2_status_t AXIS2_CALL
432
adb_ccInstanceType_set_ownerId(
433
adb_ccInstanceType_t* _ccInstanceType,
434
const axutil_env_t *env,
435
const axis2_char_t* arg_ownerId);
438
* Resetter for ownerId
439
* @param _ccInstanceType adb_ccInstanceType_t object
440
* @param env pointer to environment struct
441
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
443
axis2_status_t AXIS2_CALL
444
adb_ccInstanceType_reset_ownerId(
445
adb_ccInstanceType_t* _ccInstanceType,
446
const axutil_env_t *env);
452
* Getter for reservationId.
453
* @param _ccInstanceType adb_ccInstanceType_t object
454
* @param env pointer to environment struct
455
* @return axis2_char_t*
457
axis2_char_t* AXIS2_CALL
458
adb_ccInstanceType_get_reservationId(
459
adb_ccInstanceType_t* _ccInstanceType,
460
const axutil_env_t *env);
463
* Setter for reservationId.
464
* @param _ccInstanceType adb_ccInstanceType_t object
465
* @param env pointer to environment struct
466
* @param arg_reservationId axis2_char_t*
467
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
469
axis2_status_t AXIS2_CALL
470
adb_ccInstanceType_set_reservationId(
471
adb_ccInstanceType_t* _ccInstanceType,
472
const axutil_env_t *env,
473
const axis2_char_t* arg_reservationId);
476
* Resetter for reservationId
477
* @param _ccInstanceType adb_ccInstanceType_t object
478
* @param env pointer to environment struct
479
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
481
axis2_status_t AXIS2_CALL
482
adb_ccInstanceType_reset_reservationId(
483
adb_ccInstanceType_t* _ccInstanceType,
484
const axutil_env_t *env);
490
* Getter for serviceTag.
491
* @param _ccInstanceType adb_ccInstanceType_t object
492
* @param env pointer to environment struct
493
* @return axis2_char_t*
495
axis2_char_t* AXIS2_CALL
496
adb_ccInstanceType_get_serviceTag(
497
adb_ccInstanceType_t* _ccInstanceType,
498
const axutil_env_t *env);
501
* Setter for serviceTag.
502
* @param _ccInstanceType adb_ccInstanceType_t object
503
* @param env pointer to environment struct
504
* @param arg_serviceTag axis2_char_t*
505
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
507
axis2_status_t AXIS2_CALL
508
adb_ccInstanceType_set_serviceTag(
509
adb_ccInstanceType_t* _ccInstanceType,
510
const axutil_env_t *env,
511
const axis2_char_t* arg_serviceTag);
514
* Resetter for serviceTag
515
* @param _ccInstanceType adb_ccInstanceType_t object
516
* @param env pointer to environment struct
517
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
519
axis2_status_t AXIS2_CALL
520
adb_ccInstanceType_reset_serviceTag(
521
adb_ccInstanceType_t* _ccInstanceType,
522
const axutil_env_t *env);
528
* Getter for userData.
529
* @param _ccInstanceType adb_ccInstanceType_t object
530
* @param env pointer to environment struct
531
* @return axis2_char_t*
533
axis2_char_t* AXIS2_CALL
534
adb_ccInstanceType_get_userData(
535
adb_ccInstanceType_t* _ccInstanceType,
536
const axutil_env_t *env);
539
* Setter for userData.
540
* @param _ccInstanceType adb_ccInstanceType_t object
541
* @param env pointer to environment struct
542
* @param arg_userData axis2_char_t*
543
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
545
axis2_status_t AXIS2_CALL
546
adb_ccInstanceType_set_userData(
547
adb_ccInstanceType_t* _ccInstanceType,
548
const axutil_env_t *env,
549
const axis2_char_t* arg_userData);
552
* Resetter for userData
553
* @param _ccInstanceType adb_ccInstanceType_t object
554
* @param env pointer to environment struct
555
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
557
axis2_status_t AXIS2_CALL
558
adb_ccInstanceType_reset_userData(
559
adb_ccInstanceType_t* _ccInstanceType,
560
const axutil_env_t *env);
566
* Getter for launchIndex.
567
* @param _ccInstanceType adb_ccInstanceType_t object
568
* @param env pointer to environment struct
569
* @return axis2_char_t*
571
axis2_char_t* AXIS2_CALL
572
adb_ccInstanceType_get_launchIndex(
573
adb_ccInstanceType_t* _ccInstanceType,
574
const axutil_env_t *env);
577
* Setter for launchIndex.
578
* @param _ccInstanceType adb_ccInstanceType_t object
579
* @param env pointer to environment struct
580
* @param arg_launchIndex axis2_char_t*
581
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
583
axis2_status_t AXIS2_CALL
584
adb_ccInstanceType_set_launchIndex(
585
adb_ccInstanceType_t* _ccInstanceType,
586
const axutil_env_t *env,
587
const axis2_char_t* arg_launchIndex);
590
* Resetter for launchIndex
591
* @param _ccInstanceType adb_ccInstanceType_t object
592
* @param env pointer to environment struct
593
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
595
axis2_status_t AXIS2_CALL
596
adb_ccInstanceType_reset_launchIndex(
597
adb_ccInstanceType_t* _ccInstanceType,
598
const axutil_env_t *env);
604
* Getter for networkIndex.
605
* @param _ccInstanceType adb_ccInstanceType_t object
606
* @param env pointer to environment struct
610
adb_ccInstanceType_get_networkIndex(
611
adb_ccInstanceType_t* _ccInstanceType,
612
const axutil_env_t *env);
615
* Setter for networkIndex.
616
* @param _ccInstanceType adb_ccInstanceType_t object
617
* @param env pointer to environment struct
618
* @param arg_networkIndex int
619
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
621
axis2_status_t AXIS2_CALL
622
adb_ccInstanceType_set_networkIndex(
623
adb_ccInstanceType_t* _ccInstanceType,
624
const axutil_env_t *env,
625
const int arg_networkIndex);
628
* Resetter for networkIndex
629
* @param _ccInstanceType adb_ccInstanceType_t object
630
* @param env pointer to environment struct
631
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
633
axis2_status_t AXIS2_CALL
634
adb_ccInstanceType_reset_networkIndex(
635
adb_ccInstanceType_t* _ccInstanceType,
636
const axutil_env_t *env);
642
* Getter for groupNames. Deprecated for array types, Use adb_ccInstanceType_get_groupNames_at instead
643
* @param _ccInstanceType adb_ccInstanceType_t object
644
* @param env pointer to environment struct
645
* @return Array of axis2_char_t*s.
647
axutil_array_list_t* AXIS2_CALL
648
adb_ccInstanceType_get_groupNames(
649
adb_ccInstanceType_t* _ccInstanceType,
650
const axutil_env_t *env);
653
* Setter for groupNames.Deprecated for array types, Use adb_ccInstanceType_set_groupNames_at
654
* or adb_ccInstanceType_add_groupNames instead.
655
* @param _ccInstanceType adb_ccInstanceType_t object
656
* @param env pointer to environment struct
657
* @param arg_groupNames Array of axis2_char_t*s.
658
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
660
axis2_status_t AXIS2_CALL
661
adb_ccInstanceType_set_groupNames(
662
adb_ccInstanceType_t* _ccInstanceType,
663
const axutil_env_t *env,
664
axutil_array_list_t* arg_groupNames);
667
* Resetter for groupNames
668
* @param _ccInstanceType adb_ccInstanceType_t object
669
* @param env pointer to environment struct
670
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
672
axis2_status_t AXIS2_CALL
673
adb_ccInstanceType_reset_groupNames(
674
adb_ccInstanceType_t* _ccInstanceType,
675
const axutil_env_t *env);
681
* Getter for volumes. Deprecated for array types, Use adb_ccInstanceType_get_volumes_at instead
682
* @param _ccInstanceType adb_ccInstanceType_t object
683
* @param env pointer to environment struct
684
* @return Array of adb_volumeType_t*s.
686
axutil_array_list_t* AXIS2_CALL
687
adb_ccInstanceType_get_volumes(
688
adb_ccInstanceType_t* _ccInstanceType,
689
const axutil_env_t *env);
692
* Setter for volumes.Deprecated for array types, Use adb_ccInstanceType_set_volumes_at
693
* or adb_ccInstanceType_add_volumes instead.
694
* @param _ccInstanceType adb_ccInstanceType_t object
695
* @param env pointer to environment struct
696
* @param arg_volumes Array of adb_volumeType_t*s.
697
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
699
axis2_status_t AXIS2_CALL
700
adb_ccInstanceType_set_volumes(
701
adb_ccInstanceType_t* _ccInstanceType,
702
const axutil_env_t *env,
703
axutil_array_list_t* arg_volumes);
706
* Resetter for volumes
707
* @param _ccInstanceType adb_ccInstanceType_t object
708
* @param env pointer to environment struct
709
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
711
axis2_status_t AXIS2_CALL
712
adb_ccInstanceType_reset_volumes(
713
adb_ccInstanceType_t* _ccInstanceType,
714
const axutil_env_t *env);
717
/****************************** Getters and Setters For Arrays **********************************/
718
/************ Array Specific Operations: get_at, set_at, add, remove_at, sizeof *****************/
721
* E.g. use of get_at, set_at, add and sizeof
723
* for(i = 0; i < adb_element_sizeof_property(adb_object, env); i ++ )
725
* // Getting ith value to property_object variable
726
* property_object = adb_element_get_property_at(adb_object, env, i);
728
* // Setting ith value from property_object variable
729
* adb_element_set_property_at(adb_object, env, i, property_object);
731
* // Appending the value to the end of the array from property_object variable
732
* adb_element_add_property(adb_object, env, property_object);
734
* // Removing the ith value from an array
735
* adb_element_remove_property_at(adb_object, env, i);
744
* Get the ith element of groupNames.
745
* @param _ccInstanceType adb_ccInstanceType_t object
746
* @param env pointer to environment struct
747
* @param i index of the item to return
748
* @return ith axis2_char_t* of the array
750
axis2_char_t* AXIS2_CALL
751
adb_ccInstanceType_get_groupNames_at(
752
adb_ccInstanceType_t* _ccInstanceType,
753
const axutil_env_t *env, int i);
756
* Set the ith element of groupNames. (If the ith already exist, it will be replaced)
757
* @param _ccInstanceType adb_ccInstanceType_t object
758
* @param env pointer to environment struct
759
* @param i index of the item to return
760
* @param arg_groupNames element to set axis2_char_t* to the array
761
* @return ith axis2_char_t* of the array
763
axis2_status_t AXIS2_CALL
764
adb_ccInstanceType_set_groupNames_at(
765
adb_ccInstanceType_t* _ccInstanceType,
766
const axutil_env_t *env, int i,
767
const axis2_char_t* arg_groupNames);
772
* @param _ccInstanceType adb_ccInstanceType_t object
773
* @param env pointer to environment struct
774
* @param arg_groupNames element to add axis2_char_t* to the array
775
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
777
axis2_status_t AXIS2_CALL
778
adb_ccInstanceType_add_groupNames(
779
adb_ccInstanceType_t* _ccInstanceType,
780
const axutil_env_t *env,
781
const axis2_char_t* arg_groupNames);
784
* Get the size of the groupNames array.
785
* @param _ccInstanceType adb_ccInstanceType_t object
786
* @param env pointer to environment struct.
787
* @return the size of the groupNames array.
790
adb_ccInstanceType_sizeof_groupNames(
791
adb_ccInstanceType_t* _ccInstanceType,
792
const axutil_env_t *env);
795
* Remove the ith element of groupNames.
796
* @param _ccInstanceType adb_ccInstanceType_t object
797
* @param env pointer to environment struct
798
* @param i index of the item to remove
799
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
801
axis2_status_t AXIS2_CALL
802
adb_ccInstanceType_remove_groupNames_at(
803
adb_ccInstanceType_t* _ccInstanceType,
804
const axutil_env_t *env, int i);
809
* Get the ith element of volumes.
810
* @param _ccInstanceType adb_ccInstanceType_t object
811
* @param env pointer to environment struct
812
* @param i index of the item to return
813
* @return ith adb_volumeType_t* of the array
815
adb_volumeType_t* AXIS2_CALL
816
adb_ccInstanceType_get_volumes_at(
817
adb_ccInstanceType_t* _ccInstanceType,
818
const axutil_env_t *env, int i);
821
* Set the ith element of volumes. (If the ith already exist, it will be replaced)
822
* @param _ccInstanceType adb_ccInstanceType_t object
823
* @param env pointer to environment struct
824
* @param i index of the item to return
825
* @param arg_volumes element to set adb_volumeType_t* to the array
826
* @return ith adb_volumeType_t* of the array
828
axis2_status_t AXIS2_CALL
829
adb_ccInstanceType_set_volumes_at(
830
adb_ccInstanceType_t* _ccInstanceType,
831
const axutil_env_t *env, int i,
832
adb_volumeType_t* arg_volumes);
837
* @param _ccInstanceType adb_ccInstanceType_t object
838
* @param env pointer to environment struct
839
* @param arg_volumes element to add adb_volumeType_t* to the array
840
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
842
axis2_status_t AXIS2_CALL
843
adb_ccInstanceType_add_volumes(
844
adb_ccInstanceType_t* _ccInstanceType,
845
const axutil_env_t *env,
846
adb_volumeType_t* arg_volumes);
849
* Get the size of the volumes array.
850
* @param _ccInstanceType adb_ccInstanceType_t object
851
* @param env pointer to environment struct.
852
* @return the size of the volumes array.
855
adb_ccInstanceType_sizeof_volumes(
856
adb_ccInstanceType_t* _ccInstanceType,
857
const axutil_env_t *env);
860
* Remove the ith element of volumes.
861
* @param _ccInstanceType adb_ccInstanceType_t object
862
* @param env pointer to environment struct
863
* @param i index of the item to remove
864
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
866
axis2_status_t AXIS2_CALL
867
adb_ccInstanceType_remove_volumes_at(
868
adb_ccInstanceType_t* _ccInstanceType,
869
const axutil_env_t *env, int i);
874
/******************************* Checking and Setting NIL values *********************************/
875
/* Use 'Checking and Setting NIL values for Arrays' to check and set nil for individual elements */
878
* NOTE: set_nil is only available for nillable properties
884
* Check whether imageId is nill
885
* @param _ccInstanceType adb_ccInstanceType_t object
886
* @param env pointer to environment struct
887
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
889
axis2_bool_t AXIS2_CALL
890
adb_ccInstanceType_is_imageId_nil(
891
adb_ccInstanceType_t* _ccInstanceType,
892
const axutil_env_t *env);
898
* Check whether kernelId is nill
899
* @param _ccInstanceType adb_ccInstanceType_t object
900
* @param env pointer to environment struct
901
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
903
axis2_bool_t AXIS2_CALL
904
adb_ccInstanceType_is_kernelId_nil(
905
adb_ccInstanceType_t* _ccInstanceType,
906
const axutil_env_t *env);
912
* Check whether ramdiskId is nill
913
* @param _ccInstanceType adb_ccInstanceType_t object
914
* @param env pointer to environment struct
915
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
917
axis2_bool_t AXIS2_CALL
918
adb_ccInstanceType_is_ramdiskId_nil(
919
adb_ccInstanceType_t* _ccInstanceType,
920
const axutil_env_t *env);
926
* Check whether instanceId is nill
927
* @param _ccInstanceType adb_ccInstanceType_t object
928
* @param env pointer to environment struct
929
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
931
axis2_bool_t AXIS2_CALL
932
adb_ccInstanceType_is_instanceId_nil(
933
adb_ccInstanceType_t* _ccInstanceType,
934
const axutil_env_t *env);
940
* Check whether instanceType is nill
941
* @param _ccInstanceType adb_ccInstanceType_t object
942
* @param env pointer to environment struct
943
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
945
axis2_bool_t AXIS2_CALL
946
adb_ccInstanceType_is_instanceType_nil(
947
adb_ccInstanceType_t* _ccInstanceType,
948
const axutil_env_t *env);
954
* Check whether keyName is nill
955
* @param _ccInstanceType adb_ccInstanceType_t object
956
* @param env pointer to environment struct
957
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
959
axis2_bool_t AXIS2_CALL
960
adb_ccInstanceType_is_keyName_nil(
961
adb_ccInstanceType_t* _ccInstanceType,
962
const axutil_env_t *env);
968
* Check whether launchTime is nill
969
* @param _ccInstanceType adb_ccInstanceType_t object
970
* @param env pointer to environment struct
971
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
973
axis2_bool_t AXIS2_CALL
974
adb_ccInstanceType_is_launchTime_nil(
975
adb_ccInstanceType_t* _ccInstanceType,
976
const axutil_env_t *env);
982
* Check whether stateName is nill
983
* @param _ccInstanceType adb_ccInstanceType_t object
984
* @param env pointer to environment struct
985
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
987
axis2_bool_t AXIS2_CALL
988
adb_ccInstanceType_is_stateName_nil(
989
adb_ccInstanceType_t* _ccInstanceType,
990
const axutil_env_t *env);
996
* Check whether netParams is nill
997
* @param _ccInstanceType adb_ccInstanceType_t object
998
* @param env pointer to environment struct
999
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1001
axis2_bool_t AXIS2_CALL
1002
adb_ccInstanceType_is_netParams_nil(
1003
adb_ccInstanceType_t* _ccInstanceType,
1004
const axutil_env_t *env);
1010
* Check whether ownerId is nill
1011
* @param _ccInstanceType adb_ccInstanceType_t object
1012
* @param env pointer to environment struct
1013
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1015
axis2_bool_t AXIS2_CALL
1016
adb_ccInstanceType_is_ownerId_nil(
1017
adb_ccInstanceType_t* _ccInstanceType,
1018
const axutil_env_t *env);
1024
* Check whether reservationId is nill
1025
* @param _ccInstanceType adb_ccInstanceType_t object
1026
* @param env pointer to environment struct
1027
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1029
axis2_bool_t AXIS2_CALL
1030
adb_ccInstanceType_is_reservationId_nil(
1031
adb_ccInstanceType_t* _ccInstanceType,
1032
const axutil_env_t *env);
1038
* Check whether serviceTag is nill
1039
* @param _ccInstanceType adb_ccInstanceType_t object
1040
* @param env pointer to environment struct
1041
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1043
axis2_bool_t AXIS2_CALL
1044
adb_ccInstanceType_is_serviceTag_nil(
1045
adb_ccInstanceType_t* _ccInstanceType,
1046
const axutil_env_t *env);
1052
* Check whether userData is nill
1053
* @param _ccInstanceType adb_ccInstanceType_t object
1054
* @param env pointer to environment struct
1055
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1057
axis2_bool_t AXIS2_CALL
1058
adb_ccInstanceType_is_userData_nil(
1059
adb_ccInstanceType_t* _ccInstanceType,
1060
const axutil_env_t *env);
1066
* Check whether launchIndex is nill
1067
* @param _ccInstanceType adb_ccInstanceType_t object
1068
* @param env pointer to environment struct
1069
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1071
axis2_bool_t AXIS2_CALL
1072
adb_ccInstanceType_is_launchIndex_nil(
1073
adb_ccInstanceType_t* _ccInstanceType,
1074
const axutil_env_t *env);
1080
* Check whether networkIndex is nill
1081
* @param _ccInstanceType adb_ccInstanceType_t object
1082
* @param env pointer to environment struct
1083
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1085
axis2_bool_t AXIS2_CALL
1086
adb_ccInstanceType_is_networkIndex_nil(
1087
adb_ccInstanceType_t* _ccInstanceType,
1088
const axutil_env_t *env);
1094
* Check whether groupNames is nill
1095
* @param _ccInstanceType adb_ccInstanceType_t object
1096
* @param env pointer to environment struct
1097
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1099
axis2_bool_t AXIS2_CALL
1100
adb_ccInstanceType_is_groupNames_nil(
1101
adb_ccInstanceType_t* _ccInstanceType,
1102
const axutil_env_t *env);
1108
* Check whether volumes is nill
1109
* @param _ccInstanceType adb_ccInstanceType_t object
1110
* @param env pointer to environment struct
1111
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1113
axis2_bool_t AXIS2_CALL
1114
adb_ccInstanceType_is_volumes_nil(
1115
adb_ccInstanceType_t* _ccInstanceType,
1116
const axutil_env_t *env);
1120
/*************************** Checking and Setting 'NIL' values in Arrays *****************************/
1123
* NOTE: You may set this to remove specific elements in the array
1124
* But you can not remove elements, if the specific property is declared to be non-nillable or sizeof(array) < minOccurs
1128
* Check whether groupNames is nill at i
1129
* @param _ccInstanceType adb_ccInstanceType_t object
1130
* @param env pointer to environment struct.
1131
* @param i index of the item to return.
1132
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1134
axis2_bool_t AXIS2_CALL
1135
adb_ccInstanceType_is_groupNames_nil_at(
1136
adb_ccInstanceType_t* _ccInstanceType,
1137
const axutil_env_t *env, int i);
1141
* Set groupNames to nill at i
1142
* @param _ccInstanceType _ adb_ccInstanceType_t object
1143
* @param env pointer to environment struct.
1144
* @param i index of the item to set.
1145
* @return AXIS2_SUCCESS on success, or AXIS2_FAILURE otherwise.
1147
axis2_status_t AXIS2_CALL
1148
adb_ccInstanceType_set_groupNames_nil_at(
1149
adb_ccInstanceType_t* _ccInstanceType,
1150
const axutil_env_t *env, int i);
1154
* Check whether volumes is nill at i
1155
* @param _ccInstanceType adb_ccInstanceType_t object
1156
* @param env pointer to environment struct.
1157
* @param i index of the item to return.
1158
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1160
axis2_bool_t AXIS2_CALL
1161
adb_ccInstanceType_is_volumes_nil_at(
1162
adb_ccInstanceType_t* _ccInstanceType,
1163
const axutil_env_t *env, int i);
1167
* Set volumes to nill at i
1168
* @param _ccInstanceType _ adb_ccInstanceType_t object
1169
* @param env pointer to environment struct.
1170
* @param i index of the item to set.
1171
* @return AXIS2_SUCCESS on success, or AXIS2_FAILURE otherwise.
1173
axis2_status_t AXIS2_CALL
1174
adb_ccInstanceType_set_volumes_nil_at(
1175
adb_ccInstanceType_t* _ccInstanceType,
1176
const axutil_env_t *env, int i);
1180
/**************************** Serialize and Deserialize functions ***************************/
1181
/*********** These functions are for use only inside the generated code *********************/
1185
* Deserialize an XML to adb objects
1186
* @param _ccInstanceType adb_ccInstanceType_t object
1187
* @param env pointer to environment struct
1188
* @param dp_parent double pointer to the parent node to deserialize
1189
* @param dp_is_early_node_valid double pointer to a flag (is_early_node_valid?)
1190
* @param dont_care_minoccurs Dont set errors on validating minoccurs,
1191
* (Parent will order this in a case of choice)
1192
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
1194
axis2_status_t AXIS2_CALL
1195
adb_ccInstanceType_deserialize(
1196
adb_ccInstanceType_t* _ccInstanceType,
1197
const axutil_env_t *env,
1198
axiom_node_t** dp_parent,
1199
axis2_bool_t *dp_is_early_node_valid,
1200
axis2_bool_t dont_care_minoccurs);
1205
* Declare namespace in the most parent node
1206
* @param _ccInstanceType adb_ccInstanceType_t object
1207
* @param env pointer to environment struct
1208
* @param parent_element parent element
1209
* @param namespaces hash of namespace uri to prefix
1210
* @param next_ns_index pointer to an int which contain the next namespace index
1213
adb_ccInstanceType_declare_parent_namespaces(
1214
adb_ccInstanceType_t* _ccInstanceType,
1215
const axutil_env_t *env, axiom_element_t *parent_element,
1216
axutil_hash_t *namespaces, int *next_ns_index);
1221
* Serialize to an XML from the adb objects
1222
* @param _ccInstanceType adb_ccInstanceType_t object
1223
* @param env pointer to environment struct
1224
* @param ccInstanceType_om_node node to serialize from
1225
* @param ccInstanceType_om_element parent element to serialize from
1226
* @param tag_closed whether the parent tag is closed or not
1227
* @param namespaces hash of namespace uri to prefix
1228
* @param next_ns_index an int which contain the next namespace index
1229
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
1231
axiom_node_t* AXIS2_CALL
1232
adb_ccInstanceType_serialize(
1233
adb_ccInstanceType_t* _ccInstanceType,
1234
const axutil_env_t *env,
1235
axiom_node_t* ccInstanceType_om_node, axiom_element_t *ccInstanceType_om_element, int tag_closed, axutil_hash_t *namespaces, int *next_ns_index);
1238
* Check whether the adb_ccInstanceType is a particle class (E.g. group, inner sequence)
1239
* @return whether this is a particle class.
1241
axis2_bool_t AXIS2_CALL
1242
adb_ccInstanceType_is_particle();
1249
#endif /* ADB_CCINSTANCETYPE_H */