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

#ifndef TEAMCENTER__CMHASWORKBREAKDOWNDELEGATE_HXX
#define TEAMCENTER__CMHASWORKBREAKDOWNDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <cm/CMHasWorkBreakdown.hxx>

#include <cm/libcm_exports.h>

namespace Teamcenter
{
    class CMHasWorkBreakdownDelegate;
}
namespace Teamcenter
{
    class CMHasWorkBreakdownImpl;
}
namespace Teamcenter
{
    class CMHasWorkBreakdown;
}
namespace Teamcenter
{
    class CMHasWorkBreakdownGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


class  CM_API Teamcenter_alias::CMHasWorkBreakdownDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the CMHasWorkBreakdownImpl pointer
    static CMHasWorkBreakdownImpl*  createImpl( CMHasWorkBreakdown&  ifObj );

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


    ///
    /// desc for validate for create
    /// @version Tc 8
    /// @param creInput - desc for creInput parameter
    /// @return - ret desc for validate for create
    ///
    int  validateCreateInputBase(const CMHasWorkBreakdown &ifObj,  ::Teamcenter::CreateInput *creInput );



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

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


private:
    friend class  ::Teamcenter::CMHasWorkBreakdownGenImpl;

};

#include <cm/libcm_undef.h>
#endif  //  TEAMCENTER__CMHASWORKBREAKDOWNDELEGATE_HXX
