59
61
/********************************** Getters and Setters **************************************/
62
/******** Deprecated for array types, Use 'Getters and Setters for Arrays' instead ***********/
67
* @param _virtualMachineType adb_virtualMachineType_t object
68
* @param env pointer to environment struct
69
* @return axis2_char_t*
71
axis2_char_t* AXIS2_CALL
72
adb_virtualMachineType_get_name(
73
adb_virtualMachineType_t* _virtualMachineType,
74
const axutil_env_t *env);
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
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);
91
* @param _virtualMachineType adb_virtualMachineType_t object
92
* @param env pointer to environment struct
93
* @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
95
axis2_status_t AXIS2_CALL
96
adb_virtualMachineType_reset_name(
97
adb_virtualMachineType_t* _virtualMachineType,
98
const axutil_env_t *env);
65
105
* @param _virtualMachineType adb_virtualMachineType_t object
66
106
* @param env pointer to environment struct
171
211
adb_virtualMachineType_t* _virtualMachineType,
172
212
const axutil_env_t *env);
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.
223
axutil_array_list_t* AXIS2_CALL
224
adb_virtualMachineType_get_deviceMapping(
225
adb_virtualMachineType_t* _virtualMachineType,
226
const axutil_env_t *env);
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
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);
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
248
axis2_status_t AXIS2_CALL
249
adb_virtualMachineType_reset_deviceMapping(
250
adb_virtualMachineType_t* _virtualMachineType,
251
const axutil_env_t *env);
254
/****************************** Getters and Setters For Arrays **********************************/
255
/************ Array Specific Operations: get_at, set_at, add, remove_at, sizeof *****************/
258
* E.g. use of get_at, set_at, add and sizeof
260
* for(i = 0; i < adb_element_sizeof_property(adb_object, env); i ++ )
262
* // Getting ith value to property_object variable
263
* property_object = adb_element_get_property_at(adb_object, env, i);
265
* // Setting ith value from property_object variable
266
* adb_element_set_property_at(adb_object, env, i, property_object);
268
* // Appending the value to the end of the array from property_object variable
269
* adb_element_add_property(adb_object, env, property_object);
271
* // Removing the ith value from an array
272
* adb_element_remove_property_at(adb_object, env, i);
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
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);
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
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);
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
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);
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.
327
adb_virtualMachineType_sizeof_deviceMapping(
328
adb_virtualMachineType_t* _virtualMachineType,
329
const axutil_env_t *env);
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
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);
177
346
/******************************* Checking and Setting NIL values *********************************/
347
/* Use 'Checking and Setting NIL values for Arrays' to check and set nil for individual elements */
181
350
* NOTE: set_nil is only available for nillable properties
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
361
axis2_bool_t AXIS2_CALL
362
adb_virtualMachineType_is_name_nil(
363
adb_virtualMachineType_t* _virtualMachineType,
364
const axutil_env_t *env);
187
370
* Check whether memory is nill
223
406
const axutil_env_t *env);
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
417
axis2_bool_t AXIS2_CALL
418
adb_virtualMachineType_is_deviceMapping_nil(
419
adb_virtualMachineType_t* _virtualMachineType,
420
const axutil_env_t *env);
424
/*************************** Checking and Setting 'NIL' values in Arrays *****************************/
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
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
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);
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.
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);
228
458
/**************************** Serialize and Deserialize functions ***************************/
229
459
/*********** These functions are for use only inside the generated code *********************/
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