//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, CPGFormulaMaterRevisionDelegate Filename: CPGFormulaMaterRevisionDelegate.hxx Module: cpgmaterials @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__CPGMATERIALS__CPGFORMULAMATERREVISIONDELEGATE_HXX #define TEAMCENTER__CPGMATERIALS__CPGFORMULAMATERREVISIONDELEGATE_HXX #include #include #include namespace Teamcenter { namespace CPGMATERIALS { class CPGFormulaMaterRevisionDelegate; } } namespace Teamcenter { namespace CPGMATERIALS { class CPGFormulaMaterRevisionImpl; } } namespace Teamcenter { namespace CPGMATERIALS { class CPGFormulaMaterRevision; } } namespace Teamcenter { namespace CPGMATERIALS { class CPGFormulaMaterRevisionGenImpl; } } namespace Teamcenter_alias = ::Teamcenter; class CPGMATERIALS_API Teamcenter_alias::CPGMATERIALS::CPGFormulaMaterRevisionDelegate { public: // Method to initialize this Class static int initializeClass(); // Method to get the CPGFormulaMaterRevisionDelegate instance static CPGFormulaMaterRevisionDelegate& getInstance(); // Method to create the CPGFormulaMaterRevisionImpl pointer static CPGFormulaMaterRevisionImpl* createImpl( CPGFormulaMaterRevision& ifObj ); // Method to delete the CPGFormulaMaterRevisionImpl pointer static void deleteImpl( CPGFormulaMaterRevisionImpl* 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 CPGFormulaMaterRevision &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 getCostBase(const CPGFormulaMaterRevision &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 getExperimental_idBase(const CPGFormulaMaterRevision &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for a Date Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getExpiry_dateBase(const CPGFormulaMaterRevision &ifObj, date_t &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 getFeedstock_originBase(const CPGFormulaMaterRevision &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 CPGFormulaMaterRevision &ifObj, double &value, bool &isNull ) const; /// /// Getter for a Tag Array Property /// @version Teamcenter 8.1 /// @param values - Parameter value /// @param isNull - Returns true for an array element if the parameter value at that location is null /// @return - Status. 0 if successful /// int getFND_Tracelink_reverseBase(const CPGFormulaMaterRevision &ifObj, std::vector< tag_t > &values, std::vector< int > &isNull ) const; /// /// Getter for a Boolean Property /// @version Tc 8 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getKosherBase(const CPGFormulaMaterRevision &ifObj, bool &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 getMaterial_characteristicBase(const CPGFormulaMaterRevision &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 getMaterial_functionBase(const CPGFormulaMaterRevision &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 CPGFormulaMaterRevision &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 CPGFormulaMaterRevision &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 CPGFormulaMaterRevision &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 CPGFormulaMaterRevision &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 CPGFormulaMaterRevision &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 CPGFormulaMaterRevision &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 getProjected_volumeBase(const CPGFormulaMaterRevision &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 getREACH_numberBase(const CPGFormulaMaterRevision &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 CPGFormulaMaterRevision &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for an Integer Property /// @version Tc 8 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getShelf_lifeBase(const CPGFormulaMaterRevision &ifObj, int &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 CPGFormulaMaterRevision &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 CPGFormulaMaterRevision &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 getSupplier_transportBase(const CPGFormulaMaterRevision &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 CPGFormulaMaterRevision &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 CPGFormulaMaterRevision &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 CPGFormulaMaterRevision &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(CPGFormulaMaterRevision &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 setCostBase(CPGFormulaMaterRevision &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 setExperimental_idBase(CPGFormulaMaterRevision &ifObj, const std::string &value, bool isNull ); /// /// Setter for a Date 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 setExpiry_dateBase(CPGFormulaMaterRevision &ifObj, const date_t &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 setFeedstock_originBase(CPGFormulaMaterRevision &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(CPGFormulaMaterRevision &ifObj, double value, bool isNull ); /// /// Setter for a Boolean 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 setKosherBase(CPGFormulaMaterRevision &ifObj, bool 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 setMaterial_characteristicBase(CPGFormulaMaterRevision &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 setMaterial_functionBase(CPGFormulaMaterRevision &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(CPGFormulaMaterRevision &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(CPGFormulaMaterRevision &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(CPGFormulaMaterRevision &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(CPGFormulaMaterRevision &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(CPGFormulaMaterRevision &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(CPGFormulaMaterRevision &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 setProjected_volumeBase(CPGFormulaMaterRevision &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 setREACH_numberBase(CPGFormulaMaterRevision &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(CPGFormulaMaterRevision &ifObj, const std::string &value, bool isNull ); /// /// Setter for an Integer 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 setShelf_lifeBase(CPGFormulaMaterRevision &ifObj, int 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(CPGFormulaMaterRevision &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(CPGFormulaMaterRevision &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 setSupplier_transportBase(CPGFormulaMaterRevision &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(CPGFormulaMaterRevision &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(CPGFormulaMaterRevision &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(CPGFormulaMaterRevision &ifObj, double value, bool isNull ); protected: // Pointer to the instance static CPGFormulaMaterRevisionDelegate* m_pInstance; CPGFormulaMaterRevisionDelegate(); virtual ~CPGFormulaMaterRevisionDelegate(); static void setInstance( CPGFormulaMaterRevisionDelegate* instance ); private: friend class ::Teamcenter::CPGMATERIALS::CPGFormulaMaterRevisionGenImpl; }; #include #endif // TEAMCENTER__CPGMATERIALS__CPGFORMULAMATERREVISIONDELEGATE_HXX