Teamcenter C++ API Reference  2312
ChangeItemRevision.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, ChangeItemRevision
12  Filename: ChangeItemRevision.hxx
13  Module: cm
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__CHANGEITEMREVISION__HXX
18 #define TEAMCENTER__CHANGEITEMREVISION__HXX
19 
20 #include <vector>
23 #include <string>
24 #include <unidefs.h>
25 #include <common/tc_deprecation_macros.h>
26 #include <tccore/ItemRevision.hxx>
27 
28 #include <cm/libcm_exports.h>
29 
30 namespace Teamcenter
31 {
32  class ChangeItemRevision;
33 }
34 namespace Teamcenter
35 {
36  class ChangeItemRevisionImpl;
37 }
38 namespace Teamcenter
39 {
40  class ChangeItemRevisionDelegate;
41 }
42 namespace Teamcenter
43 {
44  class ChangeItemRevisionDispatch;
45 }
46 namespace Teamcenter
47 {
48  class ChangeItemRevisionGenImpl;
49 }
50 namespace Teamcenter
51 {
52  class RootObjectImpl;
53 }
54 
55 class CM_API Teamcenter::ChangeItemRevision
57 {
58 public:
59 
64  static const std::string& getInterfaceName();
65 
66 
74  int getCm0DerivableTypes( std::vector< std::string > &values, std::vector< int > &isNull ) const;
75 
83  int getCMClosure( std::string &value, bool &isNull ) const;
84 
92  int getCMClosureComments( std::string &value, bool &isNull ) const;
93 
101  int getCMClosureDate( date_t &value, bool &isNull ) const;
102 
110  int getCMDisposition( std::string &value, bool &isNull ) const;
111 
119  int getCMDispositionComments( std::string &value, bool &isNull ) const;
120 
128  int getCMDispositionDate( date_t &value, bool &isNull ) const;
129 
137  int getCMMaturity( std::string &value, bool &isNull ) const;
138 
146  int setCMClosure( const std::string &value, bool isNull=false );
147 
155  int setCMClosureComments( const std::string &value, bool isNull=false );
156 
164  int setCMClosureDate( const date_t &value, bool isNull=false );
165 
173  int setCMDisposition( const std::string &value, bool isNull=false );
174 
182  int setCMDispositionComments( const std::string &value, bool isNull=false );
183 
191  int setCMDispositionDate( const date_t &value, bool isNull=false );
192 
200  int setCMMaturity( const std::string &value, bool isNull=false );
201 
209  int getCm0Buyers( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
210 
218  int getCm0ChangeContributors( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
219 
227  int getCm0Designers( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
228 
236  int getCm0Engineers( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
237 
245  int getCm0FinanceEstimators( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
246 
254  int getCm0LeadDesigners( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
255 
263  int getCm0ProductEngineers( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
264 
272  int getCm0ProgramManagers( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
273 
281  int getCm0QualityEngineers( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
282 
290  int getCm0Sales( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
291 
299  static int cm0DeriveChange( std::vector< ::Teamcenter::BulkInput* > *deriveInput, ::Teamcenter::BulkData *bulkData );
300 
308  int cm0getParticipantGroupName( std::string &participantType, std::string &groupName );
309 
317  int cm0getParticipantRoleName( std::string &participantType, std::string &roleName );
318 protected:
319  // Method to initialize
320  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
321 
326 
330  virtual ~ChangeItemRevision();
331 
332 private:
333  // Getter method for the Implementation Object
334  ChangeItemRevisionImpl* getChangeItemRevisionImpl() const;
335  // Setter method for the Implementation Object
336  ::Teamcenter::RootObjectImpl* setChangeItemRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
337 
338  // Method to set the delete impl boolean
339  void setDeleteImpl( bool del );
340 
341  // Pointer to the Implementation object
342  ChangeItemRevisionImpl* m_changeitemrevisionImpl;
343 
344  // Flag to indicate if Implementation object needs to be deleted
346 
350  static std::string name;
351 
358 
359  friend class ChangeItemRevisionDelegate;
360  friend class ChangeItemRevisionGenImpl;
361 };
362 
363 #include <cm/libcm_undef.h>
364 #endif // TEAMCENTER__CHANGEITEMREVISION__HXX