//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, Lot Filename: Lot.hxx Module: mrocore @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__MROCORE__LOT__HXX #define TEAMCENTER__MROCORE__LOT__HXX #include #include #include #include #include namespace Teamcenter { namespace mrocore { class Lot; } } namespace Teamcenter { namespace mrocore { class LotImpl; } } namespace Teamcenter { namespace mrocore { class LotDelegate; } } namespace Teamcenter { namespace mrocore { class LotDispatch; } } namespace Teamcenter { namespace mrocore { class LotGenImpl; } } namespace Teamcenter { class RootObjectImpl; } class MROCORE_API Teamcenter::mrocore::Lot : public ::Teamcenter::WorkspaceObject { public: /** * Get the Interface Name * @return - return desc for getInterfaceName */ static const std::string& getInterfaceName(); /// /// Getter for a Tag Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getDesignItemTag( tag_t &value, bool &isNull ) const; /// /// Getter for a Date Property /// @version Tc 8 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getExpirationDate( date_t &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 getLotNumber( std::string &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 getLotSize( int &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 getLotUsage( 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 getManufacturerOrgId( std::string &value, bool &isNull ) const; /// /// Setter for a Tag 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 setDesignItemTag( const tag_t &value, bool isNull=false ); /// /// Setter for a Date 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 setExpirationDate( const date_t &value, bool isNull=false ); /// /// 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 setLotNumber( const std::string &value, bool isNull=false ); /// /// 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 setLotSize( int value, bool isNull=false ); /// /// 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 setLotUsage( int value, bool isNull=false ); /// /// 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 setManufacturerOrgId( const std::string &value, bool isNull=false ); protected: // Method to initialize virtual void initialize( ::Teamcenter::RootObjectImpl* impl ); /** * Constructor */ Lot(); /** * Destructor */ virtual ~Lot(); private: // Getter method for the Implementation Object LotImpl* getLotImpl() const; // Setter method for the Implementation Object ::Teamcenter::RootObjectImpl* setLotImpl( ::Teamcenter::RootObjectImpl* impl ); // Method to set the delete impl boolean void setDeleteImpl( bool del ); // Pointer to the Implementation object LotImpl* m_lotImpl; // 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 Lot - desc for Lot parameter */ Lot( const Lot& ); Lot& operator=( const Lot& ); friend class LotDelegate; friend class LotDispatch; friend class LotGenImpl; }; #include #endif // TEAMCENTER__MROCORE__LOT__HXX