//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, TimeSheetEntry Filename: TimeSheetEntry.hxx Module: schmgt @BMIDE autogenerated ==================================================================================================*/ #ifndef TEAMCENTER__TIMESHEETENTRY__HXX #define TEAMCENTER__TIMESHEETENTRY__HXX #include #include #include #include #include namespace Teamcenter { class TimeSheetEntry; } namespace Teamcenter { class TimeSheetEntryImpl; } namespace Teamcenter { class TimeSheetEntryDelegate; } namespace Teamcenter { class TimeSheetEntryDispatch; } namespace Teamcenter { class TimeSheetEntryGenImpl; } namespace Teamcenter { class RootObjectImpl; } class SCHMGT_API Teamcenter::TimeSheetEntry : public ::Teamcenter::WorkspaceObject { public: /** * Get the Interface Name * @return - return desc for getInterfaceName */ static const std::string& getInterfaceName(); /// /// 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 getBill_code( 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 getBill_sub_code( 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 getBill_type( std::string &value, bool &isNull ) const; /// /// 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 getBillrate_tag( 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 getDate( date_t &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 getMinutes( int &value, bool &isNull ) const; /// /// 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 getScheduletask_tag( tag_t &value, bool &isNull ) const; /// /// Getter for a string Property /// @version Teamcenter 8.1 /// @param value - Parameter value /// @param isNull - Returns true if the Parameter value is null /// @return - Status. 0 if successful /// int getTime_category( std::string &value, bool &isNull ) const; /// /// 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 getUser_tag( tag_t &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 setBill_code( const std::string &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 setBill_sub_code( const std::string &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 setBill_type( const std::string &value, bool isNull=false ); /// /// 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 setBillrate_tag( 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 setDate( const date_t &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 setMinutes( int value, bool isNull=false ); /// /// 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 setScheduletask_tag( const tag_t &value, bool isNull=false ); /// /// Setter for a string Property /// @version Teamcenter 8.1 /// @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 setTime_category( const std::string &value, bool isNull=false ); /// /// 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 setUser_tag( const tag_t &value, bool isNull=false ); protected: // Method to initialize virtual void initialize( ::Teamcenter::RootObjectImpl* impl ); /** * Constructor */ TimeSheetEntry(); /** * Destructor */ virtual ~TimeSheetEntry(); private: // Getter method for the Implementation Object TimeSheetEntryImpl* getTimeSheetEntryImpl() const; // Setter method for the Implementation Object ::Teamcenter::RootObjectImpl* setTimeSheetEntryImpl( ::Teamcenter::RootObjectImpl* impl ); // Method to set the delete impl boolean void setDeleteImpl( bool del ); // Pointer to the Implementation object TimeSheetEntryImpl* m_timesheetentryImpl; // 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 TimeSheetEntry - desc for TimeSheetEntry parameter */ TimeSheetEntry( const TimeSheetEntry& ); TimeSheetEntry& operator=( const TimeSheetEntry& ); friend class TimeSheetEntryDelegate; friend class TimeSheetEntryDispatch; friend class TimeSheetEntryGenImpl; }; #include #endif // TEAMCENTER__TIMESHEETENTRY__HXX