//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_IssueApprover
    Filename:   C2_IssueApprover.hxx
    Module:     CPA0capadatamodel
    @BMIDE autogenerated
==================================================================================================*/

#ifndef CPA0CAPADATAMODEL__C2_ISSUEAPPROVER__HXX
#define CPA0CAPADATAMODEL__C2_ISSUEAPPROVER__HXX

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

#include <CPA0capadatamodel/libcpa0capadatamodel_exports.h>

namespace cpa0capadatamodel
{
    class C2_IssueApprover;
}
namespace cpa0capadatamodel
{
    class C2_IssueApproverImpl;
}
namespace cpa0capadatamodel
{
    class C2_IssueApproverDelegate;
}
namespace cpa0capadatamodel
{
    class C2_IssueApproverDispatch;
}
namespace cpa0capadatamodel
{
    class C2_IssueApproverGenImpl;
}
namespace Teamcenter
{
    class RootObjectImpl;
}

class  CPA0CAPADATAMODEL_API  cpa0capadatamodel::C2_IssueApprover
     : 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_IssueApprover();

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

private:
    //  Getter method for the Implementation Object
    C2_IssueApproverImpl*  getC2_IssueApproverImpl() const;
    //  Setter method for the Implementation Object
    ::Teamcenter::RootObjectImpl*  setC2_IssueApproverImpl( ::Teamcenter::RootObjectImpl*  impl );

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

    // Pointer to the Implementation object
    C2_IssueApproverImpl*  m_c2_issueapproverImpl;

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

    friend class  C2_IssueApproverDelegate;
    friend class  C2_IssueApproverDispatch;
    friend class  C2_IssueApproverGenImpl;
};

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