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

#ifndef STOCKMATERIAL__SM0MADEFROMDELEGATE_HXX
#define STOCKMATERIAL__SM0MADEFROMDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <sm0stockmaterial/SM0MadeFrom.hxx>

#include <sm0stockmaterial/libsm0stockmaterial_exports.h>

namespace stockmaterial
{
    class SM0MadeFromDelegate;
}
namespace stockmaterial
{
    class SM0MadeFromImpl;
}
namespace stockmaterial
{
    class SM0MadeFrom;
}
namespace stockmaterial
{
    class SM0MadeFromGenImpl;
}

namespace stockmaterial_alias = ::stockmaterial;


class  SM0STOCKMATERIAL_API stockmaterial_alias::SM0MadeFromDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the SM0MadeFromImpl pointer
    static SM0MadeFromImpl*  createImpl( SM0MadeFrom&  ifObj );

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



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

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


private:
    friend class  ::stockmaterial::SM0MadeFromGenImpl;

};

#include <sm0stockmaterial/libsm0stockmaterial_undef.h>
#endif  //  STOCKMATERIAL__SM0MADEFROMDELEGATE_HXX
