Salome HOME
Checked-out files path was changed to /tmp/SimanSalome/StudyId/ScenarioId/UserId
[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             
50
51         /*** Private methods ***/
52           
53
54         bool WSF_CALL
55         setArgs1Nil();
56             
57
58
59
60         /******************************* public functions *********************************/
61
62         public:
63
64         /**
65          * Constructor for class CheckIn
66          */
67
68         CheckIn();
69
70         /**
71          * Destructor CheckIn
72          */
73         ~CheckIn();
74
75
76        
77
78         /**
79          * Constructor for creating CheckIn
80          * @param 
81          * @param Args0 std::string
82          * @param Args1 int64_t
83          * @return newly created CheckIn object
84          */
85         CheckIn(std::string arg_Args0,int64_t arg_Args1);
86         
87         
88         /********************************** Class get set methods **************************************/
89         
90         
91
92         /**
93          * Getter for args0. 
94          * @return std::string*
95          */
96         WSF_EXTERN std::string WSF_CALL
97         getArgs0();
98
99         /**
100          * Setter for args0.
101          * @param arg_Args0 std::string*
102          * @return true on success, false otherwise
103          */
104         WSF_EXTERN bool WSF_CALL
105         setArgs0(const std::string  arg_Args0);
106
107         /**
108          * Re setter for args0
109          * @return true on success, false
110          */
111         WSF_EXTERN bool WSF_CALL
112         resetArgs0();
113         
114         
115
116         /**
117          * Getter for args1. 
118          * @return int64_t*
119          */
120         WSF_EXTERN int64_t WSF_CALL
121         getArgs1();
122
123         /**
124          * Setter for args1.
125          * @param arg_Args1 int64_t*
126          * @return true on success, false otherwise
127          */
128         WSF_EXTERN bool WSF_CALL
129         setArgs1(const int64_t  arg_Args1);
130
131         /**
132          * Re setter for args1
133          * @return true on success, false
134          */
135         WSF_EXTERN bool WSF_CALL
136         resetArgs1();
137         
138
139
140         /******************************* Checking and Setting NIL values *********************************/
141         
142
143         /**
144          * NOTE: set_nil is only available for nillable properties
145          */
146
147         
148
149         /**
150          * Check whether args0 is Nill
151          * @return true if the element is Nil, false otherwise
152          */
153         bool WSF_CALL
154         isArgs0Nil();
155
156
157         
158         /**
159          * Set args0 to Nill (same as using reset)
160          * @return true on success, false otherwise.
161          */
162         bool WSF_CALL
163         setArgs0Nil();
164         
165
166         /**
167          * Check whether args1 is Nill
168          * @return true if the element is Nil, false otherwise
169          */
170         bool WSF_CALL
171         isArgs1Nil();
172
173
174         
175
176         /**************************** Serialize and De serialize functions ***************************/
177         /*********** These functions are for use only inside the generated code *********************/
178
179         
180         /**
181          * Deserialize the ADB object to an XML
182          * @param dp_parent double pointer to the parent node to be deserialized
183          * @param dp_is_early_node_valid double pointer to a flag (is_early_node_valid?)
184          * @param dont_care_minoccurs Dont set errors on validating minoccurs, 
185          *              (Parent will order this in a case of choice)
186          * @return true on success, false otherwise
187          */
188         bool WSF_CALL
189         deserialize(axiom_node_t** omNode, bool *isEarlyNodeValid, bool dontCareMinoccurs);
190                          
191             
192
193        /**
194          * Declare namespace in the most parent node 
195          * @param parent_element parent element
196          * @param namespaces hash of namespace uri to prefix
197          * @param next_ns_index pointer to an int which contain the next namespace index
198          */
199         void WSF_CALL
200         declareParentNamespaces(axiom_element_t *parent_element, axutil_hash_t *namespaces, int *next_ns_index);
201
202
203         
204
205         /**
206          * Serialize the ADB object to an xml
207          * @param CheckIn_om_node node to serialize from
208          * @param CheckIn_om_element parent element to serialize from
209          * @param tag_closed Whether the parent tag is closed or not
210          * @param namespaces hash of namespace uris to prefixes
211          * @param next_ns_index an int which contains the next namespace index
212          * @return axiom_node_t on success,NULL otherwise.
213          */
214         axiom_node_t* WSF_CALL
215         serialize(axiom_node_t* CheckIn_om_node, axiom_element_t *CheckIn_om_element, int tag_closed, axutil_hash_t *namespaces, int *next_ns_index);
216
217         /**
218          * Check whether the CheckIn is a particle class (E.g. group, inner sequence)
219          * @return true if this is a particle class, false otherwise.
220          */
221         bool WSF_CALL
222         isParticle();
223
224
225
226         /******************************* get the value by the property number  *********************************/
227         /************NOTE: This method is introduced to resolve a problem in unwrapping mode *******************/
228
229       
230         
231
232         /**
233          * Getter for args0 by property number (1)
234          * @return std::string
235          */
236
237         std::string WSF_CALL
238         getProperty1();
239
240     
241         
242
243         /**
244          * Getter for args1 by property number (2)
245          * @return int64_t
246          */
247
248         int64_t WSF_CALL
249         getProperty2();
250
251     
252
253 };
254
255 }        
256  #endif /* CHECKIN_H */
257     
258