//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, AsMaintainedBOMLine
    Filename:   AsMaintainedBOMLineExt.hxx
    Module:     sspspralignment
    @BMIDE autogenerated
==================================================================================================*/

#ifndef SPI0__SSPSPRALIGNMENT__ASMAINTAINEDBOMLINE__HXX
#define SPI0__SSPSPRALIGNMENT__ASMAINTAINEDBOMLINE__HXX

#include <common/tc_deprecation_macros.h>
#include <metaframework/BusinessObjectExtender.hxx>
#include <metaframework/BusinessObjectExtenderRef.hxx>
#include <metaframework/BusinessObjectExtenderRegistry.hxx>

#include <sspspralignment/libsspspralignment_exports.h>

namespace spi0
{
    namespace sspspralignment
    {
        class AsMaintainedBOMLine;
    }
}
namespace spi0
{
    namespace sspspralignment
    {
        class AsMaintainedBOMLineImpl;
    }
}
namespace spi0
{
    namespace sspspralignment
    {
        class AsMaintainedBOMLineDelegate;
    }
}
namespace spi0
{
    namespace sspspralignment
    {
        class AsMaintainedBOMLineDispatch;
    }
}
namespace spi0
{
    namespace sspspralignment
    {
        class AsMaintainedBOMLineGenImpl;
    }
}
namespace Teamcenter
{
    class RootObjectImpl;
}

class  SSPSPRALIGNMENT_API  spi0::sspspralignment::AsMaintainedBOMLine
     : public  ::Teamcenter::BusinessObjectExtender
{
public:

    /**
     * Constructor
     */
    AsMaintainedBOMLine( tag_t  objTag );
    /**
     * Get the Extender Registry
     * @return - return Extender Registry
     */
    static ::Teamcenter::BusinessObjectExtenderRegistry< spi0::sspspralignment::AsMaintainedBOMLine >&  extenderRegistry();

    /**
     * Get the Extender Interface Name
     * @return - return desc for getExtenderInterfaceName
     */
    static const std::string&  getExtenderInterfaceName();


    ///
    /// Getter for a Double Property
    /// @version Teamcenter 13.1
    /// @param value - Parameter Value
    /// @param isNull - Returns true if the Parameter value is null
    /// @return - Status. 0 if successful
    ///
    int  getSpi0LifeValue( double &value, bool &isNull ) const;
protected:
    //  Method to initialize
    virtual void initialize( ::Teamcenter::RootObjectImpl*  impl );


    /**
     * Destructor
     */
    virtual ~AsMaintainedBOMLine();

private:
    //  Getter method for the Implementation Object
    AsMaintainedBOMLineImpl*  getAsMaintainedBOMLineImpl() const;
    //  Setter method for the Implementation Object
    ::Teamcenter::RootObjectImpl*  setAsMaintainedBOMLineImpl( ::Teamcenter::RootObjectImpl*  impl );

    //  Method to set the delete impl boolean
    void setDeleteImpl( bool  del );

    // Pointer to the Implementation object
    AsMaintainedBOMLineImpl*  m_asmaintainedbomlineImpl;

    //  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 AsMaintainedBOMLine - desc for AsMaintainedBOMLine parameter
     */
    AsMaintainedBOMLine( const AsMaintainedBOMLine& );
    AsMaintainedBOMLine& operator=( const AsMaintainedBOMLine& );

    friend class  AsMaintainedBOMLineDelegate;
    friend class  AsMaintainedBOMLineDispatch;
    friend class  AsMaintainedBOMLineGenImpl;
};

#include <sspspralignment/libsspspralignment_undef.h>
#endif //   SPI0__SSPSPRALIGNMENT__ASMAINTAINEDBOMLINE__HXX
