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

#ifndef CM0__TEAMCENTER__CM__ITEMREVISIONDISPATCH_HXX
#define CM0__TEAMCENTER__CM__ITEMREVISIONDISPATCH_HXX

#include <vector>
#include <cm/ItemRevisionExt.hxx>
#include <cm/ItemRevisionDelegateExt.hxx>
#include <cmdispatch/initializecm.hxx>
#include <extensionframework/OperationDispatcher.hxx>
#include <metaframework/OperationObjectBatch.hxx>
#include <metaframework/PostActionInternalHandler.hxx>
#include <metaframework/ManageBulkData.hxx>

#include <cmdispatch/libcmdispatch_exports.h>

namespace cm0
{
    namespace Teamcenter
    {
        namespace CM
        {
            class ItemRevisionDispatch;
        }
    }
}
namespace cm0
{
    namespace Teamcenter
    {
        namespace CM
        {
            class ItemRevisionDelegate;
        }
    }
}
namespace Teamcenter
{
    class BusinessObjectImpl;
}

class  CMDISPATCH_API  cm0::Teamcenter::CM::ItemRevisionDispatch
    : public  cm0::Teamcenter::CM::ItemRevisionDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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


private:
    //  Pointer to the dispatch instance
    static ItemRevisionDispatch*  m_dispatch;

    //  Default Constructor
    ItemRevisionDispatch();

    //  Default Destructor
    virtual ~ItemRevisionDispatch();

    //  Constructor Method
    static ::Teamcenter::BusinessObjectExtender*  constructor( tag_t objTag );

    //  Copy Constructor for a ItemRevisionDispatch
    ItemRevisionDispatch( const ItemRevisionDispatch& );

    //  Assignment operator
    ItemRevisionDispatch&  operator = ( const ItemRevisionDispatch& );

    //  friend
    friend void   ::Teamcenter::CM::initializecmInternal();
    friend void   ::Teamcenter::CM::initializecmExtenders();
    friend class  cm0::Teamcenter::CM::ItemRevisionDelegate;
};

#include <cmdispatch/libcmdispatch_undef.h>
#endif  //  CM0__TEAMCENTER__CM__ITEMREVISIONDISPATCH_HXX
