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

#ifndef TEAMCENTER__CFG0CONFIGURATOR__CFG0AVAILABILITYRULEDELEGATE_HXX
#define TEAMCENTER__CFG0CONFIGURATOR__CFG0AVAILABILITYRULEDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <Cfg0configurator/Cfg0AvailabilityRule.hxx>

#include <Cfg0configurator/libcfg0configurator_exports.h>

namespace Teamcenter
{
    namespace Cfg0configurator
    {
        class Cfg0AvailabilityRuleDelegate;
    }
}
namespace Teamcenter
{
    namespace Cfg0configurator
    {
        class Cfg0AvailabilityRuleImpl;
    }
}
namespace Teamcenter
{
    namespace Cfg0configurator
    {
        class Cfg0AvailabilityRule;
    }
}
namespace Teamcenter
{
    namespace Cfg0configurator
    {
        class Cfg0AvailabilityRuleGenImpl;
    }
}

namespace Teamcenter_alias = ::Teamcenter;


class  CFG0CONFIGURATOR_API Teamcenter_alias::Cfg0configurator::Cfg0AvailabilityRuleDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the Cfg0AvailabilityRuleImpl pointer
    static Cfg0AvailabilityRuleImpl*  createImpl( Cfg0AvailabilityRule&  ifObj );

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


    ///
    /// Description for the Finalize Create Input
    /// @version Tc 8
    /// @param creInput - desc for  creInput parameter
    /// @return - Return desc for Initialize for Create
    ///
    int  finalizeCreateInputBase(const Cfg0AvailabilityRule &ifObj,  ::Teamcenter::CreateInput *creInput );



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

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


private:
    friend class  ::Teamcenter::Cfg0configurator::Cfg0AvailabilityRuleGenImpl;

};

#include <Cfg0configurator/libcfg0configurator_undef.h>
#endif  //  TEAMCENTER__CFG0CONFIGURATOR__CFG0AVAILABILITYRULEDELEGATE_HXX
