Teamcenter C++ API Reference  2312
Mat1Substance.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, Mat1Substance
12  Filename: Mat1Substance.hxx
13  Module: mat1materialmgmt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef MATERIALMGMT__MAT1SUBSTANCE__HXX
18 #define MATERIALMGMT__MAT1SUBSTANCE__HXX
19 
20 #include <string>
21 #include <common/tc_deprecation_macros.h>
23 
24 #include <mat1materialmgmt/libmat1materialmgmt_exports.h>
25 
26 namespace materialmgmt
27 {
28  class Mat1Substance;
29 }
30 namespace materialmgmt
31 {
32  class Mat1SubstanceImpl;
33 }
34 namespace materialmgmt
35 {
36  class Mat1SubstanceDelegate;
37 }
38 namespace materialmgmt
39 {
40  class Mat1SubstanceDispatch;
41 }
42 namespace materialmgmt
43 {
44  class Mat1SubstanceGenImpl;
45 }
46 namespace Teamcenter
47 {
48  class RootObjectImpl;
49 }
50 
51 class MAT1MATERIALMGMT_API materialmgmt::Mat1Substance
53 {
54 public:
55 
60  static const std::string& getInterfaceName();
61 
62 
70  int setMat1external_identifier( const std::string &value, bool isNull=false );
71 
79  int setMat1IsInActive( bool value, bool isNull=false );
80 
88  int setMat1unique_identifier( const std::string &value, bool isNull=false );
89 protected:
90  // Method to initialize
91  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
92 
96  Mat1Substance();
97 
101  virtual ~Mat1Substance();
102 
103 private:
104  // Getter method for the Implementation Object
105  Mat1SubstanceImpl* getMat1SubstanceImpl() const;
106  // Setter method for the Implementation Object
107  ::Teamcenter::RootObjectImpl* setMat1SubstanceImpl( ::Teamcenter::RootObjectImpl* impl );
108 
109  // Method to set the delete impl boolean
110  void setDeleteImpl( bool del );
111 
112  // Pointer to the Implementation object
113  Mat1SubstanceImpl* m_mat1substanceImpl;
114 
115  // Flag to indicate if Implementation object needs to be deleted
117 
121  static std::string name;
122 
127  Mat1Substance( const Mat1Substance& );
129 
130  friend class Mat1SubstanceDelegate;
131  friend class Mat1SubstanceGenImpl;
132 };
133 
134 #include <mat1materialmgmt/libmat1materialmgmt_undef.h>
135 #endif // MATERIALMGMT__MAT1SUBSTANCE__HXX