Teamcenter C++ API Reference  2312
Lbr0SpecificationRule.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, Lbr0SpecificationRule
12  Filename: Lbr0SpecificationRule.hxx
13  Module: Lbr0librarymgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__LIBRARYMGMT__LBR0SPECIFICATIONRULE__HXX
18 #define TEAMCENTER__LIBRARYMGMT__LBR0SPECIFICATIONRULE__HXX
19 
20 #include <string>
21 #include <common/tc_deprecation_macros.h>
23 
24 #include <Lbr0librarymgmt/liblbr0librarymgmt_exports.h>
25 
26 namespace Teamcenter
27 {
28  namespace LibraryMgmt
29  {
30  class Lbr0SpecificationRule;
31  }
32 }
33 namespace Teamcenter
34 {
35  namespace LibraryMgmt
36  {
37  class Lbr0SpecificationRuleImpl;
38  }
39 }
40 namespace Teamcenter
41 {
42  namespace LibraryMgmt
43  {
44  class Lbr0SpecificationRuleDelegate;
45  }
46 }
47 namespace Teamcenter
48 {
49  namespace LibraryMgmt
50  {
51  class Lbr0SpecificationRuleDispatch;
52  }
53 }
54 namespace Teamcenter
55 {
56  namespace LibraryMgmt
57  {
58  class Lbr0SpecificationRuleGenImpl;
59  }
60 }
61 namespace Teamcenter
62 {
63  class RootObjectImpl;
64 }
65 
66 class LBR0LIBRARYMGMT_API Teamcenter::LibraryMgmt::Lbr0SpecificationRule
68 {
69 public:
70 
75  static const std::string& getInterfaceName();
76 
77 
85  int getLbr0NodeId( std::string &value, bool &isNull ) const;
86 
94  int getLbr0RuleSetId( std::string &value, bool &isNull ) const;
95 
103  int getLbr0RuleType( int &value, bool &isNull ) const;
104 
112  int getLbr0SourceAttribute( std::string &value, bool &isNull ) const;
113 
121  int getLbr0SourceExpression( std::string &value, bool &isNull ) const;
122 
130  int getLbr0TargetAttribute( std::string &value, bool &isNull ) const;
131 
139  int getLbr0TargetExpression( std::string &value, bool &isNull ) const;
140 
148  int setLbr0NodeId( const std::string &value, bool isNull=false );
149 
157  int setLbr0RuleSetId( const std::string &value, bool isNull=false );
158 
166  int setLbr0RuleType( int value, bool isNull=false );
167 
175  int setLbr0SourceAttribute( const std::string &value, bool isNull=false );
176 
184  int setLbr0SourceExpression( const std::string &value, bool isNull=false );
185 
193  int setLbr0TargetAttribute( const std::string &value, bool isNull=false );
194 
202  int setLbr0TargetExpression( const std::string &value, bool isNull=false );
203 protected:
204  // Method to initialize
205  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
206 
211 
215  virtual ~Lbr0SpecificationRule();
216 
217 private:
218  // Getter method for the Implementation Object
219  Lbr0SpecificationRuleImpl* getLbr0SpecificationRuleImpl() const;
220  // Setter method for the Implementation Object
221  ::Teamcenter::RootObjectImpl* setLbr0SpecificationRuleImpl( ::Teamcenter::RootObjectImpl* impl );
222 
223  // Method to set the delete impl boolean
224  void setDeleteImpl( bool del );
225 
226  // Pointer to the Implementation object
227  Lbr0SpecificationRuleImpl* m_lbr0specificationruleImpl;
228 
229  // Flag to indicate if Implementation object needs to be deleted
231 
235  static std::string name;
236 
243 
244  friend class Lbr0SpecificationRuleDelegate;
245  friend class Lbr0SpecificationRuleGenImpl;
246 };
247 
248 #include <Lbr0librarymgmt/liblbr0librarymgmt_undef.h>
249 #endif // TEAMCENTER__LIBRARYMGMT__LBR0SPECIFICATIONRULE__HXX