//Copyright 2020 Siemens Digital Industries Software
//==================================================
//Copyright $2020.
//Siemens Product Lifecycle Management Software Inc.
//All Rights Reserved.
//e
//==================================================
//Copyright 2020 Siemens Digital Industries Software

/*==================================================================================================
File description:
    This file contains the declaration for the Business Object, C2_CapaApprover
    Filename:   C2_CapaApprover.hxx
    Module:     CPA0capadatamodel
    @BMIDE autogenerated
==================================================================================================*/

#ifndef CAPADATAMODEL__C2_CAPAAPPROVER__HXX
#define CAPADATAMODEL__C2_CAPAAPPROVER__HXX

#include <common/tc_deprecation_macros.h>
#include <epm/Participant.hxx>

#include <CPA0capadatamodel/libcpa0capadatamodel_exports.h>

namespace capadatamodel
{
    class C2_CapaApprover;
}
namespace capadatamodel
{
    class C2_CapaApproverImpl;
}
namespace capadatamodel
{
    class C2_CapaApproverDelegate;
}
namespace capadatamodel
{
    class C2_CapaApproverDispatch;
}
namespace capadatamodel
{
    class C2_CapaApproverGenImpl;
}
namespace Teamcenter
{
    class RootObjectImpl;
}

class  CPA0CAPADATAMODEL_API  capadatamodel::C2_CapaApprover
     : public  ::Teamcenter::Participant
{
public:

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

protected:
    //  Method to initialize
    virtual void initialize( ::Teamcenter::RootObjectImpl*  impl );

    /**
     * Constructor
     */
    C2_CapaApprover();

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

private:
    //  Getter method for the Implementation Object
    C2_CapaApproverImpl*  getC2_CapaApproverImpl() const;
    //  Setter method for the Implementation Object
    ::Teamcenter::RootObjectImpl*  setC2_CapaApproverImpl( ::Teamcenter::RootObjectImpl*  impl );

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

    // Pointer to the Implementation object
    C2_CapaApproverImpl*  m_c2_capaapproverImpl;

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

    friend class  C2_CapaApproverDelegate;
    friend class  C2_CapaApproverDispatch;
    friend class  C2_CapaApproverGenImpl;
};

#include <CPA0capadatamodel/libcpa0capadatamodel_undef.h>
#endif //   CAPADATAMODEL__C2_CAPAAPPROVER__HXX
