Teamcenter C++ API Reference  2312
awb0occmgmtbom/ItemRevisionExt.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, ItemRevision
12  Filename: ItemRevisionExt.hxx
13  Module: awb0occmgmtbom
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef AWB0__TEAMCENTER__ITEMREVISION__HXX
18 #define AWB0__TEAMCENTER__ITEMREVISION__HXX
19 
20 #include <unidefs.h>
21 #include <common/tc_deprecation_macros.h>
25 
26 #include <awb0occmgmtbom/libawb0occmgmtbom_exports.h>
27 
28 namespace awb0
29 {
30  namespace Teamcenter
31  {
32  class ItemRevision;
33  }
34 }
35 namespace awb0
36 {
37  namespace Teamcenter
38  {
39  class ItemRevisionImpl;
40  }
41 }
42 namespace awb0
43 {
44  namespace Teamcenter
45  {
46  class ItemRevisionDelegate;
47  }
48 }
49 namespace awb0
50 {
51  namespace Teamcenter
52  {
53  class ItemRevisionDispatch;
54  }
55 }
56 namespace awb0
57 {
58  namespace Teamcenter
59  {
60  class ItemRevisionGenImpl;
61  }
62 }
63 namespace Teamcenter
64 {
65  class RootObjectImpl;
66 }
67 
68 class AWB0OCCMGMTBOM_API awb0::Teamcenter::ItemRevision
70 {
71 public:
72 
76  ItemRevision( tag_t objTag );
81  static ::Teamcenter::BusinessObjectExtenderRegistry< awb0::Teamcenter::ItemRevision >& extenderRegistry();
82 
87  static const std::string& getExtenderInterfaceName();
88 
89 
97  int getAwb0DiscoveryIndexTime( date_t &value, bool &isNull ) const;
98 
106  int getAwb0IsDiscoveryIndexed( bool &value, bool &isNull ) const;
107 
115  int getAwb0DiscoveryIndexedSource( tag_t &value, bool &isNull ) const;
116 
124  int awb0IsRemoveSubstituteCmdVisible( tag_t selection, bool *isVisible );
125 
133  int awb0IsUseSubstituteCmdVisible( tag_t selection, bool *isVisible );
134 protected:
135  // Method to initialize
136  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
137 
138 
142  virtual ~ItemRevision();
143 
144 private:
145  // Getter method for the Implementation Object
146  ItemRevisionImpl* getItemRevisionImpl() const;
147  // Setter method for the Implementation Object
148  ::Teamcenter::RootObjectImpl* setItemRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
149 
150  // Method to set the delete impl boolean
151  void setDeleteImpl( bool del );
152 
153  // Pointer to the Implementation object
154  ItemRevisionImpl* m_itemrevisionImpl;
155 
156  // Flag to indicate if Implementation object needs to be deleted
158 
162  static std::string name;
163 
168  ItemRevision( const ItemRevision& );
170 
171  friend class ItemRevisionDelegate;
172  friend class ItemRevisionGenImpl;
173  friend class ItemRevisionImpl;
174 };
175 
176 #include <awb0occmgmtbom/libawb0occmgmtbom_undef.h>
177 #endif // AWB0__TEAMCENTER__ITEMREVISION__HXX