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

#ifndef TEAMCENTER__CONTMGMTBASE__DC_ADMINDELEGATE_HXX
#define TEAMCENTER__CONTMGMTBASE__DC_ADMINDELEGATE_HXX

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

#include <contmgmtbase/libcontmgmtbase_exports.h>

namespace Teamcenter
{
    namespace contmgmtbase
    {
        class DC_AdminDelegate;
    }
}
namespace Teamcenter
{
    namespace contmgmtbase
    {
        class DC_AdminImpl;
    }
}
namespace Teamcenter
{
    namespace contmgmtbase
    {
        class DC_Admin;
    }
}
namespace Teamcenter
{
    namespace contmgmtbase
    {
        class DC_AdminGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the DC_AdminImpl pointer
    static DC_AdminImpl*  createImpl( DC_Admin&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::contmgmtbase::DC_AdminGenImpl;

};

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