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

#ifndef TEAMCENTER__FND0IDGENERATIONRULEATTACHDELEGATE_HXX
#define TEAMCENTER__FND0IDGENERATIONRULEATTACHDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <property/Fnd0IdGenerationRuleAttach.hxx>

#include <property/libproperty_exports.h>

namespace Teamcenter
{
    class Fnd0IdGenerationRuleAttachDelegate;
}
namespace Teamcenter
{
    class Fnd0IdGenerationRuleAttachImpl;
}
namespace Teamcenter
{
    class Fnd0IdGenerationRuleAttach;
}
namespace Teamcenter
{
    class Fnd0IdGenerationRuleAttachGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the Fnd0IdGenerationRuleAttachImpl pointer
    static Fnd0IdGenerationRuleAttachImpl*  createImpl( Fnd0IdGenerationRuleAttach&  ifObj );

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


    ///
    /// Find method
    /// @version Teamcenter 11.1
    /// @param typeName - Name of TcType
    /// @param propertyName - Property Name
    /// @param idGenerationRule - Id Generation Rule Tag
    /// @return - Returns status as integer
    ///
    int  fnd0findBase(const Fnd0IdGenerationRuleAttach &ifObj,  const char *typeName, const char *propertyName, tag_t *idGenerationRule );



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

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


private:
    friend class  ::Teamcenter::Fnd0IdGenerationRuleAttachGenImpl;

};

#include <property/libproperty_undef.h>
#endif  //  TEAMCENTER__FND0IDGENERATIONRULEATTACHDELEGATE_HXX
