Teamcenter C++ API Reference  2312
CPBriefRevision.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, CPBriefRevision
12  Filename: CPBriefRevision.hxx
13  Module: cp
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__CPBRIEFREVISION__HXX
18 #define TEAMCENTER__CPBRIEFREVISION__HXX
19 
20 #include <unidefs.h>
21 #include <string>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <cp/libcp_exports.h>
26 
27 namespace Teamcenter
28 {
29  class CPBriefRevision;
30 }
31 namespace Teamcenter
32 {
33  class CPBriefRevisionImpl;
34 }
35 namespace Teamcenter
36 {
37  class CPBriefRevisionDelegate;
38 }
39 namespace Teamcenter
40 {
41  class CPBriefRevisionDispatch;
42 }
43 namespace Teamcenter
44 {
45  class CPBriefRevisionGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class CP_API Teamcenter::CPBriefRevision
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getInitiative_target_date( date_t &value, bool &isNull ) const;
72 
80  int getProduct_category( std::string &value, bool &isNull ) const;
81 
89  int getTarget_market( std::string &value, bool &isNull ) const;
90 
98  int setInitiative_target_date( const date_t &value, bool isNull=false );
99 
107  int setProduct_category( const std::string &value, bool isNull=false );
108 
116  int setTarget_market( const std::string &value, bool isNull=false );
117 protected:
118  // Method to initialize
119  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
120 
124  CPBriefRevision();
125 
129  virtual ~CPBriefRevision();
130 
131 private:
132  // Getter method for the Implementation Object
133  CPBriefRevisionImpl* getCPBriefRevisionImpl() const;
134  // Setter method for the Implementation Object
135  ::Teamcenter::RootObjectImpl* setCPBriefRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
136 
137  // Method to set the delete impl boolean
138  void setDeleteImpl( bool del );
139 
140  // Pointer to the Implementation object
141  CPBriefRevisionImpl* m_cpbriefrevisionImpl;
142 
143  // Flag to indicate if Implementation object needs to be deleted
145 
149  static std::string name;
150 
157 
158  friend class CPBriefRevisionDelegate;
159  friend class CPBriefRevisionGenImpl;
160 };
161 
162 #include <cp/libcp_undef.h>
163 #endif // TEAMCENTER__CPBRIEFREVISION__HXX