Teamcenter C++ API Reference  2312
Mdl0ConditionalArtifact.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, Mdl0ConditionalArtifact
12  Filename: Mdl0ConditionalArtifact.hxx
13  Module: mdl0model
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__APPMODEL__MDL0CONDITIONALARTIFACT__HXX
18 #define TEAMCENTER__APPMODEL__MDL0CONDITIONALARTIFACT__HXX
19 
20 #include <string>
21 #include <common/tc_deprecation_macros.h>
23 
24 #include <mdl0model/libmdl0model_exports.h>
25 
26 namespace Teamcenter
27 {
28  namespace AppModel
29  {
30  class Mdl0ConditionalArtifact;
31  }
32 }
33 namespace Teamcenter
34 {
35  namespace AppModel
36  {
37  class Mdl0ConditionalArtifactImpl;
38  }
39 }
40 namespace Teamcenter
41 {
42  namespace AppModel
43  {
44  class Mdl0ConditionalArtifactDelegate;
45  }
46 }
47 namespace Teamcenter
48 {
49  namespace AppModel
50  {
51  class Mdl0ConditionalArtifactDispatch;
52  }
53 }
54 namespace Teamcenter
55 {
56  namespace AppModel
57  {
58  class Mdl0ConditionalArtifactGenImpl;
59  }
60 }
61 namespace Teamcenter
62 {
63  class RootObjectImpl;
64 }
65 
66 class MDL0MODEL_API Teamcenter::AppModel::Mdl0ConditionalArtifact
68 {
69 public:
70 
75  static const std::string& getInterfaceName();
76 
77 
85  int getMdl0allowed_eff_formula( std::string &value, bool &isNull ) const;
86 
94  int getMdl0allowed_var_formula( std::string &value, bool &isNull ) const;
95 
103  int getMdl0effectivity_formula( std::string &value, bool &isNull ) const;
104 
112  int getMdl0IsConfigured( bool &value, bool &isNull ) const;
113 
121  int getMdl0variant_formula( std::string &value, bool &isNull ) const;
122 
130  int setMdl0effectivity_formula( const std::string &value, bool isNull=false );
131 
139  int setMdl0variant_formula( const std::string &value, bool isNull=false );
140 protected:
141  // Method to initialize
142  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
143 
148 
152  virtual ~Mdl0ConditionalArtifact();
153 
154 private:
155  // Getter method for the Implementation Object
156  Mdl0ConditionalArtifactImpl* getMdl0ConditionalArtifactImpl() const;
157  // Setter method for the Implementation Object
158  ::Teamcenter::RootObjectImpl* setMdl0ConditionalArtifactImpl( ::Teamcenter::RootObjectImpl* impl );
159 
160  // Method to set the delete impl boolean
161  void setDeleteImpl( bool del );
162 
163  // Pointer to the Implementation object
164  Mdl0ConditionalArtifactImpl* m_mdl0conditionalartifactImpl;
165 
166  // Flag to indicate if Implementation object needs to be deleted
168 
172  static std::string name;
173 
180 
181  friend class Mdl0ConditionalArtifactDelegate;
182  friend class Mdl0ConditionalArtifactGenImpl;
183 };
184 
185 #include <mdl0model/libmdl0model_undef.h>
186 #endif // TEAMCENTER__APPMODEL__MDL0CONDITIONALARTIFACT__HXX