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

#ifndef TEAMCENTER__POM_USERDELEGATE_HXX
#define TEAMCENTER__POM_USERDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <sa/POM_user.hxx>

#include <sa/libsa_exports.h>

namespace Teamcenter
{
    class POM_userDelegate;
}
namespace Teamcenter
{
    class POM_userImpl;
}
namespace Teamcenter
{
    class POM_user;
}
namespace Teamcenter
{
    class POM_userGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the POM_userImpl pointer
    static POM_userImpl*  createImpl( POM_user&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::POM_userGenImpl;

};

#include <sa/libsa_undef.h>
#endif  //  TEAMCENTER__POM_USERDELEGATE_HXX
