//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, Bom0ConfigurableBomElementDelegate Filename: Bom0ConfigurableBomElementDelegate.hxx Module: Bom0bommanagement @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__BOM0BOMMANAGEMENT__BOM0CONFIGURABLEBOMELEMENTDELEGATE_HXX #define TEAMCENTER__BOM0BOMMANAGEMENT__BOM0CONFIGURABLEBOMELEMENTDELEGATE_HXX #include #include #include namespace Teamcenter { namespace Bom0bommanagement { class Bom0ConfigurableBomElementDelegate; } } namespace Teamcenter { namespace Bom0bommanagement { class Bom0ConfigurableBomElementImpl; } } namespace Teamcenter { namespace Bom0bommanagement { class Bom0ConfigurableBomElement; } } namespace Teamcenter { namespace Bom0bommanagement { class Bom0ConfigurableBomElementGenImpl; } } namespace Teamcenter_alias = ::Teamcenter; class BOM0BOMMANAGEMENT_API Teamcenter_alias::Bom0bommanagement::Bom0ConfigurableBomElementDelegate { public: // Method to initialize this Class static int initializeClass(); // Method to get the Bom0ConfigurableBomElementDelegate instance static Bom0ConfigurableBomElementDelegate& getInstance(); // Method to create the Bom0ConfigurableBomElementImpl pointer static Bom0ConfigurableBomElementImpl* createImpl( Bom0ConfigurableBomElement& ifObj ); // Method to delete the Bom0ConfigurableBomElementImpl pointer static void deleteImpl( Bom0ConfigurableBomElementImpl* impl ); /// /// Getter for a Tag Array Property /// @version Teamcenter 11.3 /// @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 getBom0AttributeGroupsBase(const Bom0ConfigurableBomElement &ifObj, std::vector< tag_t > &values, std::vector< int > &isNull ) const; /// /// Getter for a string Property /// @version Teamcenter 11.4 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getBom0EffectivityFormulaBase(const Bom0ConfigurableBomElement &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for Property Display Value /// @version Teamcenter 11.5 /// @param values - Parameter value /// @return - Status. 0 if successful /// int getBom0EffectivityFormulaDisplayableValuesBase(Bom0ConfigurableBomElement &ifObj, std::vector< std::string > &values ); /// /// Setter for a Tag Array Property /// @version Teamcenter 11.3 /// @param values - Values to be set for the parameter /// @param isNull - If array element is true, set the parameter value at that location as null /// @return - Status. 0 if successful /// int setBom0AttributeGroupsBase(Bom0ConfigurableBomElement &ifObj, const std::vector< tag_t > &values, const std::vector< int > *isNull ); /// /// Setter for a string Property /// @version Teamcenter 11.4 /// @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 setBom0EffectivityFormulaBase(Bom0ConfigurableBomElement &ifObj, const std::string &value, bool isNull ); /// /// Finalize Revise Input Operation /// @version Teamcenter 11.2 /// @param pReviseInput - Revise input /// @param vecDeepCopyData - Deep Copy Data Vector /// @return - Failure Code /// int finalizeReviseInputBase(const Bom0ConfigurableBomElement &ifObj, ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData ); /// /// This operation is not supported now, there will be no support for issues stemming from uses of this operation. /// @version Teamcenter 11.2.3 /// @param inputs - A vector of data that contains reference information to the objects to be revised /// @param bd - A data structure to store objects and other information relevant for set-based operation /// @return - /// int fnd0FinalizeReviseInputBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd ); /// /// This operation is not supported now, there will be no support for issues stemming from uses of this operation. /// @version Teamcenter 11.2.3 /// @param inputs - A vector of data that contains reference information to the objects to be revised /// @param bd - A data structure to store objects and other information relevant for set-based operation /// @return - /// int fnd0ReviseBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd ); /// /// This operation is not supported now, there will be no support for issues stemming from uses of this operation. /// @version Teamcenter 11.2.3 /// @param inputs - A vector of data that contains reference information to the objects to be revised /// @param bd - A data structure to store objects and other information relevant for set-based operation /// @return - /// int fnd0RevisePostBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd ); /// /// This operation is not supported now, there will be no support for issues stemming from uses of this operation. /// @version Teamcenter 11.2.3 /// @param inputs - A vector of data that contains reference information to the objects to be revised /// @param bd - A data structure to store objects and other information relevant for set-based operation /// @return - /// int fnd0SetPropertiesFromReviseInputBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd ); /// /// This operation is not supported now, there will be no support for issues stemming from uses of this operation. /// @version Teamcenter 11.2.3 /// @param inputs - A vector of data that contains reference information to the objects to be revised /// @param bd - A data structure to store objects and other information relevant for set-based operation /// @return - /// int fnd0ValidateReviseInputBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd ); /// /// Bom0ConfigurableBomElement Revise Operation /// @version Teamcenter 11.2 /// @param pReviseInput - Revise Input /// @param vecDeepCopyData - Deep Copy Data Vactor /// @param newObjTag - New Object tag /// @return - Failure Code /// int reviseBase(const Bom0ConfigurableBomElement &ifObj, ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData, tag_t *newObjTag ); /// /// Reivse post operation /// @version Teamcenter 11.2 /// @param pReviseInput - Revise Input Descriptor /// @param vecDeepCopyData - Deep Copy Data Vector /// @return - Failure Code /// int revisePostBase(const Bom0ConfigurableBomElement &ifObj, ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData ); /// /// Set properties from revise input Operation /// @version Teamcenter 11.2 /// @param pReviseInput - Revise Input Descriptor /// @return - Failure code /// int setPropertiesFromReviseInputBase(const Bom0ConfigurableBomElement &ifObj, ::Teamcenter::ReviseInput *pReviseInput ); /// /// Validate Revise Input Operation /// @version Teamcenter 11.2 /// @param pReviseInput - Revise Input Descriptor /// @param vecDeepCopyData - Deep Copy Data Vector /// @return - Failure Code /// int validateReviseInputBase(const Bom0ConfigurableBomElement &ifObj, ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData ); /// /// desc for createPost /// @version Tc 8 /// @param creInput - Description for the Create Input /// @return - return desc for createPost /// int createPostBase(const Bom0ConfigurableBomElement &ifObj, ::Teamcenter::CreateInput *creInput ); /// /// Description for the Finalize Create Input /// @version Tc 8 /// @param creInput - desc for creInput parameter /// @return - Return desc for Initialize for Create /// int finalizeCreateInputBase(const Bom0ConfigurableBomElement &ifObj, ::Teamcenter::CreateInput *creInput ); /// /// finalize operation input /// @version Teamcenter 9 /// @param pSavAsInput - desc /// @param vecDeepCopyData - desc /// @return - returns an int /// int finalizeSaveAsInputBase(const Bom0ConfigurableBomElement &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData ); /// /// This operation is not supported now, there will be no support for issues stemming from uses of this operation. /// @version Teamcenter 11.2.3 /// @param inputs - A vector of data that contains reference information to the object to be saved /// @param bd - A data structure to store objects and other information relevant for set-based operation /// @return - /// int fnd0PerformDeepCopyBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd ); /// /// This operation is not supported now, there will be no support for issues stemming from uses of this operation. /// @version Teamcenter 11.2.2 /// @param inputs - A vector of data that contains reference information to the object to be saved /// @param bd - A data structure to store objects and other information relevant for set-based operation /// @return - This operation returns ITK_ok on success. Otherwise, it will return specific error code. /// int fnd0SaveBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd ); /// /// perform deep copy /// @version Teamcenter 9 /// @param pOperationInput - desc /// @param vecDeepCopyData - deep copy data /// @return - returns an int /// int performDeepCopyBase(const Bom0ConfigurableBomElement &ifObj, ::Teamcenter::OperationInput *pOperationInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData ); /// /// Generic saveAsPost operation. /// @version Teamcenter 8.1 /// @param pSavAsInput - Input argument as SaveAsInput object. /// @param vecDeepCopyData - vector deepcopy data /// @return - Return integer value. /// int saveAsPostBase(const Bom0ConfigurableBomElement &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData ); /// /// desc for validate for create /// @version Tc 8 /// @param creInput - desc for creInput parameter /// @return - ret desc for validate for create /// int validateCreateInputBase(const Bom0ConfigurableBomElement &ifObj, ::Teamcenter::CreateInput *creInput ); /// /// validate saveas input /// @version Teamcenter 9 /// @param pSavAsInput - desc /// @param vecDeepCopyData - desc /// @return - returns an int /// int validateSaveAsInputBase(const Bom0ConfigurableBomElement &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData ); protected: // Pointer to the instance static Bom0ConfigurableBomElementDelegate* m_pInstance; Bom0ConfigurableBomElementDelegate(); virtual ~Bom0ConfigurableBomElementDelegate(); static void setInstance( Bom0ConfigurableBomElementDelegate* instance ); private: friend class ::Teamcenter::Bom0bommanagement::Bom0ConfigurableBomElementGenImpl; }; #include #endif // TEAMCENTER__BOM0BOMMANAGEMENT__BOM0CONFIGURABLEBOMELEMENTDELEGATE_HXX