Salome HOME
removing the directory of scenario after checkin
[tools/simanio.git] / src / CheckIn.h
1
2
3         #ifndef CHECKIN_H
4         #define CHECKIN_H
5
6        /**
7         * CheckIn.h
8         *
9         * This file was auto-generated from WSDL
10         * by the Apache Axis2/Java version: 1.0  Built on : Nov 21, 2012 (02:43:12 MSK)
11         */
12
13        /**
14         *  CheckIn class
15         */
16
17         namespace org_splat_ws_server_service_salome{
18             class CheckIn;
19         }
20         
21
22         
23         #include <axutil_qname.h>
24         
25
26         #include <stdio.h>
27         #include <OMElement.h>
28         #include <ServiceClient.h>
29         #include <ADBDefines.h>
30
31 namespace org_splat_ws_server_service_salome
32 {
33         
34         
35
36         class CheckIn {
37
38         private:
39              
40                 axutil_qname_t* qname;
41             std::string property_Args0;
42
43                 
44                 bool isValidArgs0;
45             int64_t property_Args1;
46
47                 
48                 bool isValidArgs1;
49             int64_t property_Args2;
50
51                 
52                 bool isValidArgs2;
53             
54
55         /*** Private methods ***/
56           
57
58         bool WSF_CALL
59         setArgs1Nil();
60             
61
62         bool WSF_CALL
63         setArgs2Nil();
64             
65
66
67
68         /******************************* public functions *********************************/
69
70         public:
71
72         /**
73          * Constructor for class CheckIn
74          */
75
76         CheckIn();
77
78         /**
79          * Destructor CheckIn
80          */
81         ~CheckIn();
82
83
84        
85
86         /**
87          * Constructor for creating CheckIn
88          * @param 
89          * @param Args0 std::string
90          * @param Args1 int64_t
91          * @param Args2 int64_t
92          * @return newly created CheckIn object
93          */
94         CheckIn(std::string arg_Args0,int64_t arg_Args1,int64_t arg_Args2);
95         
96         
97         /********************************** Class get set methods **************************************/
98         
99         
100
101         /**
102          * Getter for args0. 
103          * @return std::string*
104          */
105         WSF_EXTERN std::string WSF_CALL
106         getArgs0();
107
108         /**
109          * Setter for args0.
110          * @param arg_Args0 std::string*
111          * @return true on success, false otherwise
112          */
113         WSF_EXTERN bool WSF_CALL
114         setArgs0(const std::string  arg_Args0);
115
116         /**
117          * Re setter for args0
118          * @return true on success, false
119          */
120         WSF_EXTERN bool WSF_CALL
121         resetArgs0();
122         
123         
124
125         /**
126          * Getter for args1. 
127          * @return int64_t*
128          */
129         WSF_EXTERN int64_t WSF_CALL
130         getArgs1();
131
132         /**
133          * Setter for args1.
134          * @param arg_Args1 int64_t*
135          * @return true on success, false otherwise
136          */
137         WSF_EXTERN bool WSF_CALL
138         setArgs1(const int64_t  arg_Args1);
139
140         /**
141          * Re setter for args1
142          * @return true on success, false
143          */
144         WSF_EXTERN bool WSF_CALL
145         resetArgs1();
146         
147         
148
149         /**
150          * Getter for args2. 
151          * @return int64_t*
152          */
153         WSF_EXTERN int64_t WSF_CALL
154         getArgs2();
155
156         /**
157          * Setter for args2.
158          * @param arg_Args2 int64_t*
159          * @return true on success, false otherwise
160          */
161         WSF_EXTERN bool WSF_CALL
162         setArgs2(const int64_t  arg_Args2);
163
164         /**
165          * Re setter for args2
166          * @return true on success, false
167          */
168         WSF_EXTERN bool WSF_CALL
169         resetArgs2();
170         
171
172
173         /******************************* Checking and Setting NIL values *********************************/
174         
175
176         /**
177          * NOTE: set_nil is only available for nillable properties
178          */
179
180         
181
182         /**
183          * Check whether args0 is Nill
184          * @return true if the element is Nil, false otherwise
185          */
186         bool WSF_CALL
187         isArgs0Nil();
188
189
190         
191         /**
192          * Set args0 to Nill (same as using reset)
193          * @return true on success, false otherwise.
194          */
195         bool WSF_CALL
196         setArgs0Nil();
197         
198
199         /**
200          * Check whether args1 is Nill
201          * @return true if the element is Nil, false otherwise
202          */
203         bool WSF_CALL
204         isArgs1Nil();
205
206
207         
208
209         /**
210          * Check whether args2 is Nill
211          * @return true if the element is Nil, false otherwise
212          */
213         bool WSF_CALL
214         isArgs2Nil();
215
216
217         
218
219         /**************************** Serialize and De serialize functions ***************************/
220         /*********** These functions are for use only inside the generated code *********************/
221
222         
223         /**
224          * Deserialize the ADB object to an XML
225          * @param dp_parent double pointer to the parent node to be deserialized
226          * @param dp_is_early_node_valid double pointer to a flag (is_early_node_valid?)
227          * @param dont_care_minoccurs Dont set errors on validating minoccurs, 
228          *              (Parent will order this in a case of choice)
229          * @return true on success, false otherwise
230          */
231         bool WSF_CALL
232         deserialize(axiom_node_t** omNode, bool *isEarlyNodeValid, bool dontCareMinoccurs);
233                          
234             
235
236        /**
237          * Declare namespace in the most parent node 
238          * @param parent_element parent element
239          * @param namespaces hash of namespace uri to prefix
240          * @param next_ns_index pointer to an int which contain the next namespace index
241          */
242         void WSF_CALL
243         declareParentNamespaces(axiom_element_t *parent_element, axutil_hash_t *namespaces, int *next_ns_index);
244
245
246         
247
248         /**
249          * Serialize the ADB object to an xml
250          * @param CheckIn_om_node node to serialize from
251          * @param CheckIn_om_element parent element to serialize from
252          * @param tag_closed Whether the parent tag is closed or not
253          * @param namespaces hash of namespace uris to prefixes
254          * @param next_ns_index an int which contains the next namespace index
255          * @return axiom_node_t on success,NULL otherwise.
256          */
257         axiom_node_t* WSF_CALL
258         serialize(axiom_node_t* CheckIn_om_node, axiom_element_t *CheckIn_om_element, int tag_closed, axutil_hash_t *namespaces, int *next_ns_index);
259
260         /**
261          * Check whether the CheckIn is a particle class (E.g. group, inner sequence)
262          * @return true if this is a particle class, false otherwise.
263          */
264         bool WSF_CALL
265         isParticle();
266
267
268
269         /******************************* get the value by the property number  *********************************/
270         /************NOTE: This method is introduced to resolve a problem in unwrapping mode *******************/
271
272       
273         
274
275         /**
276          * Getter for args0 by property number (1)
277          * @return std::string
278          */
279
280         std::string WSF_CALL
281         getProperty1();
282
283     
284         
285
286         /**
287          * Getter for args1 by property number (2)
288          * @return int64_t
289          */
290
291         int64_t WSF_CALL
292         getProperty2();
293
294     
295         
296
297         /**
298          * Getter for args2 by property number (3)
299          * @return int64_t
300          */
301
302         int64_t WSF_CALL
303         getProperty3();
304
305     
306
307 };
308
309 }        
310  #endif /* CHECKIN_H */
311     
312