Teamcenter C++ API Reference  2312
Lis0Resource.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, Lis0Resource
12  Filename: Lis0Resource.hxx
13  Module: Lis0lisfmwrk
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef LIS0LISFMWRK__LIS0RESOURCE__HXX
18 #define LIS0LISFMWRK__LIS0RESOURCE__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 <Lis0lisfmwrk/liblis0lisfmwrk_exports.h>
26 
27 namespace lis0lisfmwrk
28 {
29  class Lis0Resource;
30 }
31 namespace lis0lisfmwrk
32 {
33  class Lis0ResourceImpl;
34 }
35 namespace lis0lisfmwrk
36 {
37  class Lis0ResourceDelegate;
38 }
39 namespace lis0lisfmwrk
40 {
41  class Lis0ResourceDispatch;
42 }
43 namespace lis0lisfmwrk
44 {
45  class Lis0ResourceGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class LIS0LISFMWRK_API lis0lisfmwrk::Lis0Resource
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getLis0createRelease( tag_t &value, bool &isNull ) const;
72 
80  int getLis0description( std::string &value, bool &isNull ) const;
81 
89  int getLis0name( std::string &value, bool &isNull ) const;
90 
98  int getLis0title( std::string &value, bool &isNull ) const;
99 
107  int getLis0urlId( std::string &value, bool &isNull ) const;
108 
116  int setLis0createRelease( const tag_t &value, bool isNull=false );
117 
125  int setLis0description( const std::string &value, bool isNull=false );
126 
134  int setLis0name( const std::string &value, bool isNull=false );
135 
143  int setLis0title( const std::string &value, bool isNull=false );
144 
152  int setLis0urlId( const std::string &value, bool isNull=false );
153 
162  int lis0GetLISObject( const std::string *resourceType, const std::string *srcUrlId, tag_t *srcObjTag ) const;
163 protected:
164  // Method to initialize
165  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
166 
170  Lis0Resource();
171 
175  virtual ~Lis0Resource();
176 
177 private:
178  // Getter method for the Implementation Object
179  Lis0ResourceImpl* getLis0ResourceImpl() const;
180  // Setter method for the Implementation Object
181  ::Teamcenter::RootObjectImpl* setLis0ResourceImpl( ::Teamcenter::RootObjectImpl* impl );
182 
183  // Method to set the delete impl boolean
184  void setDeleteImpl( bool del );
185 
186  // Pointer to the Implementation object
187  Lis0ResourceImpl* m_lis0resourceImpl;
188 
189  // Flag to indicate if Implementation object needs to be deleted
191 
195  static std::string name;
196 
201  Lis0Resource( const Lis0Resource& );
203 
204  friend class Lis0ResourceDelegate;
205  friend class Lis0ResourceGenImpl;
206 };
207 
208 #include <Lis0lisfmwrk/liblis0lisfmwrk_undef.h>
209 #endif // LIS0LISFMWRK__LIS0RESOURCE__HXX