Teamcenter C++ API Reference  2312
EPMJob.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, EPMJob
12  Filename: EPMJob.hxx
13  Module: epm
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__EPMJOB__HXX
18 #define TEAMCENTER__EPMJOB__HXX
19 
20 #include <vector>
21 #include <unidefs.h>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <epm/libepm_exports.h>
26 
27 namespace Teamcenter
28 {
29  class EPMJob;
30 }
31 namespace Teamcenter
32 {
33  class EPMJobImpl;
34 }
35 namespace Teamcenter
36 {
37  class EPMJobDelegate;
38 }
39 namespace Teamcenter
40 {
41  class EPMJobDispatch;
42 }
43 namespace Teamcenter
44 {
45  class EPMJobGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class EPM_API Teamcenter::EPMJob
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getAll_tasks( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
72 
80  int getDue_date_project( date_t &value, bool &isNull ) const;
81 
89  int getEpm_parentprocess( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
90 
98  int getFnd0ErrorTasks( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
99 
107  int getFnd0Late( bool &value, bool &isNull ) const;
108 
116  int getIs_parallel_process( bool &value, bool &isNull ) const;
117 
125  int getProcess_due_date( date_t &value, bool &isNull ) const;
126 
134  int setDue_date_project( const date_t &value, bool isNull=false );
135 
143  int setProcess_due_date( const date_t &value, bool isNull=false );
144 protected:
145  // Method to initialize
146  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
147 
151  EPMJob();
152 
156  virtual ~EPMJob();
157 
158 private:
159  // Getter method for the Implementation Object
160  EPMJobImpl* getEPMJobImpl() const;
161  // Setter method for the Implementation Object
162  ::Teamcenter::RootObjectImpl* setEPMJobImpl( ::Teamcenter::RootObjectImpl* impl );
163 
164  // Method to set the delete impl boolean
165  void setDeleteImpl( bool del );
166 
167  // Pointer to the Implementation object
168  EPMJobImpl* m_epmjobImpl;
169 
170  // Flag to indicate if Implementation object needs to be deleted
172 
176  static std::string name;
177 
182  EPMJob( const EPMJob& );
183  EPMJob& operator=( const EPMJob& );
184 
185  friend class EPMJobDelegate;
186  friend class EPMJobGenImpl;
187 };
188 
189 #include <epm/libepm_undef.h>
190 #endif // TEAMCENTER__EPMJOB__HXX