Teamcenter C++ API Reference  2312
CompanyLocation.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, CompanyLocation
12  Filename: CompanyLocation.hxx
13  Module: tc
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__COMPANYLOCATION__HXX
18 #define TEAMCENTER__COMPANYLOCATION__HXX
19 
20 #include <string>
21 #include <common/tc_deprecation_macros.h>
23 
24 #include <tc/libtc_exports.h>
25 
26 namespace Teamcenter
27 {
28  class CompanyLocation;
29 }
30 namespace Teamcenter
31 {
32  class CompanyLocationImpl;
33 }
34 namespace Teamcenter
35 {
36  class CompanyLocationDelegate;
37 }
38 namespace Teamcenter
39 {
40  class CompanyLocationDispatch;
41 }
42 namespace Teamcenter
43 {
44  class CompanyLocationGenImpl;
45 }
46 namespace Teamcenter
47 {
48  class RootObjectImpl;
49 }
50 
51 class TC_API Teamcenter::CompanyLocation
53 {
54 public:
55 
60  static const std::string& getInterfaceName();
61 
62 
70  int getCity( std::string &value, bool &isNull ) const;
71 
79  int getCountry( std::string &value, bool &isNull ) const;
80 
88  int getFnd0LocationCode( std::string &value, bool &isNull ) const;
89 
97  int getFnd0LocationType( std::string &value, bool &isNull ) const;
98 
106  int getPostal_code( std::string &value, bool &isNull ) const;
107 
115  int getRegion( std::string &value, bool &isNull ) const;
116 
124  int getState_province( std::string &value, bool &isNull ) const;
125 
133  int getStreet( std::string &value, bool &isNull ) const;
134 
142  int getUrl( std::string &value, bool &isNull ) const;
143 
151  int setCity( const std::string &value, bool isNull=false );
152 
160  int setCountry( const std::string &value, bool isNull=false );
161 
169  int setFnd0LocationCode( const std::string &value, bool isNull=false );
170 
178  int setFnd0LocationType( const std::string &value, bool isNull=false );
179 
187  int setPostal_code( const std::string &value, bool isNull=false );
188 
196  int setRegion( const std::string &value, bool isNull=false );
197 
205  int setState_province( const std::string &value, bool isNull=false );
206 
214  int setStreet( const std::string &value, bool isNull=false );
215 
223  int setUrl( const std::string &value, bool isNull=false );
224 protected:
225  // Method to initialize
226  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
227 
231  CompanyLocation();
232 
236  virtual ~CompanyLocation();
237 
238 private:
239  // Getter method for the Implementation Object
240  CompanyLocationImpl* getCompanyLocationImpl() const;
241  // Setter method for the Implementation Object
242  ::Teamcenter::RootObjectImpl* setCompanyLocationImpl( ::Teamcenter::RootObjectImpl* impl );
243 
244  // Method to set the delete impl boolean
245  void setDeleteImpl( bool del );
246 
247  // Pointer to the Implementation object
248  CompanyLocationImpl* m_companylocationImpl;
249 
250  // Flag to indicate if Implementation object needs to be deleted
252 
256  static std::string name;
257 
264 
265  friend class CompanyLocationDelegate;
266  friend class CompanyLocationGenImpl;
267 };
268 
269 #include <tc/libtc_undef.h>
270 #endif // TEAMCENTER__COMPANYLOCATION__HXX