3
#ifndef ADB_INSTANCETYPE_H
4
#define ADB_INSTANCETYPE_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_instanceType class
16
typedef struct adb_instanceType adb_instanceType_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_instanceType_t
47
* @param env pointer to environment struct
48
* @return newly created adb_instanceType_t object
50
adb_instanceType_t* AXIS2_CALL
51
adb_instanceType_create(
52
const axutil_env_t *env );
55
* Free adb_instanceType_t object
56
* @param _instanceType adb_instanceType_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_instanceType_free (
62
adb_instanceType_t* _instanceType,
63
const axutil_env_t *env);
67
/********************************** Getters and Setters **************************************/
68
/******** Deprecated for array types, Use 'Getters and Setters for Arrays' instead ***********/
72
* Getter for reservationId.
73
* @param _instanceType adb_instanceType_t object
74
* @param env pointer to environment struct
75
* @return axis2_char_t*
77
axis2_char_t* AXIS2_CALL
78
adb_instanceType_get_reservationId(
79
adb_instanceType_t* _instanceType,
80
const axutil_env_t *env);
83
* Setter for reservationId.
84
* @param _instanceType adb_instanceType_t object
85
* @param env pointer to environment struct
86
* @param arg_reservationId axis2_char_t*
87
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
89
axis2_status_t AXIS2_CALL
90
adb_instanceType_set_reservationId(
91
adb_instanceType_t* _instanceType,
92
const axutil_env_t *env,
93
const axis2_char_t* arg_reservationId);
96
* Resetter for reservationId
97
* @param _instanceType adb_instanceType_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_instanceType_reset_reservationId(
103
adb_instanceType_t* _instanceType,
104
const axutil_env_t *env);
110
* Getter for instanceId.
111
* @param _instanceType adb_instanceType_t object
112
* @param env pointer to environment struct
113
* @return axis2_char_t*
115
axis2_char_t* AXIS2_CALL
116
adb_instanceType_get_instanceId(
117
adb_instanceType_t* _instanceType,
118
const axutil_env_t *env);
121
* Setter for instanceId.
122
* @param _instanceType adb_instanceType_t object
123
* @param env pointer to environment struct
124
* @param arg_instanceId axis2_char_t*
125
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
127
axis2_status_t AXIS2_CALL
128
adb_instanceType_set_instanceId(
129
adb_instanceType_t* _instanceType,
130
const axutil_env_t *env,
131
const axis2_char_t* arg_instanceId);
134
* Resetter for instanceId
135
* @param _instanceType adb_instanceType_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_instanceType_reset_instanceId(
141
adb_instanceType_t* _instanceType,
142
const axutil_env_t *env);
148
* Getter for imageId.
149
* @param _instanceType adb_instanceType_t object
150
* @param env pointer to environment struct
151
* @return axis2_char_t*
153
axis2_char_t* AXIS2_CALL
154
adb_instanceType_get_imageId(
155
adb_instanceType_t* _instanceType,
156
const axutil_env_t *env);
159
* Setter for imageId.
160
* @param _instanceType adb_instanceType_t object
161
* @param env pointer to environment struct
162
* @param arg_imageId axis2_char_t*
163
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
165
axis2_status_t AXIS2_CALL
166
adb_instanceType_set_imageId(
167
adb_instanceType_t* _instanceType,
168
const axutil_env_t *env,
169
const axis2_char_t* arg_imageId);
172
* Resetter for imageId
173
* @param _instanceType adb_instanceType_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_instanceType_reset_imageId(
179
adb_instanceType_t* _instanceType,
180
const axutil_env_t *env);
186
* Getter for kernelId.
187
* @param _instanceType adb_instanceType_t object
188
* @param env pointer to environment struct
189
* @return axis2_char_t*
191
axis2_char_t* AXIS2_CALL
192
adb_instanceType_get_kernelId(
193
adb_instanceType_t* _instanceType,
194
const axutil_env_t *env);
197
* Setter for kernelId.
198
* @param _instanceType adb_instanceType_t object
199
* @param env pointer to environment struct
200
* @param arg_kernelId axis2_char_t*
201
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
203
axis2_status_t AXIS2_CALL
204
adb_instanceType_set_kernelId(
205
adb_instanceType_t* _instanceType,
206
const axutil_env_t *env,
207
const axis2_char_t* arg_kernelId);
210
* Resetter for kernelId
211
* @param _instanceType adb_instanceType_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_instanceType_reset_kernelId(
217
adb_instanceType_t* _instanceType,
218
const axutil_env_t *env);
224
* Getter for ramdiskId.
225
* @param _instanceType adb_instanceType_t object
226
* @param env pointer to environment struct
227
* @return axis2_char_t*
229
axis2_char_t* AXIS2_CALL
230
adb_instanceType_get_ramdiskId(
231
adb_instanceType_t* _instanceType,
232
const axutil_env_t *env);
235
* Setter for ramdiskId.
236
* @param _instanceType adb_instanceType_t object
237
* @param env pointer to environment struct
238
* @param arg_ramdiskId axis2_char_t*
239
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
241
axis2_status_t AXIS2_CALL
242
adb_instanceType_set_ramdiskId(
243
adb_instanceType_t* _instanceType,
244
const axutil_env_t *env,
245
const axis2_char_t* arg_ramdiskId);
248
* Resetter for ramdiskId
249
* @param _instanceType adb_instanceType_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_instanceType_reset_ramdiskId(
255
adb_instanceType_t* _instanceType,
256
const axutil_env_t *env);
263
* @param _instanceType adb_instanceType_t object
264
* @param env pointer to environment struct
265
* @return axis2_char_t*
267
axis2_char_t* AXIS2_CALL
268
adb_instanceType_get_userId(
269
adb_instanceType_t* _instanceType,
270
const axutil_env_t *env);
274
* @param _instanceType adb_instanceType_t object
275
* @param env pointer to environment struct
276
* @param arg_userId axis2_char_t*
277
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
279
axis2_status_t AXIS2_CALL
280
adb_instanceType_set_userId(
281
adb_instanceType_t* _instanceType,
282
const axutil_env_t *env,
283
const axis2_char_t* arg_userId);
286
* Resetter for userId
287
* @param _instanceType adb_instanceType_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_instanceType_reset_userId(
293
adb_instanceType_t* _instanceType,
294
const axutil_env_t *env);
300
* Getter for keyName.
301
* @param _instanceType adb_instanceType_t object
302
* @param env pointer to environment struct
303
* @return axis2_char_t*
305
axis2_char_t* AXIS2_CALL
306
adb_instanceType_get_keyName(
307
adb_instanceType_t* _instanceType,
308
const axutil_env_t *env);
311
* Setter for keyName.
312
* @param _instanceType adb_instanceType_t object
313
* @param env pointer to environment struct
314
* @param arg_keyName axis2_char_t*
315
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
317
axis2_status_t AXIS2_CALL
318
adb_instanceType_set_keyName(
319
adb_instanceType_t* _instanceType,
320
const axutil_env_t *env,
321
const axis2_char_t* arg_keyName);
324
* Resetter for keyName
325
* @param _instanceType adb_instanceType_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_instanceType_reset_keyName(
331
adb_instanceType_t* _instanceType,
332
const axutil_env_t *env);
338
* Getter for instanceType.
339
* @param _instanceType adb_instanceType_t object
340
* @param env pointer to environment struct
341
* @return adb_virtualMachineType_t*
343
adb_virtualMachineType_t* AXIS2_CALL
344
adb_instanceType_get_instanceType(
345
adb_instanceType_t* _instanceType,
346
const axutil_env_t *env);
349
* Setter for instanceType.
350
* @param _instanceType adb_instanceType_t object
351
* @param env pointer to environment struct
352
* @param arg_instanceType adb_virtualMachineType_t*
353
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
355
axis2_status_t AXIS2_CALL
356
adb_instanceType_set_instanceType(
357
adb_instanceType_t* _instanceType,
358
const axutil_env_t *env,
359
adb_virtualMachineType_t* arg_instanceType);
362
* Resetter for instanceType
363
* @param _instanceType adb_instanceType_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_instanceType_reset_instanceType(
369
adb_instanceType_t* _instanceType,
370
const axutil_env_t *env);
376
* Getter for netParams.
377
* @param _instanceType adb_instanceType_t object
378
* @param env pointer to environment struct
379
* @return adb_netConfigType_t*
381
adb_netConfigType_t* AXIS2_CALL
382
adb_instanceType_get_netParams(
383
adb_instanceType_t* _instanceType,
384
const axutil_env_t *env);
387
* Setter for netParams.
388
* @param _instanceType adb_instanceType_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_instanceType_set_netParams(
395
adb_instanceType_t* _instanceType,
396
const axutil_env_t *env,
397
adb_netConfigType_t* arg_netParams);
400
* Resetter for netParams
401
* @param _instanceType adb_instanceType_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_instanceType_reset_netParams(
407
adb_instanceType_t* _instanceType,
408
const axutil_env_t *env);
414
* Getter for stateName.
415
* @param _instanceType adb_instanceType_t object
416
* @param env pointer to environment struct
417
* @return axis2_char_t*
419
axis2_char_t* AXIS2_CALL
420
adb_instanceType_get_stateName(
421
adb_instanceType_t* _instanceType,
422
const axutil_env_t *env);
425
* Setter for stateName.
426
* @param _instanceType adb_instanceType_t object
427
* @param env pointer to environment struct
428
* @param arg_stateName axis2_char_t*
429
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
431
axis2_status_t AXIS2_CALL
432
adb_instanceType_set_stateName(
433
adb_instanceType_t* _instanceType,
434
const axutil_env_t *env,
435
const axis2_char_t* arg_stateName);
438
* Resetter for stateName
439
* @param _instanceType adb_instanceType_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_instanceType_reset_stateName(
445
adb_instanceType_t* _instanceType,
446
const axutil_env_t *env);
452
* Getter for launchTime.
453
* @param _instanceType adb_instanceType_t object
454
* @param env pointer to environment struct
455
* @return axutil_date_time_t*
457
axutil_date_time_t* AXIS2_CALL
458
adb_instanceType_get_launchTime(
459
adb_instanceType_t* _instanceType,
460
const axutil_env_t *env);
463
* Setter for launchTime.
464
* @param _instanceType adb_instanceType_t object
465
* @param env pointer to environment struct
466
* @param arg_launchTime axutil_date_time_t*
467
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
469
axis2_status_t AXIS2_CALL
470
adb_instanceType_set_launchTime(
471
adb_instanceType_t* _instanceType,
472
const axutil_env_t *env,
473
axutil_date_time_t* arg_launchTime);
476
* Resetter for launchTime
477
* @param _instanceType adb_instanceType_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_instanceType_reset_launchTime(
483
adb_instanceType_t* _instanceType,
484
const axutil_env_t *env);
490
* Getter for userData.
491
* @param _instanceType adb_instanceType_t object
492
* @param env pointer to environment struct
493
* @return axis2_char_t*
495
axis2_char_t* AXIS2_CALL
496
adb_instanceType_get_userData(
497
adb_instanceType_t* _instanceType,
498
const axutil_env_t *env);
501
* Setter for userData.
502
* @param _instanceType adb_instanceType_t object
503
* @param env pointer to environment struct
504
* @param arg_userData axis2_char_t*
505
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
507
axis2_status_t AXIS2_CALL
508
adb_instanceType_set_userData(
509
adb_instanceType_t* _instanceType,
510
const axutil_env_t *env,
511
const axis2_char_t* arg_userData);
514
* Resetter for userData
515
* @param _instanceType adb_instanceType_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_instanceType_reset_userData(
521
adb_instanceType_t* _instanceType,
522
const axutil_env_t *env);
528
* Getter for launchIndex.
529
* @param _instanceType adb_instanceType_t object
530
* @param env pointer to environment struct
531
* @return axis2_char_t*
533
axis2_char_t* AXIS2_CALL
534
adb_instanceType_get_launchIndex(
535
adb_instanceType_t* _instanceType,
536
const axutil_env_t *env);
539
* Setter for launchIndex.
540
* @param _instanceType adb_instanceType_t object
541
* @param env pointer to environment struct
542
* @param arg_launchIndex axis2_char_t*
543
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
545
axis2_status_t AXIS2_CALL
546
adb_instanceType_set_launchIndex(
547
adb_instanceType_t* _instanceType,
548
const axutil_env_t *env,
549
const axis2_char_t* arg_launchIndex);
552
* Resetter for launchIndex
553
* @param _instanceType adb_instanceType_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_instanceType_reset_launchIndex(
559
adb_instanceType_t* _instanceType,
560
const axutil_env_t *env);
566
* Getter for groupNames. Deprecated for array types, Use adb_instanceType_get_groupNames_at instead
567
* @param _instanceType adb_instanceType_t object
568
* @param env pointer to environment struct
569
* @return Array of axis2_char_t*s.
571
axutil_array_list_t* AXIS2_CALL
572
adb_instanceType_get_groupNames(
573
adb_instanceType_t* _instanceType,
574
const axutil_env_t *env);
577
* Setter for groupNames.Deprecated for array types, Use adb_instanceType_set_groupNames_at
578
* or adb_instanceType_add_groupNames instead.
579
* @param _instanceType adb_instanceType_t object
580
* @param env pointer to environment struct
581
* @param arg_groupNames Array of axis2_char_t*s.
582
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
584
axis2_status_t AXIS2_CALL
585
adb_instanceType_set_groupNames(
586
adb_instanceType_t* _instanceType,
587
const axutil_env_t *env,
588
axutil_array_list_t* arg_groupNames);
591
* Resetter for groupNames
592
* @param _instanceType adb_instanceType_t object
593
* @param env pointer to environment struct
594
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
596
axis2_status_t AXIS2_CALL
597
adb_instanceType_reset_groupNames(
598
adb_instanceType_t* _instanceType,
599
const axutil_env_t *env);
605
* Getter for volumes. Deprecated for array types, Use adb_instanceType_get_volumes_at instead
606
* @param _instanceType adb_instanceType_t object
607
* @param env pointer to environment struct
608
* @return Array of adb_volumeType_t*s.
610
axutil_array_list_t* AXIS2_CALL
611
adb_instanceType_get_volumes(
612
adb_instanceType_t* _instanceType,
613
const axutil_env_t *env);
616
* Setter for volumes.Deprecated for array types, Use adb_instanceType_set_volumes_at
617
* or adb_instanceType_add_volumes instead.
618
* @param _instanceType adb_instanceType_t object
619
* @param env pointer to environment struct
620
* @param arg_volumes Array of adb_volumeType_t*s.
621
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
623
axis2_status_t AXIS2_CALL
624
adb_instanceType_set_volumes(
625
adb_instanceType_t* _instanceType,
626
const axutil_env_t *env,
627
axutil_array_list_t* arg_volumes);
630
* Resetter for volumes
631
* @param _instanceType adb_instanceType_t object
632
* @param env pointer to environment struct
633
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
635
axis2_status_t AXIS2_CALL
636
adb_instanceType_reset_volumes(
637
adb_instanceType_t* _instanceType,
638
const axutil_env_t *env);
644
* Getter for serviceTag.
645
* @param _instanceType adb_instanceType_t object
646
* @param env pointer to environment struct
647
* @return axis2_char_t*
649
axis2_char_t* AXIS2_CALL
650
adb_instanceType_get_serviceTag(
651
adb_instanceType_t* _instanceType,
652
const axutil_env_t *env);
655
* Setter for serviceTag.
656
* @param _instanceType adb_instanceType_t object
657
* @param env pointer to environment struct
658
* @param arg_serviceTag axis2_char_t*
659
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
661
axis2_status_t AXIS2_CALL
662
adb_instanceType_set_serviceTag(
663
adb_instanceType_t* _instanceType,
664
const axutil_env_t *env,
665
const axis2_char_t* arg_serviceTag);
668
* Resetter for serviceTag
669
* @param _instanceType adb_instanceType_t object
670
* @param env pointer to environment struct
671
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
673
axis2_status_t AXIS2_CALL
674
adb_instanceType_reset_serviceTag(
675
adb_instanceType_t* _instanceType,
676
const axutil_env_t *env);
679
/****************************** Getters and Setters For Arrays **********************************/
680
/************ Array Specific Operations: get_at, set_at, add, remove_at, sizeof *****************/
683
* E.g. use of get_at, set_at, add and sizeof
685
* for(i = 0; i < adb_element_sizeof_property(adb_object, env); i ++ )
687
* // Getting ith value to property_object variable
688
* property_object = adb_element_get_property_at(adb_object, env, i);
690
* // Setting ith value from property_object variable
691
* adb_element_set_property_at(adb_object, env, i, property_object);
693
* // Appending the value to the end of the array from property_object variable
694
* adb_element_add_property(adb_object, env, property_object);
696
* // Removing the ith value from an array
697
* adb_element_remove_property_at(adb_object, env, i);
706
* Get the ith element of groupNames.
707
* @param _instanceType adb_instanceType_t object
708
* @param env pointer to environment struct
709
* @param i index of the item to return
710
* @return ith axis2_char_t* of the array
712
axis2_char_t* AXIS2_CALL
713
adb_instanceType_get_groupNames_at(
714
adb_instanceType_t* _instanceType,
715
const axutil_env_t *env, int i);
718
* Set the ith element of groupNames. (If the ith already exist, it will be replaced)
719
* @param _instanceType adb_instanceType_t object
720
* @param env pointer to environment struct
721
* @param i index of the item to return
722
* @param arg_groupNames element to set axis2_char_t* to the array
723
* @return ith axis2_char_t* of the array
725
axis2_status_t AXIS2_CALL
726
adb_instanceType_set_groupNames_at(
727
adb_instanceType_t* _instanceType,
728
const axutil_env_t *env, int i,
729
const axis2_char_t* arg_groupNames);
734
* @param _instanceType adb_instanceType_t object
735
* @param env pointer to environment struct
736
* @param arg_groupNames element to add axis2_char_t* to the array
737
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
739
axis2_status_t AXIS2_CALL
740
adb_instanceType_add_groupNames(
741
adb_instanceType_t* _instanceType,
742
const axutil_env_t *env,
743
const axis2_char_t* arg_groupNames);
746
* Get the size of the groupNames array.
747
* @param _instanceType adb_instanceType_t object
748
* @param env pointer to environment struct.
749
* @return the size of the groupNames array.
752
adb_instanceType_sizeof_groupNames(
753
adb_instanceType_t* _instanceType,
754
const axutil_env_t *env);
757
* Remove the ith element of groupNames.
758
* @param _instanceType adb_instanceType_t object
759
* @param env pointer to environment struct
760
* @param i index of the item to remove
761
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
763
axis2_status_t AXIS2_CALL
764
adb_instanceType_remove_groupNames_at(
765
adb_instanceType_t* _instanceType,
766
const axutil_env_t *env, int i);
771
* Get the ith element of volumes.
772
* @param _instanceType adb_instanceType_t object
773
* @param env pointer to environment struct
774
* @param i index of the item to return
775
* @return ith adb_volumeType_t* of the array
777
adb_volumeType_t* AXIS2_CALL
778
adb_instanceType_get_volumes_at(
779
adb_instanceType_t* _instanceType,
780
const axutil_env_t *env, int i);
783
* Set the ith element of volumes. (If the ith already exist, it will be replaced)
784
* @param _instanceType adb_instanceType_t object
785
* @param env pointer to environment struct
786
* @param i index of the item to return
787
* @param arg_volumes element to set adb_volumeType_t* to the array
788
* @return ith adb_volumeType_t* of the array
790
axis2_status_t AXIS2_CALL
791
adb_instanceType_set_volumes_at(
792
adb_instanceType_t* _instanceType,
793
const axutil_env_t *env, int i,
794
adb_volumeType_t* arg_volumes);
799
* @param _instanceType adb_instanceType_t object
800
* @param env pointer to environment struct
801
* @param arg_volumes element to add adb_volumeType_t* to the array
802
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
804
axis2_status_t AXIS2_CALL
805
adb_instanceType_add_volumes(
806
adb_instanceType_t* _instanceType,
807
const axutil_env_t *env,
808
adb_volumeType_t* arg_volumes);
811
* Get the size of the volumes array.
812
* @param _instanceType adb_instanceType_t object
813
* @param env pointer to environment struct.
814
* @return the size of the volumes array.
817
adb_instanceType_sizeof_volumes(
818
adb_instanceType_t* _instanceType,
819
const axutil_env_t *env);
822
* Remove the ith element of volumes.
823
* @param _instanceType adb_instanceType_t object
824
* @param env pointer to environment struct
825
* @param i index of the item to remove
826
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
828
axis2_status_t AXIS2_CALL
829
adb_instanceType_remove_volumes_at(
830
adb_instanceType_t* _instanceType,
831
const axutil_env_t *env, int i);
836
/******************************* Checking and Setting NIL values *********************************/
837
/* Use 'Checking and Setting NIL values for Arrays' to check and set nil for individual elements */
840
* NOTE: set_nil is only available for nillable properties
846
* Check whether reservationId is nill
847
* @param _instanceType adb_instanceType_t object
848
* @param env pointer to environment struct
849
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
851
axis2_bool_t AXIS2_CALL
852
adb_instanceType_is_reservationId_nil(
853
adb_instanceType_t* _instanceType,
854
const axutil_env_t *env);
860
* Check whether instanceId is nill
861
* @param _instanceType adb_instanceType_t object
862
* @param env pointer to environment struct
863
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
865
axis2_bool_t AXIS2_CALL
866
adb_instanceType_is_instanceId_nil(
867
adb_instanceType_t* _instanceType,
868
const axutil_env_t *env);
874
* Check whether imageId is nill
875
* @param _instanceType adb_instanceType_t object
876
* @param env pointer to environment struct
877
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
879
axis2_bool_t AXIS2_CALL
880
adb_instanceType_is_imageId_nil(
881
adb_instanceType_t* _instanceType,
882
const axutil_env_t *env);
888
* Check whether kernelId is nill
889
* @param _instanceType adb_instanceType_t object
890
* @param env pointer to environment struct
891
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
893
axis2_bool_t AXIS2_CALL
894
adb_instanceType_is_kernelId_nil(
895
adb_instanceType_t* _instanceType,
896
const axutil_env_t *env);
902
* Check whether ramdiskId is nill
903
* @param _instanceType adb_instanceType_t object
904
* @param env pointer to environment struct
905
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
907
axis2_bool_t AXIS2_CALL
908
adb_instanceType_is_ramdiskId_nil(
909
adb_instanceType_t* _instanceType,
910
const axutil_env_t *env);
916
* Check whether userId is nill
917
* @param _instanceType adb_instanceType_t object
918
* @param env pointer to environment struct
919
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
921
axis2_bool_t AXIS2_CALL
922
adb_instanceType_is_userId_nil(
923
adb_instanceType_t* _instanceType,
924
const axutil_env_t *env);
930
* Check whether keyName is nill
931
* @param _instanceType adb_instanceType_t object
932
* @param env pointer to environment struct
933
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
935
axis2_bool_t AXIS2_CALL
936
adb_instanceType_is_keyName_nil(
937
adb_instanceType_t* _instanceType,
938
const axutil_env_t *env);
944
* Check whether instanceType is nill
945
* @param _instanceType adb_instanceType_t object
946
* @param env pointer to environment struct
947
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
949
axis2_bool_t AXIS2_CALL
950
adb_instanceType_is_instanceType_nil(
951
adb_instanceType_t* _instanceType,
952
const axutil_env_t *env);
958
* Check whether netParams is nill
959
* @param _instanceType adb_instanceType_t object
960
* @param env pointer to environment struct
961
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
963
axis2_bool_t AXIS2_CALL
964
adb_instanceType_is_netParams_nil(
965
adb_instanceType_t* _instanceType,
966
const axutil_env_t *env);
972
* Check whether stateName is nill
973
* @param _instanceType adb_instanceType_t object
974
* @param env pointer to environment struct
975
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
977
axis2_bool_t AXIS2_CALL
978
adb_instanceType_is_stateName_nil(
979
adb_instanceType_t* _instanceType,
980
const axutil_env_t *env);
986
* Check whether launchTime is nill
987
* @param _instanceType adb_instanceType_t object
988
* @param env pointer to environment struct
989
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
991
axis2_bool_t AXIS2_CALL
992
adb_instanceType_is_launchTime_nil(
993
adb_instanceType_t* _instanceType,
994
const axutil_env_t *env);
1000
* Check whether userData is nill
1001
* @param _instanceType adb_instanceType_t object
1002
* @param env pointer to environment struct
1003
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1005
axis2_bool_t AXIS2_CALL
1006
adb_instanceType_is_userData_nil(
1007
adb_instanceType_t* _instanceType,
1008
const axutil_env_t *env);
1014
* Check whether launchIndex is nill
1015
* @param _instanceType adb_instanceType_t object
1016
* @param env pointer to environment struct
1017
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1019
axis2_bool_t AXIS2_CALL
1020
adb_instanceType_is_launchIndex_nil(
1021
adb_instanceType_t* _instanceType,
1022
const axutil_env_t *env);
1028
* Check whether groupNames is nill
1029
* @param _instanceType adb_instanceType_t object
1030
* @param env pointer to environment struct
1031
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1033
axis2_bool_t AXIS2_CALL
1034
adb_instanceType_is_groupNames_nil(
1035
adb_instanceType_t* _instanceType,
1036
const axutil_env_t *env);
1042
* Check whether volumes is nill
1043
* @param _instanceType adb_instanceType_t object
1044
* @param env pointer to environment struct
1045
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1047
axis2_bool_t AXIS2_CALL
1048
adb_instanceType_is_volumes_nil(
1049
adb_instanceType_t* _instanceType,
1050
const axutil_env_t *env);
1056
* Check whether serviceTag is nill
1057
* @param _instanceType adb_instanceType_t object
1058
* @param env pointer to environment struct
1059
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1061
axis2_bool_t AXIS2_CALL
1062
adb_instanceType_is_serviceTag_nil(
1063
adb_instanceType_t* _instanceType,
1064
const axutil_env_t *env);
1068
/*************************** Checking and Setting 'NIL' values in Arrays *****************************/
1071
* NOTE: You may set this to remove specific elements in the array
1072
* But you can not remove elements, if the specific property is declared to be non-nillable or sizeof(array) < minOccurs
1076
* Check whether groupNames is nill at i
1077
* @param _instanceType adb_instanceType_t object
1078
* @param env pointer to environment struct.
1079
* @param i index of the item to return.
1080
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1082
axis2_bool_t AXIS2_CALL
1083
adb_instanceType_is_groupNames_nil_at(
1084
adb_instanceType_t* _instanceType,
1085
const axutil_env_t *env, int i);
1089
* Set groupNames to nill at i
1090
* @param _instanceType _ adb_instanceType_t object
1091
* @param env pointer to environment struct.
1092
* @param i index of the item to set.
1093
* @return AXIS2_SUCCESS on success, or AXIS2_FAILURE otherwise.
1095
axis2_status_t AXIS2_CALL
1096
adb_instanceType_set_groupNames_nil_at(
1097
adb_instanceType_t* _instanceType,
1098
const axutil_env_t *env, int i);
1102
* Check whether volumes is nill at i
1103
* @param _instanceType adb_instanceType_t object
1104
* @param env pointer to environment struct.
1105
* @param i index of the item to return.
1106
* @return AXIS2_TRUE if the element is nil or AXIS2_FALSE otherwise
1108
axis2_bool_t AXIS2_CALL
1109
adb_instanceType_is_volumes_nil_at(
1110
adb_instanceType_t* _instanceType,
1111
const axutil_env_t *env, int i);
1115
* Set volumes to nill at i
1116
* @param _instanceType _ adb_instanceType_t object
1117
* @param env pointer to environment struct.
1118
* @param i index of the item to set.
1119
* @return AXIS2_SUCCESS on success, or AXIS2_FAILURE otherwise.
1121
axis2_status_t AXIS2_CALL
1122
adb_instanceType_set_volumes_nil_at(
1123
adb_instanceType_t* _instanceType,
1124
const axutil_env_t *env, int i);
1128
/**************************** Serialize and Deserialize functions ***************************/
1129
/*********** These functions are for use only inside the generated code *********************/
1133
* Deserialize an XML to adb objects
1134
* @param _instanceType adb_instanceType_t object
1135
* @param env pointer to environment struct
1136
* @param dp_parent double pointer to the parent node to deserialize
1137
* @param dp_is_early_node_valid double pointer to a flag (is_early_node_valid?)
1138
* @param dont_care_minoccurs Dont set errors on validating minoccurs,
1139
* (Parent will order this in a case of choice)
1140
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
1142
axis2_status_t AXIS2_CALL
1143
adb_instanceType_deserialize(
1144
adb_instanceType_t* _instanceType,
1145
const axutil_env_t *env,
1146
axiom_node_t** dp_parent,
1147
axis2_bool_t *dp_is_early_node_valid,
1148
axis2_bool_t dont_care_minoccurs);
1153
* Declare namespace in the most parent node
1154
* @param _instanceType adb_instanceType_t object
1155
* @param env pointer to environment struct
1156
* @param parent_element parent element
1157
* @param namespaces hash of namespace uri to prefix
1158
* @param next_ns_index pointer to an int which contain the next namespace index
1161
adb_instanceType_declare_parent_namespaces(
1162
adb_instanceType_t* _instanceType,
1163
const axutil_env_t *env, axiom_element_t *parent_element,
1164
axutil_hash_t *namespaces, int *next_ns_index);
1169
* Serialize to an XML from the adb objects
1170
* @param _instanceType adb_instanceType_t object
1171
* @param env pointer to environment struct
1172
* @param instanceType_om_node node to serialize from
1173
* @param instanceType_om_element parent element to serialize from
1174
* @param tag_closed whether the parent tag is closed or not
1175
* @param namespaces hash of namespace uri to prefix
1176
* @param next_ns_index an int which contain the next namespace index
1177
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
1179
axiom_node_t* AXIS2_CALL
1180
adb_instanceType_serialize(
1181
adb_instanceType_t* _instanceType,
1182
const axutil_env_t *env,
1183
axiom_node_t* instanceType_om_node, axiom_element_t *instanceType_om_element, int tag_closed, axutil_hash_t *namespaces, int *next_ns_index);
1186
* Check whether the adb_instanceType is a particle class (E.g. group, inner sequence)
1187
* @return whether this is a particle class.
1189
axis2_bool_t AXIS2_CALL
1190
adb_instanceType_is_particle();
1197
#endif /* ADB_INSTANCETYPE_H */