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

#ifndef TEAMCENTER__CMHASIMPACTEDITEMDELEGATE_HXX
#define TEAMCENTER__CMHASIMPACTEDITEMDELEGATE_HXX

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

#include <cm/libcm_exports.h>

namespace Teamcenter
{
    class CMHasImpactedItemDelegate;
}
namespace Teamcenter
{
    class CMHasImpactedItemImpl;
}
namespace Teamcenter
{
    class CMHasImpactedItem;
}
namespace Teamcenter
{
    class CMHasImpactedItemGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the CMHasImpactedItemImpl pointer
    static CMHasImpactedItemImpl*  createImpl( CMHasImpactedItem&  ifObj );

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


    ///
    /// Setter for a string Property
    /// @version Teamcenter 10.1
    /// @param value - Value to be set for the parameter
    /// @param isNull - If true, set the parameter value to null
    /// @return - Status. 0 if successful
    ///
    int  setCm0IncorporationStatusBase(CMHasImpactedItem &ifObj,  const std::string &value, bool isNull );


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



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

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


private:
    friend class  ::Teamcenter::CMHasImpactedItemGenImpl;

};

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