Teamcenter C++ API Reference  2312
CompanyContact.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, CompanyContact
12  Filename: CompanyContact.hxx
13  Module: tc
14  @BMIDE autogenerated
15 ==================================================================================================*/
16 
17 #ifndef TEAMCENTER__COMPANYCONTACT__HXX
18 #define TEAMCENTER__COMPANYCONTACT__HXX
19 
20 #include <string>
21 #include <vector>
22 #include <common/tc_deprecation_macros.h>
24 
25 #include <tc/libtc_exports.h>
26 
27 namespace Teamcenter
28 {
29  class CompanyContact;
30 }
31 namespace Teamcenter
32 {
33  class CompanyContactImpl;
34 }
35 namespace Teamcenter
36 {
37  class CompanyContactDelegate;
38 }
39 namespace Teamcenter
40 {
41  class CompanyContactDispatch;
42 }
43 namespace Teamcenter
44 {
45  class CompanyContactGenImpl;
46 }
47 namespace Teamcenter
48 {
49  class RootObjectImpl;
50 }
51 
52 class TC_API Teamcenter::CompanyContact
54 {
55 public:
56 
61  static const std::string& getInterfaceName();
62 
63 
71  int getEmail_address( std::string &value, bool &isNull ) const;
72 
80  int getFax_number( std::string &value, bool &isNull ) const;
81 
89  int getFirst_name( std::string &value, bool &isNull ) const;
90 
98  int getFnd0CompanyLocations( std::vector< tag_t > &values, std::vector< int > &isNull ) const;
99 
107  int getLast_name( std::string &value, bool &isNull ) const;
108 
116  int getPager_number( std::string &value, bool &isNull ) const;
117 
125  int getPhone_business( std::string &value, bool &isNull ) const;
126 
134  int getPhone_home( std::string &value, bool &isNull ) const;
135 
143  int getPhone_mobile( std::string &value, bool &isNull ) const;
144 
152  int getSuffix( std::string &value, bool &isNull ) const;
153 
161  int getTitle( std::string &value, bool &isNull ) const;
162 
170  int setEmail_address( const std::string &value, bool isNull=false );
171 
179  int setFax_number( const std::string &value, bool isNull=false );
180 
188  int setFirst_name( const std::string &value, bool isNull=false );
189 
197  int setLast_name( const std::string &value, bool isNull=false );
198 
206  int setPager_number( const std::string &value, bool isNull=false );
207 
215  int setPhone_business( const std::string &value, bool isNull=false );
216 
224  int setPhone_home( const std::string &value, bool isNull=false );
225 
233  int setPhone_mobile( const std::string &value, bool isNull=false );
234 
242  int setSuffix( const std::string &value, bool isNull=false );
243 
251  int setTitle( const std::string &value, bool isNull=false );
252 protected:
253  // Method to initialize
254  virtual void initialize( ::Teamcenter::RootObjectImpl* impl );
255 
259  CompanyContact();
260 
264  virtual ~CompanyContact();
265 
266 private:
267  // Getter method for the Implementation Object
268  CompanyContactImpl* getCompanyContactImpl() const;
269  // Setter method for the Implementation Object
270  ::Teamcenter::RootObjectImpl* setCompanyContactImpl( ::Teamcenter::RootObjectImpl* impl );
271 
272  // Method to set the delete impl boolean
273  void setDeleteImpl( bool del );
274 
275  // Pointer to the Implementation object
276  CompanyContactImpl* m_companycontactImpl;
277 
278  // Flag to indicate if Implementation object needs to be deleted
280 
284  static std::string name;
285 
290  CompanyContact( const CompanyContact& );
292 
293  friend class CompanyContactDelegate;
294  friend class CompanyContactGenImpl;
295 };
296 
297 #include <tc/libtc_undef.h>
298 #endif // TEAMCENTER__COMPANYCONTACT__HXX