//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, CPArtworkRevisionDelegate Filename: CPArtworkRevisionDelegate.hxx Module: pkgart @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__PKGART__CPARTWORKREVISIONDELEGATE_HXX #define TEAMCENTER__PKGART__CPARTWORKREVISIONDELEGATE_HXX #include #include #include namespace Teamcenter { namespace PKGART { class CPArtworkRevisionDelegate; } } namespace Teamcenter { namespace PKGART { class CPArtworkRevisionImpl; } } namespace Teamcenter { namespace PKGART { class CPArtworkRevision; } } namespace Teamcenter { namespace PKGART { class CPArtworkRevisionGenImpl; } } namespace Teamcenter_alias = ::Teamcenter; class PKGART_API Teamcenter_alias::PKGART::CPArtworkRevisionDelegate { public: // Method to initialize this Class static int initializeClass(); // Method to get the CPArtworkRevisionDelegate instance static CPArtworkRevisionDelegate& getInstance(); // Method to create the CPArtworkRevisionImpl pointer static CPArtworkRevisionImpl* createImpl( CPArtworkRevision& ifObj ); // Method to delete the CPArtworkRevisionImpl pointer static void deleteImpl( CPArtworkRevisionImpl* impl ); /// /// Getter for a string Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getColor_matching_infoBase(const CPArtworkRevision &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for a Double Property /// @version Tc 8 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getCostBase(const CPArtworkRevision &ifObj, double &value, bool &isNull ) const; /// /// Getter for a Tag Array Property /// @version Teamcenter 8.1 /// @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 getCP_package_itemsBase(const CPArtworkRevision &ifObj, std::vector< tag_t > &values, std::vector< int > &isNull ) const; /// /// Getter for a string Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getCurrencyBase(const CPArtworkRevision &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getDesign_agencyBase(const CPArtworkRevision &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for a Boolean Property /// @version Tc 8 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getIs_lead_artworkBase(const CPArtworkRevision &ifObj, bool &value, bool &isNull ) const; /// /// Getter for an Integer Property /// @version Tc 8 /// @param value - Parameter Value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getNo_of_colorsBase(const CPArtworkRevision &ifObj, int &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getPrint_agencyBase(const CPArtworkRevision &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getProduction_processBase(const CPArtworkRevision &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getSpecial_print_featureBase(const CPArtworkRevision &ifObj, std::string &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getType_of_inkBase(const CPArtworkRevision &ifObj, std::string &value, bool &isNull ) const; /// /// Setter for a string Property /// @version Tc 8 /// @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 setColor_matching_infoBase(CPArtworkRevision &ifObj, const std::string &value, bool isNull ); /// /// Setter for a Double Property /// @version Tc 8 /// @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 setCostBase(CPArtworkRevision &ifObj, double value, bool isNull ); /// /// Setter for a string Property /// @version Tc 8 /// @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 setCurrencyBase(CPArtworkRevision &ifObj, const std::string &value, bool isNull ); /// /// Setter for a string Property /// @version Tc 8 /// @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 setDesign_agencyBase(CPArtworkRevision &ifObj, const std::string &value, bool isNull ); /// /// Setter for a Boolean Property /// @version Tc 8 /// @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 setIs_lead_artworkBase(CPArtworkRevision &ifObj, bool value, bool isNull ); /// /// Setter for an Integer Property /// @version Tc 8 /// @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 setNo_of_colorsBase(CPArtworkRevision &ifObj, int value, bool isNull ); /// /// Setter for a string Property /// @version Tc 8 /// @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 setPrint_agencyBase(CPArtworkRevision &ifObj, const std::string &value, bool isNull ); /// /// Setter for a string Property /// @version Tc 8 /// @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 setProduction_processBase(CPArtworkRevision &ifObj, const std::string &value, bool isNull ); /// /// Setter for a string Property /// @version Tc 8 /// @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 setSpecial_print_featureBase(CPArtworkRevision &ifObj, const std::string &value, bool isNull ); /// /// Setter for a string Property /// @version Tc 8 /// @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 setType_of_inkBase(CPArtworkRevision &ifObj, const std::string &value, bool isNull ); protected: // Pointer to the instance static CPArtworkRevisionDelegate* m_pInstance; CPArtworkRevisionDelegate(); virtual ~CPArtworkRevisionDelegate(); static void setInstance( CPArtworkRevisionDelegate* instance ); private: friend class ::Teamcenter::PKGART::CPArtworkRevisionGenImpl; }; #include #endif // TEAMCENTER__PKGART__CPARTWORKREVISIONDELEGATE_HXX