//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, Bom0CompositePUSubstituteDelegate Filename: Bom0CompositePUSubstituteDelegate.hxx Module: Bom0bommanagement @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__BOM0BOMMANAGEMENT__BOM0COMPOSITEPUSUBSTITUTEDELEGATE_HXX #define TEAMCENTER__BOM0BOMMANAGEMENT__BOM0COMPOSITEPUSUBSTITUTEDELEGATE_HXX #include #include #include namespace Teamcenter { namespace Bom0bommanagement { class Bom0CompositePUSubstituteDelegate; } } namespace Teamcenter { namespace Bom0bommanagement { class Bom0CompositePUSubstituteImpl; } } namespace Teamcenter { namespace Bom0bommanagement { class Bom0CompositePUSubstitute; } } namespace Teamcenter { namespace Bom0bommanagement { class Bom0CompositePUSubstituteGenImpl; } } namespace Teamcenter_alias = ::Teamcenter; class BOM0BOMMANAGEMENT_API Teamcenter_alias::Bom0bommanagement::Bom0CompositePUSubstituteDelegate { public: // Method to initialize this Class static int initializeClass(); // Method to get the Bom0CompositePUSubstituteDelegate instance static Bom0CompositePUSubstituteDelegate& getInstance(); // Method to create the Bom0CompositePUSubstituteImpl pointer static Bom0CompositePUSubstituteImpl* createImpl( Bom0CompositePUSubstitute& ifObj ); // Method to delete the Bom0CompositePUSubstituteImpl pointer static void deleteImpl( Bom0CompositePUSubstituteImpl* impl ); /// /// This is the getter for retrieving the recipe/permanent ID if its been created (and cached on the instance). Every Business Object should implement this operation. /// @version Teamcenter 11.1 /// @param uid - Recipe/permanent ID /// @param isFirstTime - If Session Recovery Uid is yet to be set or does the object need to be serialized again? /// @return - Failure code /// int fnd0AskSRUidBase(const Bom0CompositePUSubstitute &ifObj, std::string *uid, bool *isFirstTime ) const; /// /// Generates permanent ID/recipe. Every Business Object should implement this operation. /// @version Teamcenter 11.1 /// @param recipe - Permanent ID/recipe /// @return - Failure code. /// int fnd0GenerateRecipeBase(const Bom0CompositePUSubstitute &ifObj, std::string *recipe ); /// /// If Business Object supports recoverable ID. Every Business Object should implement this operation. /// @version Teamcenter 11.1 /// @param isPersistedRecipe - isPersistedRecipe param should be set to true if the recipe is limited to the user session and should be serialized to the database /// @param isRecoverableIDSupported - Returning true indicates support for recoverability/permanent IDs /// @return - Failure code. /// int fnd0IsRecoverableBase(const Bom0CompositePUSubstitute &ifObj, bool *isPersistedRecipe, bool *isRecoverableIDSupported ) const; /// /// This is the setter for the recipe/permanent ID when it is created (to be cached on the instance). Every Business Object should implement this operation. /// @version Teamcenter 11.1 /// @param uid - Rrecipe/permanent ID /// @return - Failure code. /// int fnd0SetSRUidBase(const Bom0CompositePUSubstitute &ifObj, const std::string *uid ); protected: // Pointer to the instance static Bom0CompositePUSubstituteDelegate* m_pInstance; Bom0CompositePUSubstituteDelegate(); virtual ~Bom0CompositePUSubstituteDelegate(); static void setInstance( Bom0CompositePUSubstituteDelegate* instance ); private: friend class ::Teamcenter::Bom0bommanagement::Bom0CompositePUSubstituteGenImpl; }; #include #endif // TEAMCENTER__BOM0BOMMANAGEMENT__BOM0COMPOSITEPUSUBSTITUTEDELEGATE_HXX