//Copyright 2020 Siemens Digital Industries Software
//==================================================
//Copyright $2020.
//Siemens Product Lifecycle Management Software Inc.
//All Rights Reserved.
//e
//==================================================
//Copyright 2020 Siemens Digital Industries Software

/*==================================================================================================
File description:
    This file contains the declaration for the Business Object, C2_CapaApproverDelegate
    Filename:   C2_CapaApproverDelegate.hxx
    Module:     CPA0capadatamodel
    @BMIDE autogenerated
==================================================================================================*/

#ifndef CAPADATAMODEL__C2_CAPAAPPROVERDELEGATE_HXX
#define CAPADATAMODEL__C2_CAPAAPPROVERDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <CPA0capadatamodel/C2_CapaApprover.hxx>

#include <CPA0capadatamodel/libcpa0capadatamodel_exports.h>

namespace capadatamodel
{
    class C2_CapaApproverDelegate;
}
namespace capadatamodel
{
    class C2_CapaApproverImpl;
}
namespace capadatamodel
{
    class C2_CapaApprover;
}
namespace capadatamodel
{
    class C2_CapaApproverGenImpl;
}

namespace capadatamodel_alias = ::capadatamodel;


class  CPA0CAPADATAMODEL_API capadatamodel_alias::C2_CapaApproverDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the C2_CapaApproverImpl pointer
    static C2_CapaApproverImpl*  createImpl( C2_CapaApprover&  ifObj );

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



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

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


private:
    friend class  ::capadatamodel::C2_CapaApproverGenImpl;

};

#include <CPA0capadatamodel/libcpa0capadatamodel_undef.h>
#endif  //  CAPADATAMODEL__C2_CAPAAPPROVERDELEGATE_HXX
