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

#ifndef TEAMCENTER__BOM0BOMMANAGEMENT__BOM0ABSTRACTPARTSOURCINGDELEGATE_HXX
#define TEAMCENTER__BOM0BOMMANAGEMENT__BOM0ABSTRACTPARTSOURCINGDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <Bom0plantbommgmt/Bom0AbstractPartSourcing.hxx>

#include <Bom0plantbommgmt/libbom0plantbommgmt_exports.h>

namespace Teamcenter
{
    namespace Bom0bommanagement
    {
        class Bom0AbstractPartSourcingDelegate;
    }
}
namespace Teamcenter
{
    namespace Bom0bommanagement
    {
        class Bom0AbstractPartSourcingImpl;
    }
}
namespace Teamcenter
{
    namespace Bom0bommanagement
    {
        class Bom0AbstractPartSourcing;
    }
}
namespace Teamcenter
{
    namespace Bom0bommanagement
    {
        class Bom0AbstractPartSourcingGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


class  BOM0PLANTBOMMGMT_API Teamcenter_alias::Bom0bommanagement::Bom0AbstractPartSourcingDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the Bom0AbstractPartSourcingImpl pointer
    static Bom0AbstractPartSourcingImpl*  createImpl( Bom0AbstractPartSourcing&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::Bom0bommanagement::Bom0AbstractPartSourcingGenImpl;

};

#include <Bom0plantbommgmt/libbom0plantbommgmt_undef.h>
#endif  //  TEAMCENTER__BOM0BOMMANAGEMENT__BOM0ABSTRACTPARTSOURCINGDELEGATE_HXX
