//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, TaskDependencyDelegate Filename: TaskDependencyDelegate.hxx Module: schmgt @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__TASKDEPENDENCYDELEGATE_HXX #define TEAMCENTER__TASKDEPENDENCYDELEGATE_HXX #include #include #include namespace Teamcenter { class TaskDependencyDelegate; } namespace Teamcenter { class TaskDependencyImpl; } namespace Teamcenter { class TaskDependency; } namespace Teamcenter { class TaskDependencyGenImpl; } namespace Teamcenter_alias = ::Teamcenter; class SCHMGT_API Teamcenter_alias::TaskDependencyDelegate { public: // Method to initialize this Class static int initializeClass(); // Method to get the TaskDependencyDelegate instance static TaskDependencyDelegate& getInstance(); // Method to create the TaskDependencyImpl pointer static TaskDependencyImpl* createImpl( TaskDependency& ifObj ); // Method to delete the TaskDependencyImpl pointer static void deleteImpl( TaskDependencyImpl* impl ); /// /// Getter for an Integer 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 getDependency_typeBase(const TaskDependency &ifObj, int &value, bool &isNull ) const; /// /// Getter for an Integer 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 getFnd0WhatIfModeBase(const TaskDependency &ifObj, int &value, bool &isNull ) const; /// /// Getter for an Integer 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 getLag_timeBase(const TaskDependency &ifObj, int &value, bool &isNull ) const; /// /// Setter for an Integer 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 setDependency_typeBase(TaskDependency &ifObj, int value, bool isNull ); /// /// Setter for an Integer 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 setFnd0WhatIfModeBase(TaskDependency &ifObj, int value, bool isNull ); /// /// Setter for an Integer 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 setLag_timeBase(TaskDependency &ifObj, int value, bool isNull ); /// /// 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 to the object to be refreshed /// @param bd - A data structure to store objects and other information relevant for set-based operation /// @param isLockForDelete - A boolean to indicate if object(s) are to be locked for deletion /// @param allowRelock - A boolean to indicate if object(s) can be relocked, which will discard all unsaved changes, if already locked by the same user /// @return - This operation returns ITK_ok on success. Otherwise, it will return specific error code. /// int fnd0LockBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd, const bool isLockForDelete, const bool allowRelock ); /// /// 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 to the object to be refreshed /// @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 fnd0RefreshBase( 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 ); /// /// 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 to the object to be refreshed /// @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 fnd0UnlockBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd ); /// /// desc for validate for create /// @version Tc 8 /// @param creInput - desc for creInput parameter /// @return - ret desc for validate for create /// int validateCreateInputBase(const TaskDependency &ifObj, ::Teamcenter::CreateInput *creInput ); protected: // Pointer to the instance static TaskDependencyDelegate* m_pInstance; TaskDependencyDelegate(); virtual ~TaskDependencyDelegate(); static void setInstance( TaskDependencyDelegate* instance ); private: friend class ::Teamcenter::TaskDependencyGenImpl; }; #include #endif // TEAMCENTER__TASKDEPENDENCYDELEGATE_HXX