View difference between Paste ID: uFqHRZLE and 7f662HiN
SHOW: | | - or go back to the newest paste.
1
2
        #ifndef ABSTRACTREQUESTTYPE_H
3-
        #ifndef TRADING_ABSTRACTREQUESTTYPE_H
3+
        #define ABSTRACTREQUESTTYPE_H
4-
        #define TRADING_ABSTRACTREQUESTTYPE_H
4+
5
       /**
6
        * AbstractRequestType.h
7
        *
8
        * This file was auto-generated from WSDL
9
        * by the Apache Axis2/Java version: 1.0  Built on : Oct 15, 2009 (12:37:29 IST)
10
        */
11
12
       /**
13
        *  AbstractRequestType class
14
        */
15
16
        namespace ns_trading_service{
17
            class AbstractRequestType;
18
        }
19
        
20
21
        
22
       #include "DetailLevelCodeType.h"
23
          
24
       #include "ErrorHandlingCodeType.h"
25
          
26
       #include "UUIDType.h"
27
          
28
       #include "WarningLevelCodeType.h"
29
          
30
       #include "BotBlockRequestType.h"
31
          
32
33
        #include <stdio.h>
34
        #include <OMElement.h>
35
        #include <ServiceClient.h>
36
        #include <ADBDefines.h>
37
38
namespace ns_trading_service
39
{
40
        
41
        
42
43
        class AbstractRequestType {
44
45
        private:
46
             std::vector<ns_trading_service::DetailLevelCodeType*>* property_DetailLevel;
47
48
                
49
                bool isValidDetailLevel;
50
            std::string property_ErrorLanguage;
51
52
                
53
                bool isValidErrorLanguage;
54
            std::string property_MessageID;
55
56
                
57
                bool isValidMessageID;
58
            std::string property_Version;
59
60
                
61
                bool isValidVersion;
62
            std::string property_EndUserIP;
63
64
                
65
                bool isValidEndUserIP;
66
            ns_trading_service::ErrorHandlingCodeType* property_ErrorHandling;
67
68
                
69
                bool isValidErrorHandling;
70
            ns_trading_service::UUIDType* property_InvocationID;
71
72
                
73
                bool isValidInvocationID;
74
            std::vector<std::string*>* property_OutputSelector;
75
76
                
77
                bool isValidOutputSelector;
78
            ns_trading_service::WarningLevelCodeType* property_WarningLevel;
79
80
                
81
                bool isValidWarningLevel;
82
            ns_trading_service::BotBlockRequestType* property_BotBlock;
83
84
                
85
                bool isValidBotBlock;
86
            std::vector<wso2wsf::OMElement*>* property_ExtraElement;
87
88
                
89
                bool isValidExtraElement;
90
            
91
92
        /*** Private methods ***/
93
          
94
95
        bool WSF_CALL
96
        setDetailLevelNil();
97
            
98
99
        bool WSF_CALL
100
        setErrorLanguageNil();
101
            
102
103
        bool WSF_CALL
104
        setMessageIDNil();
105
            
106
107
        bool WSF_CALL
108
        setVersionNil();
109
            
110
111
        bool WSF_CALL
112
        setEndUserIPNil();
113
            
114
115
        bool WSF_CALL
116
        setErrorHandlingNil();
117
            
118
119
        bool WSF_CALL
120
        setInvocationIDNil();
121
            
122
123
        bool WSF_CALL
124
        setOutputSelectorNil();
125
            
126
127
        bool WSF_CALL
128
        setWarningLevelNil();
129
            
130
131
        bool WSF_CALL
132
        setBotBlockNil();
133
            
134
135
        bool WSF_CALL
136
        setExtraElementNil();
137
            
138
139
140
141
        /******************************* public functions *********************************/
142
143
        public:
144
145
        /**
146
         * Constructor for class AbstractRequestType
147
         */
148
149
        AbstractRequestType();
150
151
        /**
152
         * Destructor AbstractRequestType
153
         */
154
        ~AbstractRequestType();
155
156
157
       
158
159
        /**
160
         * Constructor for creating AbstractRequestType
161
         * @param 
162
         * @param DetailLevel std::vector<ns_trading_service::DetailLevelCodeType*>*
163
         * @param ErrorLanguage std::string
164
         * @param MessageID std::string
165
         * @param Version std::string
166
         * @param EndUserIP std::string
167
         * @param ErrorHandling ns_trading_service::ErrorHandlingCodeType*
168
         * @param InvocationID ns_trading_service::UUIDType*
169
         * @param OutputSelector std::vector<std::string*>*
170
         * @param WarningLevel ns_trading_service::WarningLevelCodeType*
171
         * @param BotBlock ns_trading_service::BotBlockRequestType*
172
         * @param ExtraElement std::vector<wso2wsf::OMElement*>*
173
         * @return newly created AbstractRequestType object
174
         */
175
        AbstractRequestType(std::vector<ns_trading_service::DetailLevelCodeType*>* arg_DetailLevel,std::string arg_ErrorLanguage,std::string arg_MessageID,std::string arg_Version,std::string arg_EndUserIP,ns_trading_service::ErrorHandlingCodeType* arg_ErrorHandling,ns_trading_service::UUIDType* arg_InvocationID,std::vector<std::string*>* arg_OutputSelector,ns_trading_service::WarningLevelCodeType* arg_WarningLevel,ns_trading_service::BotBlockRequestType* arg_BotBlock,std::vector<wso2wsf::OMElement*>* arg_ExtraElement);
176
        
177
        
178
        /********************************** Class get set methods **************************************/
179
        /******** Deprecated for array types, Use 'Getters and Setters for Arrays' instead ***********/
180
        
181
182
        /**
183
         * Getter for DetailLevel. Deprecated for array types, Use getDetailLevelAt instead
184
         * @return Array of ns_trading_service::DetailLevelCodeType*s.
185
         */
186
        WSF_EXTERN std::vector<ns_trading_service::DetailLevelCodeType*>* WSF_CALL
187
        getDetailLevel();
188
189
        /**
190
         * Setter for DetailLevel.Deprecated for array types, Use setDetailLevelAt
191
         * or addDetailLevel instead.
192
         * @param arg_DetailLevel Array of ns_trading_service::DetailLevelCodeType*s.
193
         * @return true on success, false otherwise
194
         */
195
        WSF_EXTERN bool WSF_CALL
196
        setDetailLevel(std::vector<ns_trading_service::DetailLevelCodeType*>*  arg_DetailLevel);
197
198
        /**
199
         * Re setter for DetailLevel
200
         * @return true on success, false
201
         */
202
        WSF_EXTERN bool WSF_CALL
203
        resetDetailLevel();
204
        
205
        
206
207
        /**
208
         * Getter for ErrorLanguage. 
209
         * @return std::string*
210
         */
211
        WSF_EXTERN std::string WSF_CALL
212
        getErrorLanguage();
213
214
        /**
215
         * Setter for ErrorLanguage.
216
         * @param arg_ErrorLanguage std::string*
217
         * @return true on success, false otherwise
218
         */
219
        WSF_EXTERN bool WSF_CALL
220
        setErrorLanguage(const std::string  arg_ErrorLanguage);
221
222
        /**
223
         * Re setter for ErrorLanguage
224
         * @return true on success, false
225
         */
226
        WSF_EXTERN bool WSF_CALL
227
        resetErrorLanguage();
228
        
229
        
230
231
        /**
232
         * Getter for MessageID. 
233
         * @return std::string*
234
         */
235
        WSF_EXTERN std::string WSF_CALL
236
        getMessageID();
237
238
        /**
239
         * Setter for MessageID.
240
         * @param arg_MessageID std::string*
241
         * @return true on success, false otherwise
242
         */
243
        WSF_EXTERN bool WSF_CALL
244
        setMessageID(const std::string  arg_MessageID);
245
246
        /**
247
         * Re setter for MessageID
248
         * @return true on success, false
249
         */
250
        WSF_EXTERN bool WSF_CALL
251
        resetMessageID();
252
        
253
        
254
255
        /**
256
         * Getter for Version. 
257
         * @return std::string*
258
         */
259
        WSF_EXTERN std::string WSF_CALL
260
        getVersion();
261
262
        /**
263
         * Setter for Version.
264
         * @param arg_Version std::string*
265
         * @return true on success, false otherwise
266
         */
267
        WSF_EXTERN bool WSF_CALL
268
        setVersion(const std::string  arg_Version);
269
270
        /**
271
         * Re setter for Version
272
         * @return true on success, false
273
         */
274
        WSF_EXTERN bool WSF_CALL
275
        resetVersion();
276
        
277
        
278
279
        /**
280
         * Getter for EndUserIP. 
281
         * @return std::string*
282
         */
283
        WSF_EXTERN std::string WSF_CALL
284
        getEndUserIP();
285
286
        /**
287
         * Setter for EndUserIP.
288
         * @param arg_EndUserIP std::string*
289
         * @return true on success, false otherwise
290
         */
291
        WSF_EXTERN bool WSF_CALL
292
        setEndUserIP(const std::string  arg_EndUserIP);
293
294
        /**
295
         * Re setter for EndUserIP
296
         * @return true on success, false
297
         */
298
        WSF_EXTERN bool WSF_CALL
299
        resetEndUserIP();
300
        
301
        
302
303
        /**
304
         * Getter for ErrorHandling. 
305
         * @return ns_trading_service::ErrorHandlingCodeType*
306
         */
307
        WSF_EXTERN ns_trading_service::ErrorHandlingCodeType* WSF_CALL
308
        getErrorHandling();
309
310
        /**
311
         * Setter for ErrorHandling.
312
         * @param arg_ErrorHandling ns_trading_service::ErrorHandlingCodeType*
313
         * @return true on success, false otherwise
314
         */
315
        WSF_EXTERN bool WSF_CALL
316
        setErrorHandling(ns_trading_service::ErrorHandlingCodeType*  arg_ErrorHandling);
317
318
        /**
319
         * Re setter for ErrorHandling
320
         * @return true on success, false
321
         */
322
        WSF_EXTERN bool WSF_CALL
323
        resetErrorHandling();
324
        
325
        
326
327
        /**
328
         * Getter for InvocationID. 
329
         * @return ns_trading_service::UUIDType*
330
         */
331
        WSF_EXTERN ns_trading_service::UUIDType* WSF_CALL
332
        getInvocationID();
333
334
        /**
335
         * Setter for InvocationID.
336
         * @param arg_InvocationID ns_trading_service::UUIDType*
337
         * @return true on success, false otherwise
338
         */
339
        WSF_EXTERN bool WSF_CALL
340
        setInvocationID(ns_trading_service::UUIDType*  arg_InvocationID);
341
342
        /**
343
         * Re setter for InvocationID
344
         * @return true on success, false
345
         */
346
        WSF_EXTERN bool WSF_CALL
347
        resetInvocationID();
348
        
349
        
350
351
        /**
352
         * Getter for OutputSelector. Deprecated for array types, Use getOutputSelectorAt instead
353
         * @return Array of std::strings.
354
         */
355
        WSF_EXTERN std::vector<std::string*>* WSF_CALL
356
        getOutputSelector();
357
358
        /**
359
         * Setter for OutputSelector.Deprecated for array types, Use setOutputSelectorAt
360
         * or addOutputSelector instead.
361
         * @param arg_OutputSelector Array of std::strings.
362
         * @return true on success, false otherwise
363
         */
364
        WSF_EXTERN bool WSF_CALL
365
        setOutputSelector(std::vector<std::string*>*  arg_OutputSelector);
366
367
        /**
368
         * Re setter for OutputSelector
369
         * @return true on success, false
370
         */
371
        WSF_EXTERN bool WSF_CALL
372
        resetOutputSelector();
373
        
374
        
375
376
        /**
377
         * Getter for WarningLevel. 
378
         * @return ns_trading_service::WarningLevelCodeType*
379
         */
380
        WSF_EXTERN ns_trading_service::WarningLevelCodeType* WSF_CALL
381
        getWarningLevel();
382
383
        /**
384
         * Setter for WarningLevel.
385
         * @param arg_WarningLevel ns_trading_service::WarningLevelCodeType*
386
         * @return true on success, false otherwise
387
         */
388
        WSF_EXTERN bool WSF_CALL
389
        setWarningLevel(ns_trading_service::WarningLevelCodeType*  arg_WarningLevel);
390
391
        /**
392
         * Re setter for WarningLevel
393
         * @return true on success, false
394
         */
395
        WSF_EXTERN bool WSF_CALL
396
        resetWarningLevel();
397
        
398
        
399
400
        /**
401
         * Getter for BotBlock. 
402
         * @return ns_trading_service::BotBlockRequestType*
403
         */
404
        WSF_EXTERN ns_trading_service::BotBlockRequestType* WSF_CALL
405
        getBotBlock();
406
407
        /**
408
         * Setter for BotBlock.
409
         * @param arg_BotBlock ns_trading_service::BotBlockRequestType*
410
         * @return true on success, false otherwise
411
         */
412
        WSF_EXTERN bool WSF_CALL
413
        setBotBlock(ns_trading_service::BotBlockRequestType*  arg_BotBlock);
414
415
        /**
416
         * Re setter for BotBlock
417
         * @return true on success, false
418
         */
419
        WSF_EXTERN bool WSF_CALL
420
        resetBotBlock();
421
        
422
        
423
424
        /**
425
         * Getter for extraElement. Deprecated for array types, Use getExtraElementAt instead
426
         * @return Array of wso2wsf::OMElement*s.
427
         */
428
        WSF_EXTERN std::vector<wso2wsf::OMElement*>* WSF_CALL
429
        getExtraElement();
430
431
        /**
432
         * Setter for extraElement.Deprecated for array types, Use setExtraElementAt
433
         * or addExtraElement instead.
434
         * @param arg_ExtraElement Array of wso2wsf::OMElement*s.
435
         * @return true on success, false otherwise
436
         */
437
        WSF_EXTERN bool WSF_CALL
438
        setExtraElement(std::vector<wso2wsf::OMElement*>*  arg_ExtraElement);
439
440
        /**
441
         * Re setter for extraElement
442
         * @return true on success, false
443
         */
444
        WSF_EXTERN bool WSF_CALL
445
        resetExtraElement();
446
        
447
        /****************************** Get Set methods for Arrays **********************************/
448
        /************ Array Specific Operations: get_at, set_at, add, remove_at, sizeof *****************/
449
450
        /**
451
         * E.g. use of get_at, set_at, add and sizeof
452
         *
453
         * for(i = 0; i < adb_element->sizeofProperty(); i ++ )
454
         * {
455
         *     // Getting ith value to property_object variable
456
         *     property_object = adb_element->getPropertyAt(i);
457
         *
458
         *     // Setting ith value from property_object variable
459
         *     adb_element->setPropertyAt(i, property_object);
460
         *
461
         *     // Appending the value to the end of the array from property_object variable
462
         *     adb_element->addProperty(property_object);
463
         *
464
         *     // Removing the ith value from an array
465
         *     adb_element->removePropertyAt(i);
466
         *     
467
         * }
468
         *
469
         */
470
471
        
472
        
473
        /**
474
         * Get the ith element of DetailLevel.
475
        * @param i index of the item to be obtained
476
         * @return ith ns_trading_service::DetailLevelCodeType* of the array
477
         */
478
        WSF_EXTERN ns_trading_service::DetailLevelCodeType* WSF_CALL
479
        getDetailLevelAt(int i);
480
481
        /**
482
         * Set the ith element of DetailLevel. (If the ith already exist, it will be replaced)
483
         * @param i index of the item to return
484
         * @param arg_DetailLevel element to set ns_trading_service::DetailLevelCodeType* to the array
485
         * @return ith ns_trading_service::DetailLevelCodeType* of the array
486
         */
487
        WSF_EXTERN bool WSF_CALL
488
        setDetailLevelAt(int i,
489
                ns_trading_service::DetailLevelCodeType* arg_DetailLevel);
490
491
492
        /**
493
         * Add to DetailLevel.
494
         * @param arg_DetailLevel element to add ns_trading_service::DetailLevelCodeType* to the array
495
         * @return true on success, false otherwise.
496
         */
497
        WSF_EXTERN bool WSF_CALL
498
        addDetailLevel(
499
            ns_trading_service::DetailLevelCodeType* arg_DetailLevel);
500
501
        /**
502
         * Get the size of the DetailLevel array.
503
         * @return the size of the DetailLevel array.
504
         */
505
        WSF_EXTERN int WSF_CALL
506
        sizeofDetailLevel();
507
508
        /**
509
         * Remove the ith element of DetailLevel.
510
         * @param i index of the item to remove
511
         * @return true on success, false otherwise.
512
         */
513
        WSF_EXTERN bool WSF_CALL
514
        removeDetailLevelAt(int i);
515
516
        
517
        
518
        /**
519
         * Get the ith element of OutputSelector.
520
        * @param i index of the item to be obtained
521
         * @return ith std::string of the array
522
         */
523
        WSF_EXTERN std::string WSF_CALL
524
        getOutputSelectorAt(int i);
525
526
        /**
527
         * Set the ith element of OutputSelector. (If the ith already exist, it will be replaced)
528
         * @param i index of the item to return
529
         * @param arg_OutputSelector element to set std::string to the array
530
         * @return ith std::string of the array
531
         */
532
        WSF_EXTERN bool WSF_CALL
533
        setOutputSelectorAt(int i,
534
                const std::string arg_OutputSelector);
535
536
537
        /**
538
         * Add to OutputSelector.
539
         * @param arg_OutputSelector element to add std::string to the array
540
         * @return true on success, false otherwise.
541
         */
542
        WSF_EXTERN bool WSF_CALL
543
        addOutputSelector(
544
            const std::string arg_OutputSelector);
545
546
        /**
547
         * Get the size of the OutputSelector array.
548
         * @return the size of the OutputSelector array.
549
         */
550
        WSF_EXTERN int WSF_CALL
551
        sizeofOutputSelector();
552
553
        /**
554
         * Remove the ith element of OutputSelector.
555
         * @param i index of the item to remove
556
         * @return true on success, false otherwise.
557
         */
558
        WSF_EXTERN bool WSF_CALL
559
        removeOutputSelectorAt(int i);
560
561
        
562
        
563
        /**
564
         * Get the ith element of extraElement.
565
        * @param i index of the item to be obtained
566
         * @return ith wso2wsf::OMElement* of the array
567
         */
568
        WSF_EXTERN wso2wsf::OMElement* WSF_CALL
569
        getExtraElementAt(int i);
570
571
        /**
572
         * Set the ith element of extraElement. (If the ith already exist, it will be replaced)
573
         * @param i index of the item to return
574
         * @param arg_ExtraElement element to set wso2wsf::OMElement* to the array
575
         * @return ith wso2wsf::OMElement* of the array
576
         */
577
        WSF_EXTERN bool WSF_CALL
578
        setExtraElementAt(int i,
579
                wso2wsf::OMElement* arg_ExtraElement);
580
581
582
        /**
583
         * Add to extraElement.
584
         * @param arg_ExtraElement element to add wso2wsf::OMElement* to the array
585
         * @return true on success, false otherwise.
586
         */
587
        WSF_EXTERN bool WSF_CALL
588
        addExtraElement(
589
            wso2wsf::OMElement* arg_ExtraElement);
590
591
        /**
592
         * Get the size of the extraElement array.
593
         * @return the size of the extraElement array.
594
         */
595
        WSF_EXTERN int WSF_CALL
596
        sizeofExtraElement();
597
598
        /**
599
         * Remove the ith element of extraElement.
600
         * @param i index of the item to remove
601
         * @return true on success, false otherwise.
602
         */
603
        WSF_EXTERN bool WSF_CALL
604
        removeExtraElementAt(int i);
605
606
        
607
608
609
        /******************************* Checking and Setting NIL values *********************************/
610
        /* Use 'Checking and Setting NIL values for Arrays' to check and set nil for individual elements */
611
612
        /**
613
         * NOTE: set_nil is only available for nillable properties
614
         */
615
616
        
617
618
        /**
619
         * Check whether DetailLevel is Nill
620
         * @return true if the element is Nil, false otherwise
621
         */
622
        bool WSF_CALL
623
        isDetailLevelNil();
624
625
626
        
627
628
        /**
629
         * Check whether ErrorLanguage is Nill
630
         * @return true if the element is Nil, false otherwise
631
         */
632
        bool WSF_CALL
633
        isErrorLanguageNil();
634
635
636
        
637
638
        /**
639
         * Check whether MessageID is Nill
640
         * @return true if the element is Nil, false otherwise
641
         */
642
        bool WSF_CALL
643
        isMessageIDNil();
644
645
646
        
647
648
        /**
649
         * Check whether Version is Nill
650
         * @return true if the element is Nil, false otherwise
651
         */
652
        bool WSF_CALL
653
        isVersionNil();
654
655
656
        
657
658
        /**
659
         * Check whether EndUserIP is Nill
660
         * @return true if the element is Nil, false otherwise
661
         */
662
        bool WSF_CALL
663
        isEndUserIPNil();
664
665
666
        
667
668
        /**
669
         * Check whether ErrorHandling is Nill
670
         * @return true if the element is Nil, false otherwise
671
         */
672
        bool WSF_CALL
673
        isErrorHandlingNil();
674
675
676
        
677
678
        /**
679
         * Check whether InvocationID is Nill
680
         * @return true if the element is Nil, false otherwise
681
         */
682
        bool WSF_CALL
683
        isInvocationIDNil();
684
685
686
        
687
688
        /**
689
         * Check whether OutputSelector is Nill
690
         * @return true if the element is Nil, false otherwise
691
         */
692
        bool WSF_CALL
693
        isOutputSelectorNil();
694
695
696
        
697
698
        /**
699
         * Check whether WarningLevel is Nill
700
         * @return true if the element is Nil, false otherwise
701
         */
702
        bool WSF_CALL
703
        isWarningLevelNil();
704
705
706
        
707
708
        /**
709
         * Check whether BotBlock is Nill
710
         * @return true if the element is Nil, false otherwise
711
         */
712
        bool WSF_CALL
713
        isBotBlockNil();
714
715
716
        
717
718
        /**
719
         * Check whether extraElement is Nill
720
         * @return true if the element is Nil, false otherwise
721
         */
722
        bool WSF_CALL
723
        isExtraElementNil();
724
725
726
        
727
728
        /*************************** Checking and Setting 'NIL' values in Arrays *****************************/
729
730
        /**
731
         * NOTE: You may set this to remove specific elements in the array
732
         *       But you can not remove elements, if the specific property is declared to be non-nillable or sizeof(array) < minOccurs
733
         */
734
        
735
        /**
736
         * Check whether DetailLevel is Nill at position i
737
         * @param i index of the item to return.
738
         * @return true if the value is Nil at position i, false otherwise
739
         */
740
        bool WSF_CALL
741
        isDetailLevelNilAt(int i);
742
 
743
       
744
        /**
745
         * Set DetailLevel to NILL at the  position i.
746
         * @param i . The index of the item to be set Nill.
747
         * @return true on success, false otherwise.
748
         */
749
        bool WSF_CALL
750
        setDetailLevelNilAt(int i);
751
752
        
753
        /**
754
         * Check whether OutputSelector is Nill at position i
755
         * @param i index of the item to return.
756
         * @return true if the value is Nil at position i, false otherwise
757
         */
758
        bool WSF_CALL
759
        isOutputSelectorNilAt(int i);
760
 
761
       
762
        /**
763
         * Set OutputSelector to NILL at the  position i.
764
         * @param i . The index of the item to be set Nill.
765
         * @return true on success, false otherwise.
766
         */
767
        bool WSF_CALL
768
        setOutputSelectorNilAt(int i);
769
770
        
771
        /**
772
         * Check whether extraElement is Nill at position i
773
         * @param i index of the item to return.
774
         * @return true if the value is Nil at position i, false otherwise
775
         */
776
        bool WSF_CALL
777
        isExtraElementNilAt(int i);
778
 
779
       
780
        /**
781
         * Set extraElement to NILL at the  position i.
782
         * @param i . The index of the item to be set Nill.
783
         * @return true on success, false otherwise.
784
         */
785
        bool WSF_CALL
786
        setExtraElementNilAt(int i);
787
788
        
789
790
        /**************************** Serialize and De serialize functions ***************************/
791
        /*********** These functions are for use only inside the generated code *********************/
792
793
        
794
        /**
795
         * Deserialize the ADB object to an XML
796
         * @param dp_parent double pointer to the parent node to be deserialized
797
         * @param dp_is_early_node_valid double pointer to a flag (is_early_node_valid?)
798
         * @param dont_care_minoccurs Dont set errors on validating minoccurs, 
799
         *              (Parent will order this in a case of choice)
800
         * @return true on success, false otherwise
801
         */
802
        bool WSF_CALL
803
        deserialize(axiom_node_t** omNode, bool *isEarlyNodeValid, bool dontCareMinoccurs);
804
                         
805
            
806
807
       /**
808
         * Declare namespace in the most parent node 
809
         * @param parent_element parent element
810
         * @param namespaces hash of namespace uri to prefix
811
         * @param next_ns_index pointer to an int which contain the next namespace index
812
         */
813
        void WSF_CALL
814
        declareParentNamespaces(axiom_element_t *parent_element, axutil_hash_t *namespaces, int *next_ns_index);
815
816
817
        
818
819
        /**
820
         * Serialize the ADB object to an xml
821
         * @param AbstractRequestType_om_node node to serialize from
822
         * @param AbstractRequestType_om_element parent element to serialize from
823
         * @param tag_closed Whether the parent tag is closed or not
824
         * @param namespaces hash of namespace uris to prefixes
825
         * @param next_ns_index an int which contains the next namespace index
826
         * @return axiom_node_t on success,NULL otherwise.
827
         */
828
        axiom_node_t* WSF_CALL
829
        serialize(axiom_node_t* AbstractRequestType_om_node, axiom_element_t *AbstractRequestType_om_element, int tag_closed, axutil_hash_t *namespaces, int *next_ns_index);
830
831
        /**
832
         * Check whether the AbstractRequestType is a particle class (E.g. group, inner sequence)
833
         * @return true if this is a particle class, false otherwise.
834
         */
835
        bool WSF_CALL
836
        isParticle();
837
838
839
840
        /******************************* get the value by the property number  *********************************/
841
        /************NOTE: This method is introduced to resolve a problem in unwrapping mode *******************/
842
843
      
844
        
845
846
        /**
847
         * Getter for DetailLevel by property number (1)
848
         * @return Array of ns_trading_service::DetailLevelCodeTypes.
849
         */
850
851
        std::vector<ns_trading_service::DetailLevelCodeType*>* WSF_CALL
852
        getProperty1();
853
854
    
855
        
856
857
        /**
858
         * Getter for ErrorLanguage by property number (2)
859
         * @return std::string
860
         */
861
862
        std::string WSF_CALL
863
        getProperty2();
864
865
    
866
        
867
868
        /**
869
         * Getter for MessageID by property number (3)
870
         * @return std::string
871
         */
872
873
        std::string WSF_CALL
874
        getProperty3();
875
876
    
877
        
878
879
        /**
880
         * Getter for Version by property number (4)
881
         * @return std::string
882
         */
883
884
        std::string WSF_CALL
885
        getProperty4();
886
887
    
888
        
889
890
        /**
891
         * Getter for EndUserIP by property number (5)
892
         * @return std::string
893
         */
894
895
        std::string WSF_CALL
896
        getProperty5();
897
898
    
899
        
900
901
        /**
902
         * Getter for ErrorHandling by property number (6)
903
         * @return ns_trading_service::ErrorHandlingCodeType
904
         */
905
906
        ns_trading_service::ErrorHandlingCodeType* WSF_CALL
907
        getProperty6();
908
909
    
910
        
911
912
        /**
913
         * Getter for InvocationID by property number (7)
914
         * @return ns_trading_service::UUIDType
915
         */
916
917
        ns_trading_service::UUIDType* WSF_CALL
918
        getProperty7();
919
920
    
921
        
922
923
        /**
924
         * Getter for OutputSelector by property number (8)
925
         * @return Array of std::strings.
926
         */
927
928
        std::vector<std::string*>* WSF_CALL
929
        getProperty8();
930
931
    
932
        
933
934
        /**
935
         * Getter for WarningLevel by property number (9)
936
         * @return ns_trading_service::WarningLevelCodeType
937
         */
938
939
        ns_trading_service::WarningLevelCodeType* WSF_CALL
940
        getProperty9();
941
942
    
943
        
944
945
        /**
946
         * Getter for BotBlock by property number (10)
947
         * @return ns_trading_service::BotBlockRequestType
948
         */
949
950
        ns_trading_service::BotBlockRequestType* WSF_CALL
951
        getProperty10();
952
953
    
954
        
955
956
        /**
957
         * Getter for extraElement by property number (11)
958
         * @return Array of wso2wsf::OMElement*s.
959
         */
960
961
        std::vector<wso2wsf::OMElement*>* WSF_CALL
962
        getProperty11();
963
964
    
965
966
};
967
968
}        
969
 #endif /* ABSTRACTREQUESTTYPE_H */