Teamcenter C++ API Reference  2312
Mdl0BaselineRevision.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, Mdl0BaselineRevision
12  Filename: Mdl0BaselineRevision.hxx
13  Module: mdl0model
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__APPMODEL__MDL0BASELINEREVISION__HXX
18 #define TEAMCENTER__APPMODEL__MDL0BASELINEREVISION__HXX
19 
20 #include <unidefs.h>
21 #include <string>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/ItemRevision.hxx>
24 
25 #include <mdl0model/libmdl0model_exports.h>
26 
27 namespace Teamcenter
28 {
29  namespace AppModel
30  {
31  class Mdl0BaselineRevision;
32  }
33 }
34 namespace Teamcenter
35 {
36  namespace AppModel
37  {
38  class Mdl0BaselineRevisionImpl;
39  }
40 }
41 namespace Teamcenter
42 {
43  namespace AppModel
44  {
45  class Mdl0BaselineRevisionDelegate;
46  }
47 }
48 namespace Teamcenter
49 {
50  namespace AppModel
51  {
52  class Mdl0BaselineRevisionDispatch;
53  }
54 }
55 namespace Teamcenter
56 {
57  namespace AppModel
58  {
59  class Mdl0BaselineRevisionGenImpl;
60  }
61 }
62 namespace Teamcenter
63 {
64  class RootObjectImpl;
65 }
66 
67 class MDL0MODEL_API Teamcenter::AppModel::Mdl0BaselineRevision
69 {
70 public:
71 
76  static const std::string& getInterfaceName();
77 
78 
86  int getMdl0SnapshotDate( date_t &value, bool &isNull ) const;
87 
95  int setMdl0Closure( const std::string &value, bool isNull=false );
96 
102  int mdl0DeleteSnapshotDate( );
103 
110  int mdl0SetSnapshotDate( date_t date );
111 protected:
112  // Method to initialize
113  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
114 
119 
123  virtual ~Mdl0BaselineRevision();
124 
125 private:
126  // Getter method for the Implementation Object
127  Mdl0BaselineRevisionImpl* getMdl0BaselineRevisionImpl() const;
128  // Setter method for the Implementation Object
129  ::Teamcenter::RootObjectImpl* setMdl0BaselineRevisionImpl( ::Teamcenter::RootObjectImpl* impl );
130 
131  // Method to set the delete impl boolean
132  void setDeleteImpl( bool del );
133 
134  // Pointer to the Implementation object
135  Mdl0BaselineRevisionImpl* m_mdl0baselinerevisionImpl;
136 
137  // Flag to indicate if Implementation object needs to be deleted
139 
143  static std::string name;
144 
151 
152  friend class Mdl0BaselineRevisionDelegate;
153  friend class Mdl0BaselineRevisionGenImpl;
154 };
155 
156 #include <mdl0model/libmdl0model_undef.h>
157 #endif // TEAMCENTER__APPMODEL__MDL0BASELINEREVISION__HXX