//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, NXCMValDataRevisionDelegate Filename: NXCMValDataRevisionDelegate.hxx Module: validation @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__NXCMVALDATAREVISIONDELEGATE_HXX #define TEAMCENTER__NXCMVALDATAREVISIONDELEGATE_HXX #include #include #include namespace Teamcenter { class NXCMValDataRevisionDelegate; } namespace Teamcenter { class NXCMValDataRevisionImpl; } namespace Teamcenter { class NXCMValDataRevision; } namespace Teamcenter { class NXCMValDataRevisionGenImpl; } namespace Teamcenter_alias = ::Teamcenter; class VALIDATION_API Teamcenter_alias::NXCMValDataRevisionDelegate { public: // Method to initialize this Class static int initializeClass(); // Method to get the NXCMValDataRevisionDelegate instance static NXCMValDataRevisionDelegate& getInstance(); // Method to create the NXCMValDataRevisionImpl pointer static NXCMValDataRevisionImpl* createImpl( NXCMValDataRevision& ifObj ); // Method to delete the NXCMValDataRevisionImpl pointer static void deleteImpl( NXCMValDataRevisionImpl* impl ); /// /// Getter for a Boolean Property /// @version Teamcenter 8.2 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getValidation_can_groupBase(const NXCMValDataRevision &ifObj, bool &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Teamcenter 8.2 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getValidation_categoryBase(const NXCMValDataRevision &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for a Tag Property /// @version Teamcenter 8.2 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getValidation_ext_ruleBase(const NXCMValDataRevision &ifObj, tag_t &value, bool &isNull ) const; /// /// Setter for a Boolean Property /// @version Teamcenter 8.2 /// @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 setValidation_can_groupBase(NXCMValDataRevision &ifObj, bool value, bool isNull ); /// /// Setter for a string Property /// @version Teamcenter 8.2 /// @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 setValidation_categoryBase(NXCMValDataRevision &ifObj, const std::string &value, bool isNull ); /// /// Setter for a Tag Property /// @version Teamcenter 8.2 /// @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 setValidation_ext_ruleBase(NXCMValDataRevision &ifObj, const tag_t &value, bool isNull ); /// /// Finalize operation input. /// @version Teamcenter 10.1 /// @param pReviseInput - desc /// @param vecDeepCopyData - desc /// @return - returns n int. /// int finalizeReviseInputBase(const NXCMValDataRevision &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.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 ); /// /// desc for createPost /// @version Tc 8 /// @param creInput - Description for the Create Input /// @return - return desc for createPost /// int createPostBase(const NXCMValDataRevision &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 NXCMValDataRevision &ifObj, ::Teamcenter::CreateInput *creInput ); /// /// finalize operation input /// @version Teamcenter 9 /// @param pSavAsInput - desc /// @param vecDeepCopyData - desc /// @return - returns an int /// int finalizeSaveAsInputBase(const NXCMValDataRevision &ifObj, ::Teamcenter::SaveAsInput *pSavAsInput, std::vector< ::Teamcenter::DeepCopyData* > *vecDeepCopyData ); /// /// desc for setPropertiesFromCreateInpu /// @version Tc 8 /// @param creInput - Description for CreateInput /// @return - return desc for setPropertiesFromCreateInput /// int setPropertiesFromCreateInputBase(const NXCMValDataRevision &ifObj, ::Teamcenter::CreateInput *creInput ); /// /// desc for validate for create /// @version Tc 8 /// @param creInput - desc for creInput parameter /// @return - ret desc for validate for create /// int validateCreateInputBase(const NXCMValDataRevision &ifObj, ::Teamcenter::CreateInput *creInput ); protected: // Pointer to the instance static NXCMValDataRevisionDelegate* m_pInstance; NXCMValDataRevisionDelegate(); virtual ~NXCMValDataRevisionDelegate(); static void setInstance( NXCMValDataRevisionDelegate* instance ); private: friend class ::Teamcenter::NXCMValDataRevisionGenImpl; }; #include #endif // TEAMCENTER__NXCMVALDATAREVISIONDELEGATE_HXX