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

#ifndef TEAMCENTER__CONTMGMTBASE__DC_PUBTYPEDELEGATE_HXX
#define TEAMCENTER__CONTMGMTBASE__DC_PUBTYPEDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <contmgmtbase/DC_PubType.hxx>

#include <contmgmtbase/libcontmgmtbase_exports.h>

namespace Teamcenter
{
    namespace contmgmtbase
    {
        class DC_PubTypeDelegate;
    }
}
namespace Teamcenter
{
    namespace contmgmtbase
    {
        class DC_PubTypeImpl;
    }
}
namespace Teamcenter
{
    namespace contmgmtbase
    {
        class DC_PubType;
    }
}
namespace Teamcenter
{
    namespace contmgmtbase
    {
        class DC_PubTypeGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


class  CONTMGMTBASE_API Teamcenter_alias::contmgmtbase::DC_PubTypeDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the DC_PubTypeImpl pointer
    static DC_PubTypeImpl*  createImpl( DC_PubType&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::contmgmtbase::DC_PubTypeGenImpl;

};

#include <contmgmtbase/libcontmgmtbase_undef.h>
#endif  //  TEAMCENTER__CONTMGMTBASE__DC_PUBTYPEDELEGATE_HXX
