Teamcenter C++ API Reference  2312
CPCopyRevision.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, CPCopyRevision
12  Filename: CPCopyRevision.hxx
13  Module: pkgart
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__PKGART__CPCOPYREVISION__HXX
18 #define TEAMCENTER__PKGART__CPCOPYREVISION__HXX
19 
20 #include <string>
21 #include <vector>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <pkgart/libpkgart_exports.h>
26 
27 namespace Teamcenter
28 {
29  namespace PKGART
30  {
31  class CPCopyRevision;
32  }
33 }
34 namespace Teamcenter
35 {
36  namespace PKGART
37  {
38  class CPCopyRevisionImpl;
39  }
40 }
41 namespace Teamcenter
42 {
43  namespace PKGART
44  {
45  class CPCopyRevisionDelegate;
46  }
47 }
48 namespace Teamcenter
49 {
50  namespace PKGART
51  {
52  class CPCopyRevisionDispatch;
53  }
54 }
55 namespace Teamcenter
56 {
57  namespace PKGART
58  {
59  class CPCopyRevisionGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class PKGART_API Teamcenter::PKGART::CPCopyRevision
69 {
70 public:
71 
76  static const std::string& getInterfaceName();
77 
78 
86  int getCopy_language_type( std::string &value, bool &isNull ) const;
87 
95  int getCP_Has_Master_Copy( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
96 
104  int getLanguage( std::string &value, bool &isNull ) const;
105 
113  int getRegion( std::string &value, bool &isNull ) const;
114 
122  int setCopy_language_type( const std::string &value, bool isNull=false );
123 
131  int setLanguage( const std::string &value, bool isNull=false );
132 
140  int setRegion( const std::string &value, bool isNull=false );
141 protected:
142  // Method to initialize
143  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
144 
148  CPCopyRevision();
149 
153  virtual ~CPCopyRevision();
154 
155 private:
156  // Getter method for the Implementation Object
157  CPCopyRevisionImpl* getCPCopyRevisionImpl() const;
158  // Setter method for the Implementation Object
159  ::Teamcenter::RootObjectImpl* setCPCopyRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
160 
161  // Method to set the delete impl boolean
162  void setDeleteImpl( bool del );
163 
164  // Pointer to the Implementation object
165  CPCopyRevisionImpl* m_cpcopyrevisionImpl;
166 
167  // Flag to indicate if Implementation object needs to be deleted
169 
173  static std::string name;
174 
179  CPCopyRevision( const CPCopyRevision& );
181 
182  friend class CPCopyRevisionDelegate;
183  friend class CPCopyRevisionGenImpl;
184 };
185 
186 #include <pkgart/libpkgart_undef.h>
187 #endif // TEAMCENTER__PKGART__CPCOPYREVISION__HXX