//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, Lis0Resource Filename: Lis0Resource.hxx Module: Lis0lisfmwrk @BMIDE autogenerated ==================================================================================================*/ #ifndef LIS0LISFMWRK__LIS0RESOURCE__HXX #define LIS0LISFMWRK__LIS0RESOURCE__HXX #include #include #include #include #include namespace lis0lisfmwrk { class Lis0Resource; } namespace lis0lisfmwrk { class Lis0ResourceImpl; } namespace lis0lisfmwrk { class Lis0ResourceDelegate; } namespace lis0lisfmwrk { class Lis0ResourceDispatch; } namespace lis0lisfmwrk { class Lis0ResourceGenImpl; } namespace Teamcenter { class RootObjectImpl; } class LIS0LISFMWRK_API lis0lisfmwrk::Lis0Resource : public ::Teamcenter::POM_object { public: /** * Get the Interface Name * @return - return desc for getInterfaceName */ static const std::string& getInterfaceName(); /// /// Getter for a Tag Property /// @version Teamcenter 10.1.4 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getLis0createRelease( tag_t &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Teamcenter 10.1.4 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getLis0description( std::string &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Teamcenter 10.1.4 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getLis0name( std::string &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Teamcenter 10.1.4 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getLis0title( std::string &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Teamcenter 10.1.4 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getLis0urlId( std::string &value, bool &isNull ) const; /// /// Setter for a Tag Property /// @version Teamcenter 10.1.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 setLis0createRelease( const tag_t &value, bool isNull=false ); /// /// Setter for a string Property /// @version Teamcenter 10.1.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 setLis0description( const std::string &value, bool isNull=false ); /// /// Setter for a string Property /// @version Teamcenter 10.1.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 setLis0name( const std::string &value, bool isNull=false ); /// /// Setter for a string Property /// @version Teamcenter 10.1.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 setLis0title( const std::string &value, bool isNull=false ); /// /// Setter for a string Property /// @version Teamcenter 10.1.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 setLis0urlId( const std::string &value, bool isNull=false ); /// /// Get the LIs resource obejct based on resource type and url Id /// @version Teamcenter 10.1.4 /// @param resourceType - resource type to find /// @param srcUrlId - resource URL id given the input request URL /// @param srcObjTag - LIs resource object tag as output argument /// @return - it will return failue OR success code /// int lis0GetLISObject( const std::string *resourceType, const std::string *srcUrlId, tag_t *srcObjTag ) const; protected: // Method to initialize virtual void initialize( ::Teamcenter::RootObjectImpl* impl ); /** * Constructor */ Lis0Resource(); /** * Destructor */ virtual ~Lis0Resource(); private: // Getter method for the Implementation Object Lis0ResourceImpl* getLis0ResourceImpl() const; // Setter method for the Implementation Object ::Teamcenter::RootObjectImpl* setLis0ResourceImpl( ::Teamcenter::RootObjectImpl* impl ); // Method to set the delete impl boolean void setDeleteImpl( bool del ); // Pointer to the Implementation object Lis0ResourceImpl* m_lis0resourceImpl; // 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 Lis0Resource - desc for Lis0Resource parameter */ Lis0Resource( const Lis0Resource& ); Lis0Resource& operator=( const Lis0Resource& ); friend class Lis0ResourceDelegate; friend class Lis0ResourceDispatch; friend class Lis0ResourceGenImpl; }; #include #endif // LIS0LISFMWRK__LIS0RESOURCE__HXX