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

#ifndef CAPADATAMODEL__CPA0CORRECTIVEACTION__HXX
#define CAPADATAMODEL__CPA0CORRECTIVEACTION__HXX

#include <common/tc_deprecation_macros.h>
#include <tccore/ImanRelation.hxx>

#include <CPA0capadatamodel/libcpa0capadatamodel_exports.h>

namespace capadatamodel
{
    class CPA0CorrectiveAction;
}
namespace capadatamodel
{
    class CPA0CorrectiveActionImpl;
}
namespace capadatamodel
{
    class CPA0CorrectiveActionDelegate;
}
namespace capadatamodel
{
    class CPA0CorrectiveActionDispatch;
}
namespace capadatamodel
{
    class CPA0CorrectiveActionGenImpl;
}
namespace Teamcenter
{
    class RootObjectImpl;
}

class  CPA0CAPADATAMODEL_API  capadatamodel::CPA0CorrectiveAction
     : public  ::Teamcenter::ImanRelation
{
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
     */
    CPA0CorrectiveAction();

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

private:
    //  Getter method for the Implementation Object
    CPA0CorrectiveActionImpl*  getCPA0CorrectiveActionImpl() const;
    //  Setter method for the Implementation Object
    ::Teamcenter::RootObjectImpl*  setCPA0CorrectiveActionImpl( ::Teamcenter::RootObjectImpl*  impl );

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

    // Pointer to the Implementation object
    CPA0CorrectiveActionImpl*  m_cpa0correctiveactionImpl;

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

    friend class  CPA0CorrectiveActionDelegate;
    friend class  CPA0CorrectiveActionDispatch;
    friend class  CPA0CorrectiveActionGenImpl;
};

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