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

#ifndef CAPADATAMODEL__CPA0PREVENTIVEACTIONDELEGATE_HXX
#define CAPADATAMODEL__CPA0PREVENTIVEACTIONDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <CPA0capadatamodel/CPA0PreventiveAction.hxx>

#include <CPA0capadatamodel/libcpa0capadatamodel_exports.h>

namespace capadatamodel
{
    class CPA0PreventiveActionDelegate;
}
namespace capadatamodel
{
    class CPA0PreventiveActionImpl;
}
namespace capadatamodel
{
    class CPA0PreventiveAction;
}
namespace capadatamodel
{
    class CPA0PreventiveActionGenImpl;
}

namespace capadatamodel_alias = ::capadatamodel;


class  CPA0CAPADATAMODEL_API capadatamodel_alias::CPA0PreventiveActionDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

    //  Method to get the CPA0PreventiveActionDelegate instance
    static CPA0PreventiveActionDelegate&  getInstance();

    //  Method to create the CPA0PreventiveActionImpl pointer
    static CPA0PreventiveActionImpl*  createImpl( CPA0PreventiveAction&  ifObj );

    //  Method to delete the CPA0PreventiveActionImpl pointer
    static void deleteImpl( CPA0PreventiveActionImpl*  impl );



protected:
    //  Pointer to the instance
    static CPA0PreventiveActionDelegate*  m_pInstance;

    CPA0PreventiveActionDelegate();
    virtual ~CPA0PreventiveActionDelegate();
    static void setInstance( CPA0PreventiveActionDelegate*  instance );


private:
    friend class  ::capadatamodel::CPA0PreventiveActionGenImpl;

};

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