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

#ifndef TEAMCENTER__FND0WORKSETLINEDELEGATE_HXX
#define TEAMCENTER__FND0WORKSETLINEDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <rdv/Fnd0WorksetLine.hxx>

#include <rdv/librdv_exports.h>

namespace Teamcenter
{
    class Fnd0WorksetLineDelegate;
}
namespace Teamcenter
{
    class Fnd0WorksetLineImpl;
}
namespace Teamcenter
{
    class Fnd0WorksetLine;
}
namespace Teamcenter
{
    class Fnd0WorksetLineGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the Fnd0WorksetLineImpl pointer
    static Fnd0WorksetLineImpl*  createImpl( Fnd0WorksetLine&  ifObj );

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


    ///
    /// Generates permanent ID/recipe. Every Business Object should implement this operation.
    /// @version Teamcenter 11.1
    /// @param recipe - Permanent ID/recipe
    /// @return - Failure code.
    ///
    int  fnd0GenerateRecipeBase(const Fnd0WorksetLine &ifObj,  std::string *recipe );



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

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


private:
    friend class  ::Teamcenter::Fnd0WorksetLineGenImpl;

};

#include <rdv/librdv_undef.h>
#endif  //  TEAMCENTER__FND0WORKSETLINEDELEGATE_HXX
