//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, Ptn0PartitionLinkDelegate Filename: Ptn0PartitionLinkDelegate.hxx Module: ptn0partition @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__PARTITION__PTN0PARTITIONLINKDELEGATE_HXX #define TEAMCENTER__PARTITION__PTN0PARTITIONLINKDELEGATE_HXX #include #include #include namespace Teamcenter { namespace Partition { class Ptn0PartitionLinkDelegate; } } namespace Teamcenter { namespace Partition { class Ptn0PartitionLinkImpl; } } namespace Teamcenter { namespace Partition { class Ptn0PartitionLink; } } namespace Teamcenter { namespace Partition { class Ptn0PartitionLinkGenImpl; } } namespace Teamcenter_alias = ::Teamcenter; class PTN0PARTITION_API Teamcenter_alias::Partition::Ptn0PartitionLinkDelegate { public: // Method to initialize this Class static int initializeClass(); // Method to get the Ptn0PartitionLinkDelegate instance static Ptn0PartitionLinkDelegate& getInstance(); // Method to create the Ptn0PartitionLinkImpl pointer static Ptn0PartitionLinkImpl* createImpl( Ptn0PartitionLink& ifObj ); // Method to delete the Ptn0PartitionLinkImpl pointer static void deleteImpl( Ptn0PartitionLinkImpl* impl ); /// /// Getter for a Tag Property /// @version Teamcenter 9 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getPtn0partition_definitionBase(const Ptn0PartitionLink &ifObj, tag_t &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Teamcenter 9 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getPtn0partition_idBase(const Ptn0PartitionLink &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for a Tag Property /// @version Teamcenter 9 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getPtn0partition_scheme_typeBase(const Ptn0PartitionLink &ifObj, tag_t &value, bool &isNull ) const; /// /// Setter for a Tag Property /// @version Teamcenter 9 /// @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 setPtn0partition_definitionBase(Ptn0PartitionLink &ifObj, const tag_t &value, bool isNull ); /// /// Setter for a string Property /// @version Teamcenter 9 /// @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 setPtn0partition_idBase(Ptn0PartitionLink &ifObj, const std::string &value, bool isNull ); /// /// Setter for a Tag Property /// @version Teamcenter 9 /// @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 setPtn0partition_scheme_typeBase(Ptn0PartitionLink &ifObj, const tag_t &value, bool isNull ); /// /// desc for createPost /// @version Tc 8 /// @param creInput - Description for the Create Input /// @return - return desc for createPost /// int createPostBase(const Ptn0PartitionLink &ifObj, ::Teamcenter::CreateInput *creInput ); /// /// This operation is not supported now, there will be no support for issues stemming from uses of this operation. /// @version Teamcenter 11.4 /// @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 fnd0CreatePostBase( std::vector< ::Teamcenter::BulkInput* > *inputs, ::Teamcenter::BulkData *bd ); protected: // Pointer to the instance static Ptn0PartitionLinkDelegate* m_pInstance; Ptn0PartitionLinkDelegate(); virtual ~Ptn0PartitionLinkDelegate(); static void setInstance( Ptn0PartitionLinkDelegate* instance ); private: friend class ::Teamcenter::Partition::Ptn0PartitionLinkGenImpl; }; #include #endif // TEAMCENTER__PARTITION__PTN0PARTITIONLINKDELEGATE_HXX