Teamcenter C++ API Reference  2312
ValidationData.hxx
Go to the documentation of this file.
1 //Copyright 2022 Siemens Digital Industries Software
2 //==================================================
3 //Copyright $2023.
4 //Siemens Product Lifecycle Management Software Inc.
5 //All Rights Reserved.
6 //==================================================
7 //Copyright 2022 Siemens Digital Industries Software
8 
9 /*==================================================================================================
10 File description:
11  This file contains the declaration for the Business Object, ValidationData
12  Filename: ValidationData.hxx
13  Module: validation
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__VALIDATIONDATA__HXX
18 #define TEAMCENTER__VALIDATIONDATA__HXX
19 
20 #include <string>
21 #include <vector>
22 #include <unidefs.h>
23 #include <common/tc_deprecation_macros.h>
24 #include <tccore/POM_object.hxx>
25 
26 #include <validation/libvalidation_exports.h>
27 
28 namespace Teamcenter
29 {
30  class ValidationData;
31 }
32 namespace Teamcenter
33 {
34  class ValidationDataImpl;
35 }
36 namespace Teamcenter
37 {
38  class ValidationDataDelegate;
39 }
40 namespace Teamcenter
41 {
42  class ValidationDataDispatch;
43 }
44 namespace Teamcenter
45 {
46  class ValidationDataGenImpl;
47 }
48 namespace Teamcenter
49 {
50  class RootObjectImpl;
51 }
52 
53 class VALIDATION_API Teamcenter::ValidationData
55 {
56 public:
57 
62  static const std::string& getInterfaceName();
63 
64 
72  int getKeep_overridden_result( bool &value, bool &isNull ) const;
73 
81  int getOverride_reason_mandatory( bool &value, bool &isNull ) const;
82 
90  int getValidation_application( std::string &value, bool &isNull ) const;
91 
99  int getValidation_arguments( std::vector< std::string > &values, std::vector< int > &isNull ) const;
100 
108  int getValidation_can_group( bool &value, bool &isNull ) const;
109 
117  int getValidation_category( std::string &value, bool &isNull ) const;
118 
126  int getValidation_closure_rule( tag_t &value, bool &isNull ) const;
127 
135  int getValidation_description( std::string &value, bool &isNull ) const;
136 
144  int getValidation_ext_rule( tag_t &value, bool &isNull ) const;
145 
153  int getValidation_name( std::string &value, bool &isNull ) const;
154 
162  int getValidation_parameters( tag_t &value, bool &isNull ) const;
163 
171  int getValidation_requirement( tag_t &value, bool &isNull ) const;
172 
180  int getValidation_utility_command( std::string &value, bool &isNull ) const;
181 
189  int setKeep_overridden_result( bool value, bool isNull=false );
190 
198  int setOverride_reason_mandatory( bool value, bool isNull=false );
199 
207  int setValidation_application( const std::string &value, bool isNull=false );
208 
216  int setValidation_arguments( const std::vector< std::string > &values, const std::vector< int > *isNull=0 );
217 
225  int setValidation_can_group( bool value, bool isNull=false );
226 
234  int setValidation_category( const std::string &value, bool isNull=false );
235 
243  int setValidation_closure_rule( const tag_t &value, bool isNull=false );
244 
252  int setValidation_description( const std::string &value, bool isNull=false );
253 
261  int setValidation_ext_rule( const tag_t &value, bool isNull=false );
262 
270  int setValidation_name( const std::string &value, bool isNull=false );
271 
279  int setValidation_parameters( const tag_t &value, bool isNull=false );
280 
288  int setValidation_requirement( const tag_t &value, bool isNull=false );
289 
297  int setValidation_utility_command( const std::string &value, bool isNull=false );
298 protected:
299  // Method to initialize
300  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
301 
305  ValidationData();
306 
310  virtual ~ValidationData();
311 
312 private:
313  // Getter method for the Implementation Object
314  ValidationDataImpl* getValidationDataImpl() const;
315  // Setter method for the Implementation Object
316  ::Teamcenter::RootObjectImpl* setValidationDataImpl( ::Teamcenter::RootObjectImpl* impl );
317 
318  // Method to set the delete impl boolean
319  void setDeleteImpl( bool del );
320 
321  // Pointer to the Implementation object
322  ValidationDataImpl* m_validationdataImpl;
323 
324  // Flag to indicate if Implementation object needs to be deleted
326 
330  static std::string name;
331 
336  ValidationData( const ValidationData& );
338 
339  friend class ValidationDataDelegate;
340  friend class ValidationDataGenImpl;
341 };
342 
343 #include <validation/libvalidation_undef.h>
344 #endif // TEAMCENTER__VALIDATIONDATA__HXX