Teamcenter C++ API Reference  2312
OverrideApproval.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, OverrideApproval
12  Filename: OverrideApproval.hxx
13  Module: validation
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__OVERRIDEAPPROVAL__HXX
18 #define TEAMCENTER__OVERRIDEAPPROVAL__HXX
19 
20 #include <string>
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
23 #include <tccore/POM_object.hxx>
24 
25 #include <validation/libvalidation_exports.h>
26 
27 namespace Teamcenter
28 {
29  class OverrideApproval;
30 }
31 namespace Teamcenter
32 {
33  class OverrideApprovalImpl;
34 }
35 namespace Teamcenter
36 {
37  class OverrideApprovalDelegate;
38 }
39 namespace Teamcenter
40 {
41  class OverrideApprovalDispatch;
42 }
43 namespace Teamcenter
44 {
45  class OverrideApprovalGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class VALIDATION_API Teamcenter::OverrideApproval
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getFnd0decision_user( std::string &value, bool &isNull ) const;
72 
80  int getFnd0request_user( std::string &value, bool &isNull ) const;
81 
89  int getOverride_category( std::string &value, bool &isNull ) const;
90 
98  int getOverride_decision_comments( std::string &value, bool &isNull ) const;
99 
107  int getOverride_decision_date( date_t &value, bool &isNull ) const;
108 
116  int getOverride_decision_user( tag_t &value, bool &isNull ) const;
117 
125  int getOverride_reason( std::string &value, bool &isNull ) const;
126 
134  int getOverride_reason_detail( std::string &value, bool &isNull ) const;
135 
143  int getOverride_request_date( date_t &value, bool &isNull ) const;
144 
152  int getOverride_request_state( std::string &value, bool &isNull ) const;
153 
161  int getOverride_request_user( tag_t &value, bool &isNull ) const;
162 
170  int getOverride_to_state( std::string &value, bool &isNull ) const;
171 
179  int getOverride_type( std::string &value, bool &isNull ) const;
180 
188  int setFnd0decision_user( const std::string &value, bool isNull=false );
189 
197  int setFnd0request_user( const std::string &value, bool isNull=false );
198 
206  int setOverride_category( const std::string &value, bool isNull=false );
207 
215  int setOverride_decision_comments( const std::string &value, bool isNull=false );
216 
224  int setOverride_decision_date( const date_t &value, bool isNull=false );
225 
233  int setOverride_decision_user( const tag_t &value, bool isNull=false );
234 
242  int setOverride_reason( const std::string &value, bool isNull=false );
243 
251  int setOverride_reason_detail( const std::string &value, bool isNull=false );
252 
260  int setOverride_request_date( const date_t &value, bool isNull=false );
261 
269  int setOverride_request_state( const std::string &value, bool isNull=false );
270 
278  int setOverride_request_user( const tag_t &value, bool isNull=false );
279 
287  int setOverride_to_state( const std::string &value, bool isNull=false );
288 
296  int setOverride_type( const std::string &value, bool isNull=false );
297 protected:
298  // Method to initialize
299  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
300 
305 
309  virtual ~OverrideApproval();
310 
311 private:
312  // Getter method for the Implementation Object
313  OverrideApprovalImpl* getOverrideApprovalImpl() const;
314  // Setter method for the Implementation Object
315  ::Teamcenter::RootObjectImpl* setOverrideApprovalImpl( ::Teamcenter::RootObjectImpl* impl );
316 
317  // Method to set the delete impl boolean
318  void setDeleteImpl( bool del );
319 
320  // Pointer to the Implementation object
321  OverrideApprovalImpl* m_overrideapprovalImpl;
322 
323  // Flag to indicate if Implementation object needs to be deleted
325 
329  static std::string name;
330 
337 
338  friend class OverrideApprovalDelegate;
339  friend class OverrideApprovalGenImpl;
340 };
341 
342 #include <validation/libvalidation_undef.h>
343 #endif // TEAMCENTER__OVERRIDEAPPROVAL__HXX