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

#ifndef TEAMCENTER__CMHASPROBLEMITEMDELEGATE_HXX
#define TEAMCENTER__CMHASPROBLEMITEMDELEGATE_HXX

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

#include <cm/libcm_exports.h>

namespace Teamcenter
{
    class CMHasProblemItemDelegate;
}
namespace Teamcenter
{
    class CMHasProblemItemImpl;
}
namespace Teamcenter
{
    class CMHasProblemItem;
}
namespace Teamcenter
{
    class CMHasProblemItemGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the CMHasProblemItemImpl pointer
    static CMHasProblemItemImpl*  createImpl( CMHasProblemItem&  ifObj );

    //  Method to delete the CMHasProblemItemImpl pointer
    static void deleteImpl( CMHasProblemItemImpl*  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 CMHasProblemItem &ifObj,  ::Teamcenter::CreateInput *creInput );



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

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


private:
    friend class  ::Teamcenter::CMHasProblemItemGenImpl;

};

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