You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

267 lines
8.1 KiB

//Copyright 2020 Siemens Digital Industries Software
//==================================================
//Copyright $2020.
//Siemens Product Lifecycle Management Software Inc.
//All Rights Reserved.
//==================================================
//Copyright 2020 Siemens Digital Industries Software
/*==================================================================================================
File description:
This file contains the declaration for the Business Object, CompanyLocationDelegate
Filename: CompanyLocationDelegate.hxx
Module: tc
@BMIDE autogenerated
==================================================================================================*/
#ifndef TEAMCENTER__COMPANYLOCATIONDELEGATE_HXX
#define TEAMCENTER__COMPANYLOCATIONDELEGATE_HXX
#include <common/tc_deprecation_macros.h>
#include <tc/CompanyLocation.hxx>
#include <tc/libtc_exports.h>
namespace Teamcenter
{
class CompanyLocationDelegate;
}
namespace Teamcenter
{
class CompanyLocationImpl;
}
namespace Teamcenter
{
class CompanyLocation;
}
namespace Teamcenter
{
class CompanyLocationGenImpl;
}
namespace Teamcenter_alias = ::Teamcenter;
class TC_API Teamcenter_alias::CompanyLocationDelegate
{
public:
// Method to initialize this Class
static int initializeClass();
// Method to get the CompanyLocationDelegate instance
static CompanyLocationDelegate& getInstance();
// Method to create the CompanyLocationImpl pointer
static CompanyLocationImpl* createImpl( CompanyLocation& ifObj );
// Method to delete the CompanyLocationImpl pointer
static void deleteImpl( CompanyLocationImpl* impl );
///
/// Getter for a string Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCityBase(const CompanyLocation &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCountryBase(const CompanyLocation &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 9
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getFnd0LocationCodeBase(const CompanyLocation &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Teamcenter 9
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getFnd0LocationTypeBase(const CompanyLocation &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getPostal_codeBase(const CompanyLocation &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getRegionBase(const CompanyLocation &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getState_provinceBase(const CompanyLocation &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getStreetBase(const CompanyLocation &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a string Property
/// @version Tc 8
/// @param value - Parameter value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getUrlBase(const CompanyLocation &ifObj, std::string &value, bool &isNull ) const;
///
/// Setter for a string Property
/// @version Tc 8
/// @param value - Value to be set for the parameter
/// @param isNull - If true, set the parameter value to null
/// @return - Status. 0 if successful
///
int setCityBase(CompanyLocation &ifObj, const std::string &value, bool isNull );
///
/// Setter for a string Property
/// @version Tc 8
/// @param value - Value to be set for the parameter
/// @param isNull - If true, set the parameter value to null
/// @return - Status. 0 if successful
///
int setCountryBase(CompanyLocation &ifObj, const std::string &value, bool isNull );
///
/// Setter for a string Property
/// @version Teamcenter 9
/// @param value - Value to be set for the parameter
/// @param isNull - If true, set the parameter value to null
/// @return - Status. 0 if successful
///
int setFnd0LocationCodeBase(CompanyLocation &ifObj, const std::string &value, bool isNull );
///
/// Setter for a string Property
/// @version Teamcenter 9
/// @param value - Value to be set for the parameter
/// @param isNull - If true, set the parameter value to null
/// @return - Status. 0 if successful
///
int setFnd0LocationTypeBase(CompanyLocation &ifObj, const std::string &value, bool isNull );
///
/// Setter for a string Property
/// @version Tc 8
/// @param value - Value to be set for the parameter
/// @param isNull - If true, set the parameter value to null
/// @return - Status. 0 if successful
///
int setPostal_codeBase(CompanyLocation &ifObj, const std::string &value, bool isNull );
///
/// Setter for a string Property
/// @version Tc 8
/// @param value - Value to be set for the parameter
/// @param isNull - If true, set the parameter value to null
/// @return - Status. 0 if successful
///
int setRegionBase(CompanyLocation &ifObj, const std::string &value, bool isNull );
///
/// Setter for a string Property
/// @version Tc 8
/// @param value - Value to be set for the parameter
/// @param isNull - If true, set the parameter value to null
/// @return - Status. 0 if successful
///
int setState_provinceBase(CompanyLocation &ifObj, const std::string &value, bool isNull );
///
/// Setter for a string Property
/// @version Tc 8
/// @param value - Value to be set for the parameter
/// @param isNull - If true, set the parameter value to null
/// @return - Status. 0 if successful
///
int setStreetBase(CompanyLocation &ifObj, const std::string &value, bool isNull );
///
/// Setter for a string Property
/// @version Tc 8
/// @param value - Value to be set for the parameter
/// @param isNull - If true, set the parameter value to null
/// @return - Status. 0 if successful
///
int setUrlBase(CompanyLocation &ifObj, const std::string &value, bool isNull );
///
/// desc for validate for create
/// @version Tc 8
/// @param creInput - desc for creInput parameter
/// @return - ret desc for validate for create
///
int validateCreateInputBase(const CompanyLocation &ifObj, ::Teamcenter::CreateInput *creInput );
protected:
// Pointer to the instance
static CompanyLocationDelegate* m_pInstance;
CompanyLocationDelegate();
virtual ~CompanyLocationDelegate();
static void setInstance( CompanyLocationDelegate* instance );
private:
friend class ::Teamcenter::CompanyLocationGenImpl;
};
#include <tc/libtc_undef.h>
#endif // TEAMCENTER__COMPANYLOCATIONDELEGATE_HXX