Teamcenter C++ API Reference  2312
Participant.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, Participant
12  Filename: Participant.hxx
13  Module: epm
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__PARTICIPANT__HXX
18 #define TEAMCENTER__PARTICIPANT__HXX
19 
20 #include <unidefs.h>
21 #include <vector>
22 #include <string>
23 #include <common/tc_deprecation_macros.h>
24 #include <tccore/POM_object.hxx>
25 
26 #include <epm/libepm_exports.h>
27 
28 namespace Teamcenter
29 {
30  class Participant;
31 }
32 namespace Teamcenter
33 {
34  class ParticipantImpl;
35 }
36 namespace Teamcenter
37 {
38  class ParticipantDelegate;
39 }
40 namespace Teamcenter
41 {
42  class ParticipantDispatch;
43 }
44 namespace Teamcenter
45 {
46  class ParticipantGenImpl;
47 }
48 namespace Teamcenter
49 {
50  class RootObjectImpl;
51 }
52 
53 class EPM_API Teamcenter::Participant
55 {
56 public:
57 
62  static const std::string& getInterfaceName();
63 
64 
72  int getAssignee( tag_t &value, bool &isNull ) const;
73 
81  int getFnd0AssigneeGroup( tag_t &value, bool &isNull ) const;
82 
89  int getFnd0AssigneeGroupDisplayableValues( std::vector< std::string > &values );
90 
98  int getFnd0AssigneeGroupRole( std::string &value, bool &isNull ) const;
99 
107  int getFnd0AssigneeRole( tag_t &value, bool &isNull ) const;
108 
115  int getFnd0AssigneeRoleDisplayableValues( std::vector< std::string > &values );
116 
124  int setAssignee( const tag_t &value, bool isNull=false );
125 
134  int isAssignable( tag_t user, tag_t object, bool *assignable );
135 protected:
136  // Method to initialize
137  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
138 
142  Participant();
143 
147  virtual ~Participant();
148 
149 private:
150  // Getter method for the Implementation Object
151  ParticipantImpl* getParticipantImpl() const;
152  // Setter method for the Implementation Object
153  ::Teamcenter::RootObjectImpl* setParticipantImpl( ::Teamcenter::RootObjectImpl* impl );
154 
155  // Method to set the delete impl boolean
156  void setDeleteImpl( bool del );
157 
158  // Pointer to the Implementation object
159  ParticipantImpl* m_participantImpl;
160 
161  // Flag to indicate if Implementation object needs to be deleted
163 
167  static std::string name;
168 
173  Participant( const Participant& );
174  Participant& operator=( const Participant& );
175 
176  friend class ParticipantDelegate;
177  friend class ParticipantGenImpl;
178  friend class ParticipantImpl;
179 };
180 
181 #include <epm/libepm_undef.h>
182 #endif // TEAMCENTER__PARTICIPANT__HXX