Teamcenter C++ API Reference  2312
ResourceAssignment.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, ResourceAssignment
12  Filename: ResourceAssignment.hxx
13  Module: schmgt
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__RESOURCEASSIGNMENT__HXX
18 #define TEAMCENTER__RESOURCEASSIGNMENT__HXX
19 
20 #include <unidefs.h>
21 #include <common/tc_deprecation_macros.h>
22 #include <tccore/ImanRelation.hxx>
23 
24 #include <schmgt/libschmgt_exports.h>
25 
26 namespace Teamcenter
27 {
28  class ResourceAssignment;
29 }
30 namespace Teamcenter
31 {
32  class ResourceAssignmentImpl;
33 }
34 namespace Teamcenter
35 {
36  class ResourceAssignmentDelegate;
37 }
38 namespace Teamcenter
39 {
40  class ResourceAssignmentDispatch;
41 }
42 namespace Teamcenter
43 {
44  class ResourceAssignmentGenImpl;
45 }
46 namespace Teamcenter
47 {
48  class RootObjectImpl;
49 }
50 
51 class SCHMGT_API Teamcenter::ResourceAssignment
53 {
54 public:
55 
60  static const std::string& getInterfaceName();
61 
62 
70  int getDiscipline( tag_t &value, bool &isNull ) const;
71 
79  int getFnd0AssignedDiscipline( tag_t &value, bool &isNull ) const;
80 
88  int getFnd0AssignedUser( tag_t &value, bool &isNull ) const;
89 
97  int getFnd0IsPlaceholder( bool &value, bool &isNull ) const;
98 
106  int getFnd0ResourcePool( tag_t &value, bool &isNull ) const;
107 
115  int getFnd0WhatIfMode( int &value, bool &isNull ) const;
116 
124  int getResource_level( double &value, bool &isNull ) const;
125 
133  int setDiscipline( const tag_t &value, bool isNull=false );
134 
142  int setFnd0IsPlaceholder( bool value, bool isNull=false );
143 
151  int setFnd0ResourcePool( const tag_t &value, bool isNull=false );
152 
160  int setFnd0WhatIfMode( int value, bool isNull=false );
161 
169  int setResource_level( double value, bool isNull=false );
170 protected:
171  // Method to initialize
172  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
173 
178 
182  virtual ~ResourceAssignment();
183 
184 private:
185  // Getter method for the Implementation Object
186  ResourceAssignmentImpl* getResourceAssignmentImpl() const;
187  // Setter method for the Implementation Object
188  ::Teamcenter::RootObjectImpl* setResourceAssignmentImpl( ::Teamcenter::RootObjectImpl* impl );
189 
190  // Method to set the delete impl boolean
191  void setDeleteImpl( bool del );
192 
193  // Pointer to the Implementation object
194  ResourceAssignmentImpl* m_resourceassignmentImpl;
195 
196  // Flag to indicate if Implementation object needs to be deleted
198 
202  static std::string name;
203 
210 
211  friend class ResourceAssignmentDelegate;
212  friend class ResourceAssignmentGenImpl;
213 };
214 
215 #include <schmgt/libschmgt_undef.h>
216 #endif // TEAMCENTER__RESOURCEASSIGNMENT__HXX