//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, Bom0ConfigurableBomElement Filename: Bom0ConfigurableBomElement.hxx Module: Bom0bommanagement @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__BOM0BOMMANAGEMENT__BOM0CONFIGURABLEBOMELEMENT__HXX #define TEAMCENTER__BOM0BOMMANAGEMENT__BOM0CONFIGURABLEBOMELEMENT__HXX #include #include #include #include #include #include #include #include #include #include namespace Teamcenter { namespace Bom0bommanagement { class Bom0ConfigurableBomElement; } } namespace Teamcenter { namespace Bom0bommanagement { class Bom0ConfigurableBomElementImpl; } } namespace Teamcenter { namespace Bom0bommanagement { class Bom0ConfigurableBomElementDelegate; } } namespace Teamcenter { namespace Bom0bommanagement { class Bom0ConfigurableBomElementDispatch; } } namespace Teamcenter { namespace Bom0bommanagement { class Bom0ConfigurableBomElementGenImpl; } } namespace Teamcenter { class RootObjectImpl; } class BOM0BOMMANAGEMENT_API Teamcenter::Bom0bommanagement::Bom0ConfigurableBomElement : public ::Teamcenter::WorkspaceObject { public: /** * Get the Interface Name * @return - return desc for getInterfaceName */ static const std::string& getInterfaceName(); /// /// 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 getBom0AttributeGroups( 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 getBom0EffectivityFormula( 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 getBom0EffectivityFormulaDisplayableValues( 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 setBom0AttributeGroups( const std::vector< tag_t > &values, const std::vector< int > *isNull=0 ); /// /// 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 setBom0EffectivityFormula( const std::string &value, bool isNull=false ); /// /// Finalize Revise Input Operation /// @version Teamcenter 11.2 /// @param pReviseInput - Revise input /// @param vecDeepCopyData - Deep Copy Data Vector /// @return - Failure Code /// int finalizeReviseInput( ::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 - /// static int fnd0FinalizeReviseInput( 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 - /// static int fnd0Revise( 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 - /// static int fnd0RevisePost( 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 - /// static int fnd0SetPropertiesFromReviseInput( 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 - /// static int fnd0ValidateReviseInput( 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 revise( ::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 revisePost( ::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 setPropertiesFromReviseInput( ::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 validateReviseInput( ::Teamcenter::ReviseInput *pReviseInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData ); protected: // Method to initialize virtual void initialize( ::Teamcenter::RootObjectImpl* impl ); /** * Constructor */ Bom0ConfigurableBomElement(); /** * Destructor */ virtual ~Bom0ConfigurableBomElement(); private: // Getter method for the Implementation Object Bom0ConfigurableBomElementImpl* getBom0ConfigurableBomElementImpl() const; // Setter method for the Implementation Object ::Teamcenter::RootObjectImpl* setBom0ConfigurableBomElementImpl( ::Teamcenter::RootObjectImpl* impl ); // Method to set the delete impl boolean void setDeleteImpl( bool del ); // Pointer to the Implementation object Bom0ConfigurableBomElementImpl* m_bom0configurablebomelementImpl; // Flag to indicate if Implementation object needs to be deleted bool m_deleteImpl; /** * Name of the Business Object */ static std::string name; /** * Private default constructor. We do not want this class instantiated without the business object passed in. * @param Bom0ConfigurableBomElement - desc for Bom0ConfigurableBomElement parameter */ Bom0ConfigurableBomElement( const Bom0ConfigurableBomElement& ); Bom0ConfigurableBomElement& operator=( const Bom0ConfigurableBomElement& ); friend class Bom0ConfigurableBomElementDelegate; friend class Bom0ConfigurableBomElementDispatch; friend class Bom0ConfigurableBomElementGenImpl; }; #include #endif // TEAMCENTER__BOM0BOMMANAGEMENT__BOM0CONFIGURABLEBOMELEMENT__HXX