Teamcenter C++ API Reference  2312
CPSpecificationRevision.hxx
Go to the documentation of this file.
1 //Copyright 2022 Siemens Digital Industries Software
2 //==================================================
3 //
4 //Copyright $2023.
5 //Siemens Product Lifecycle Management Software Inc.
6 //All Rights Reserved.
7 //==================================================
8 //Copyright 2022 Siemens Digital Industries Software
9 
10 /*==================================================================================================
11 File description:
12  This file contains the declaration for the Business Object, CPSpecificationRevision
13  Filename: CPSpecificationRevision.hxx
14  Module: specmgr
15  @BMIDE autogenerated
16 ==================================================================================================*/
17 
18 #ifndef TEAMCENTER__SPECMGR__CPSPECIFICATIONREVISION__HXX
19 #define TEAMCENTER__SPECMGR__CPSPECIFICATIONREVISION__HXX
20 
21 #include <string>
22 #include <unidefs.h>
23 #include <vector>
24 #include <common/tc_deprecation_macros.h>
26 
27 #include <specmgr/libspecmgr_exports.h>
28 
29 namespace Teamcenter
30 {
31  namespace SPECMGR
32  {
33  class CPSpecificationRevision;
34  }
35 }
36 namespace Teamcenter
37 {
38  namespace SPECMGR
39  {
40  class CPSpecificationRevisionImpl;
41  }
42 }
43 namespace Teamcenter
44 {
45  namespace SPECMGR
46  {
47  class CPSpecificationRevisionDelegate;
48  }
49 }
50 namespace Teamcenter
51 {
52  namespace SPECMGR
53  {
54  class CPSpecificationRevisionDispatch;
55  }
56 }
57 namespace Teamcenter
58 {
59  namespace SPECMGR
60  {
61  class CPSpecificationRevisionGenImpl;
62  }
63 }
64 namespace Teamcenter
65 {
66  class RootObjectImpl;
67 }
68 
69 class SPECMGR_API Teamcenter::SPECMGR::CPSpecificationRevision
71 {
72 public:
73 
78  static const std::string& getInterfaceName();
79 
80 
88  int getAuthoring_system( std::string &value, bool &isNull ) const;
89 
97  int getBase_uom( tag_t &value, bool &isNull ) const;
98 
106  int getKeywords( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
107 
115  int getManufacturers( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
116 
124  int getOther_uom( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
125 
133  int getPlants( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
134 
142  int getSpec_type( tag_t &value, bool &isNull ) const;
143 
151  int setAuthoring_system( const std::string &value, bool isNull=false );
152 
160  int setBase_uom( const tag_t &value, bool isNull=false );
161 
169  int setKeywords( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
170 
178  int setManufacturers( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
179 
187  int setOther_uom( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
188 
196  int setPlants( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 );
197 
205  int setSpec_type( const tag_t &value, bool isNull=false );
206 protected:
207  // Method to initialize
208  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
209 
214 
218  virtual ~CPSpecificationRevision();
219 
220 private:
221  // Getter method for the Implementation Object
222  CPSpecificationRevisionImpl* getCPSpecificationRevisionImpl() const;
223  // Setter method for the Implementation Object
224  ::Teamcenter::RootObjectImpl* setCPSpecificationRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
225 
226  // Method to set the delete impl boolean
227  void setDeleteImpl( bool del );
228 
229  // Pointer to the Implementation object
230  CPSpecificationRevisionImpl* m_cpspecificationrevisionImpl;
231 
232  // Flag to indicate if Implementation object needs to be deleted
234 
238  static std::string name;
239 
246 
247  friend class CPSpecificationRevisionDelegate;
248  friend class CPSpecificationRevisionGenImpl;
249 };
250 
251 #include <specmgr/libspecmgr_undef.h>
252 #endif // TEAMCENTER__SPECMGR__CPSPECIFICATIONREVISION__HXX