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

#ifndef PMI__PMI0PMIDEFINITIONRELDELEGATE_HXX
#define PMI__PMI0PMIDEFINITIONRELDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <Pmi0pmi/Pmi0PMIDefinitionRel.hxx>

#include <Pmi0pmi/libpmi0pmi_exports.h>

namespace pmi
{
    class Pmi0PMIDefinitionRelDelegate;
}
namespace pmi
{
    class Pmi0PMIDefinitionRelImpl;
}
namespace pmi
{
    class Pmi0PMIDefinitionRel;
}
namespace pmi
{
    class Pmi0PMIDefinitionRelGenImpl;
}

namespace pmi_alias = ::pmi;


class  PMI0PMI_API pmi_alias::Pmi0PMIDefinitionRelDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the Pmi0PMIDefinitionRelImpl pointer
    static Pmi0PMIDefinitionRelImpl*  createImpl( Pmi0PMIDefinitionRel&  ifObj );

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



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

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


private:
    friend class  ::pmi::Pmi0PMIDefinitionRelGenImpl;

};

#include <Pmi0pmi/libpmi0pmi_undef.h>
#endif  //  PMI__PMI0PMIDEFINITIONRELDELEGATE_HXX
