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

#ifndef TEAMCENTER__ABSOCCTYPEDELEGATE_HXX
#define TEAMCENTER__ABSOCCTYPEDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <ps/AbsOccType.hxx>

#include <ps/libps_exports.h>

namespace Teamcenter
{
    class AbsOccTypeDelegate;
}
namespace Teamcenter
{
    class AbsOccTypeImpl;
}
namespace Teamcenter
{
    class AbsOccType;
}
namespace Teamcenter
{
    class AbsOccTypeGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the AbsOccTypeImpl pointer
    static AbsOccTypeImpl*  createImpl( AbsOccType&  ifObj );

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



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

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


private:
    friend class  ::Teamcenter::AbsOccTypeGenImpl;

};

#include <ps/libps_undef.h>
#endif  //  TEAMCENTER__ABSOCCTYPEDELEGATE_HXX
