Teamcenter C++ API Reference  2312
Cba0PersistentProxy.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, Cba0PersistentProxy
12  Filename: Cba0PersistentProxy.hxx
13  Module: cba
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__CBA__CBA0PERSISTENTPROXY__HXX
18 #define TEAMCENTER__CBA__CBA0PERSISTENTPROXY__HXX
19 
20 #include <string>
21 #include <common/tc_deprecation_macros.h>
23 
24 #include <cba/libcba_exports.h>
25 
26 namespace Teamcenter
27 {
28  namespace cba
29  {
30  class Cba0PersistentProxy;
31  }
32 }
33 namespace Teamcenter
34 {
35  namespace cba
36  {
37  class Cba0PersistentProxyImpl;
38  }
39 }
40 namespace Teamcenter
41 {
42  namespace cba
43  {
44  class Cba0PersistentProxyDelegate;
45  }
46 }
47 namespace Teamcenter
48 {
49  namespace cba
50  {
51  class Cba0PersistentProxyDispatch;
52  }
53 }
54 namespace Teamcenter
55 {
56  namespace cba
57  {
58  class Cba0PersistentProxyGenImpl;
59  }
60 }
61 namespace Teamcenter
62 {
63  class RootObjectImpl;
64 }
65 
66 class CBA_API Teamcenter::cba::Cba0PersistentProxy
68 {
69 public:
70 
75  static const std::string& getInterfaceName();
76 
77 
85  int getCba0ConsistencyStamp( int &value, bool &isNull ) const;
86 
94  int getCba0DispName( std::string &value, bool &isNull ) const;
95 
103  int getCba0PMMObjectID( std::string &value, bool &isNull ) const;
104 
112  int getCba0VersionNum( std::string &value, bool &isNull ) const;
113 
121  int setCba0PMMObjectID( const std::string &value, bool isNull=false );
122 protected:
123  // Method to initialize
124  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
125 
130 
134  virtual ~Cba0PersistentProxy();
135 
136 private:
137  // Getter method for the Implementation Object
138  Cba0PersistentProxyImpl* getCba0PersistentProxyImpl() const;
139  // Setter method for the Implementation Object
140  ::Teamcenter::RootObjectImpl* setCba0PersistentProxyImpl( ::Teamcenter::RootObjectImpl* impl );
141 
142  // Method to set the delete impl boolean
143  void setDeleteImpl( bool del );
144 
145  // Pointer to the Implementation object
146  Cba0PersistentProxyImpl* m_cba0persistentproxyImpl;
147 
148  // Flag to indicate if Implementation object needs to be deleted
150 
154  static std::string name;
155 
162 
163  friend class Cba0PersistentProxyDelegate;
164  friend class Cba0PersistentProxyGenImpl;
165 };
166 
167 #include <cba/libcba_undef.h>
168 #endif // TEAMCENTER__CBA__CBA0PERSISTENTPROXY__HXX