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

#ifndef TEAMCENTER__CMHASSOLUTIONITEMDELEGATE_HXX
#define TEAMCENTER__CMHASSOLUTIONITEMDELEGATE_HXX

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

#include <cm/libcm_exports.h>

namespace Teamcenter
{
    class CMHasSolutionItemDelegate;
}
namespace Teamcenter
{
    class CMHasSolutionItemImpl;
}
namespace Teamcenter
{
    class CMHasSolutionItem;
}
namespace Teamcenter
{
    class CMHasSolutionItemGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the CMHasSolutionItemImpl pointer
    static CMHasSolutionItemImpl*  createImpl( CMHasSolutionItem&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::CMHasSolutionItemGenImpl;

};

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