Teamcenter C++ API Reference  2312
Cdm0ContractRevision.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, Cdm0ContractRevision
12  Filename: Cdm0ContractRevision.hxx
13  Module: cdm0contractmanagement
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef CDM0CONTRACTMANAGEMENT__CDM0CONTRACTREVISION__HXX
18 #define CDM0CONTRACTMANAGEMENT__CDM0CONTRACTREVISION__HXX
19 
20 #include <string>
21 #include <unidefs.h>
22 #include <vector>
23 #include <common/tc_deprecation_macros.h>
25 
26 #include <cdm0contractmanagement/libcdm0contractmanagement_exports.h>
27 
28 namespace cdm0contractmanagement
29 {
30  class Cdm0ContractRevision;
31 }
32 namespace cdm0contractmanagement
33 {
34  class Cdm0ContractRevisionImpl;
35 }
36 namespace cdm0contractmanagement
37 {
38  class Cdm0ContractRevisionDelegate;
39 }
40 namespace cdm0contractmanagement
41 {
42  class Cdm0ContractRevisionDispatch;
43 }
44 namespace cdm0contractmanagement
45 {
46  class Cdm0ContractRevisionGenImpl;
47 }
48 namespace Teamcenter
49 {
50  class RootObjectImpl;
51 }
52 
53 class CDM0CONTRACTMANAGEMENT_API cdm0contractmanagement::Cdm0ContractRevision
55 {
56 public:
57 
62  static const std::string& getInterfaceName();
63 
64 
72  int getCdm0Comments( std::string &value, bool &isNull ) const;
73 
81  int getCdm0ContractCost( double &value, bool &isNull ) const;
82 
90  int getCdm0ContractCostDelta( double &value, bool &isNull ) const;
91 
99  int getCdm0ContractEventSch( tag_t &value, bool &isNull ) const;
100 
108  int getCdm0ContractHasCorespondce( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
109 
117  int getCdm0ContractPricingModel( std::string &value, bool &isNull ) const;
118 
126  int getCdm0ContractScheduleTasks( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
127 
135  int getCdm0EffectiveDate( date_t &value, bool &isNull ) const;
136 
144  int getCdm0OfficePrimaryResp( std::string &value, bool &isNull ) const;
145 
153  int getCdm0PeriodOfPerformance( double &value, bool &isNull ) const;
154 
162  int getCdm0RecurringCost( bool &value, bool &isNull ) const;
163 
171  int getCdm0SOWAffected( bool &value, bool &isNull ) const;
172 
180  int setCdm0Comments( const std::string &value, bool isNull=false );
181 
189  int setCdm0ContractCost( double value, bool isNull=false );
190 
198  int setCdm0ContractCostDelta( double value, bool isNull=false );
199 
207  int setCdm0ContractEventSch( const tag_t &value, bool isNull=false );
208 
216  int setCdm0ContractPricingModel( const std::string &value, bool isNull=false );
217 
225  int setCdm0EffectiveDate( const date_t &value, bool isNull=false );
226 
234  int setCdm0OfficePrimaryResp( const std::string &value, bool isNull=false );
235 
243  int setCdm0PeriodOfPerformance( double value, bool isNull=false );
244 
252  int setCdm0RecurringCost( bool value, bool isNull=false );
253 
261  int setCdm0SOWAffected( bool value, bool isNull=false );
262 protected:
263  // Method to initialize
264  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
265 
270 
274  virtual ~Cdm0ContractRevision();
275 
276 private:
277  // Getter method for the Implementation Object
278  Cdm0ContractRevisionImpl* getCdm0ContractRevisionImpl() const;
279  // Setter method for the Implementation Object
280  ::Teamcenter::RootObjectImpl* setCdm0ContractRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
281 
282  // Method to set the delete impl boolean
283  void setDeleteImpl( bool del );
284 
285  // Pointer to the Implementation object
286  Cdm0ContractRevisionImpl* m_cdm0contractrevisionImpl;
287 
288  // Flag to indicate if Implementation object needs to be deleted
290 
294  static std::string name;
295 
302 
303  friend class Cdm0ContractRevisionDelegate;
304  friend class Cdm0ContractRevisionGenImpl;
305 };
306 
307 #include <cdm0contractmanagement/libcdm0contractmanagement_undef.h>
308 #endif // CDM0CONTRACTMANAGEMENT__CDM0CONTRACTREVISION__HXX