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.

790 lines
26 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, CPGConstituentRevisionDelegate
Filename: CPGConstituentRevisionDelegate.hxx
Module: cpgmaterials
@BMIDE autogenerated
==================================================================================================*/
#ifndef TEAMCENTER__CPGMATERIALS__CPGCONSTITUENTREVISIONDELEGATE_HXX
#define TEAMCENTER__CPGMATERIALS__CPGCONSTITUENTREVISIONDELEGATE_HXX
#include <common/tc_deprecation_macros.h>
#include <cpgmaterials/CPGConstituentRevision.hxx>
#include <cpgmaterials/libcpgmaterials_exports.h>
namespace Teamcenter
{
namespace CPGMATERIALS
{
class CPGConstituentRevisionDelegate;
}
}
namespace Teamcenter
{
namespace CPGMATERIALS
{
class CPGConstituentRevisionImpl;
}
}
namespace Teamcenter
{
namespace CPGMATERIALS
{
class CPGConstituentRevision;
}
}
namespace Teamcenter
{
namespace CPGMATERIALS
{
class CPGConstituentRevisionGenImpl;
}
}
namespace Teamcenter_alias = ::Teamcenter;
class CPGMATERIALS_API Teamcenter_alias::CPGMATERIALS::CPGConstituentRevisionDelegate
{
public:
// Method to initialize this Class
static int initializeClass();
// Method to get the CPGConstituentRevisionDelegate instance
static CPGConstituentRevisionDelegate& getInstance();
// Method to create the CPGConstituentRevisionImpl pointer
static CPGConstituentRevisionImpl* createImpl( CPGConstituentRevision& ifObj );
// Method to delete the CPGConstituentRevisionImpl pointer
static void deleteImpl( CPGConstituentRevisionImpl* impl );
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getBoiling_pointBase(const CPGConstituentRevision &ifObj, double &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 getCAS_nameBase(const CPGConstituentRevision &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 getCAS_name_alternativeBase(const CPGConstituentRevision &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 getCAS_numberBase(const CPGConstituentRevision &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 getCAS_number_alternativeBase(const CPGConstituentRevision &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 getChemical_groupBase(const CPGConstituentRevision &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 getCOE_numberBase(const CPGConstituentRevision &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 getColor_indexBase(const CPGConstituentRevision &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getCostBase(const CPGConstituentRevision &ifObj, double &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 getEC_nameBase(const CPGConstituentRevision &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 getEC_numberBase(const CPGConstituentRevision &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 getFEMA_numberBase(const CPGConstituentRevision &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getFlash_pointBase(const CPGConstituentRevision &ifObj, double &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 getINCI_name_ECBase(const CPGConstituentRevision &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 getINCI_name_JapanBase(const CPGConstituentRevision &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 getINCI_name_USBase(const CPGConstituentRevision &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 getIngredient_classificationBase(const CPGConstituentRevision &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 getIUPAC_nameBase(const CPGConstituentRevision &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getMax_ingredient_levelBase(const CPGConstituentRevision &ifObj, double &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 getMolecular_formulaBase(const CPGConstituentRevision &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 getMolecular_structureBase(const CPGConstituentRevision &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getMolecular_weightBase(const CPGConstituentRevision &ifObj, double &value, bool &isNull ) const;
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getOil_water_ratioBase(const CPGConstituentRevision &ifObj, double &value, bool &isNull ) const;
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getPH_valueBase(const CPGConstituentRevision &ifObj, double &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 getR_s_phrases_internalBase(const CPGConstituentRevision &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 getR_s_phrases_manufacturerBase(const CPGConstituentRevision &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 getREACH_numberBase(const CPGConstituentRevision &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 getRegulatory_restrictionsBase(const CPGConstituentRevision &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getSpecific_gravityBase(const CPGConstituentRevision &ifObj, double &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 getStateBase(const CPGConstituentRevision &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 getStorage_and_handlingBase(const CPGConstituentRevision &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 getTransport_informationBase(const CPGConstituentRevision &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 getTSCA_bans_restrictionsBase(const CPGConstituentRevision &ifObj, std::string &value, bool &isNull ) const;
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getVapor_pressureBase(const CPGConstituentRevision &ifObj, double &value, bool &isNull ) const;
///
/// Getter for a Double Property
/// @version Tc 8
/// @param value - Parameter Value
/// @param isNull - Returns true if the Parameter value is null
/// @return - Status. 0 if successful
///
int getWater_solubilityBase(const CPGConstituentRevision &ifObj, double &value, bool &isNull ) const;
///
/// Setter for a Double 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 setBoiling_pointBase(CPGConstituentRevision &ifObj, double 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 setCAS_nameBase(CPGConstituentRevision &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 setCAS_name_alternativeBase(CPGConstituentRevision &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 setCAS_numberBase(CPGConstituentRevision &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 setCAS_number_alternativeBase(CPGConstituentRevision &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 setChemical_groupBase(CPGConstituentRevision &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 setCOE_numberBase(CPGConstituentRevision &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 setColor_indexBase(CPGConstituentRevision &ifObj, const std::string &value, bool isNull );
///
/// Setter for a Double 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 setCostBase(CPGConstituentRevision &ifObj, double 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 setEC_nameBase(CPGConstituentRevision &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 setEC_numberBase(CPGConstituentRevision &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 setFEMA_numberBase(CPGConstituentRevision &ifObj, const std::string &value, bool isNull );
///
/// Setter for a Double 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 setFlash_pointBase(CPGConstituentRevision &ifObj, double 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 setINCI_name_ECBase(CPGConstituentRevision &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 setINCI_name_JapanBase(CPGConstituentRevision &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 setINCI_name_USBase(CPGConstituentRevision &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 setIngredient_classificationBase(CPGConstituentRevision &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 setIUPAC_nameBase(CPGConstituentRevision &ifObj, const std::string &value, bool isNull );
///
/// Setter for a Double 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 setMax_ingredient_levelBase(CPGConstituentRevision &ifObj, double 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 setMolecular_formulaBase(CPGConstituentRevision &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 setMolecular_structureBase(CPGConstituentRevision &ifObj, const std::string &value, bool isNull );
///
/// Setter for a Double 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 setMolecular_weightBase(CPGConstituentRevision &ifObj, double value, bool isNull );
///
/// Setter for a Double 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 setOil_water_ratioBase(CPGConstituentRevision &ifObj, double value, bool isNull );
///
/// Setter for a Double 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 setPH_valueBase(CPGConstituentRevision &ifObj, double 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 setR_s_phrases_internalBase(CPGConstituentRevision &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 setR_s_phrases_manufacturerBase(CPGConstituentRevision &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 setREACH_numberBase(CPGConstituentRevision &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 setRegulatory_restrictionsBase(CPGConstituentRevision &ifObj, const std::string &value, bool isNull );
///
/// Setter for a Double 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 setSpecific_gravityBase(CPGConstituentRevision &ifObj, double 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 setStateBase(CPGConstituentRevision &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 setStorage_and_handlingBase(CPGConstituentRevision &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 setTransport_informationBase(CPGConstituentRevision &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 setTSCA_bans_restrictionsBase(CPGConstituentRevision &ifObj, const std::string &value, bool isNull );
///
/// Setter for a Double 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 setVapor_pressureBase(CPGConstituentRevision &ifObj, double value, bool isNull );
///
/// Setter for a Double 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 setWater_solubilityBase(CPGConstituentRevision &ifObj, double value, bool isNull );
protected:
// Pointer to the instance
static CPGConstituentRevisionDelegate* m_pInstance;
CPGConstituentRevisionDelegate();
virtual ~CPGConstituentRevisionDelegate();
static void setInstance( CPGConstituentRevisionDelegate* instance );
private:
friend class ::Teamcenter::CPGMATERIALS::CPGConstituentRevisionGenImpl;
};
#include <cpgmaterials/libcpgmaterials_undef.h>
#endif // TEAMCENTER__CPGMATERIALS__CPGCONSTITUENTREVISIONDELEGATE_HXX