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

#ifndef CLR0COLORAPPEARANCE__CLR0APPEARANCEUSAGEDELEGATE_HXX
#define CLR0COLORAPPEARANCE__CLR0APPEARANCEUSAGEDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <Clr0colorappearance/Clr0AppearanceUsage.hxx>

#include <Clr0colorappearance/libclr0colorappearance_exports.h>

namespace Clr0ColorAppearance
{
    class Clr0AppearanceUsageDelegate;
}
namespace Clr0ColorAppearance
{
    class Clr0AppearanceUsageImpl;
}
namespace Clr0ColorAppearance
{
    class Clr0AppearanceUsage;
}
namespace Clr0ColorAppearance
{
    class Clr0AppearanceUsageGenImpl;
}

namespace Clr0ColorAppearance_alias = ::Clr0ColorAppearance;


class  CLR0COLORAPPEARANCE_API Clr0ColorAppearance_alias::Clr0AppearanceUsageDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the Clr0AppearanceUsageImpl pointer
    static Clr0AppearanceUsageImpl*  createImpl( Clr0AppearanceUsage&  ifObj );

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


    ///
    /// Getter for a Tag Property
    /// @version Teamcenter 10.1.3
    /// @param value - Parameter value
    /// @param isNull - Returns true if the Parameter value is null
    /// @return - Status. 0 if successful
    ///
    int  getClr0AppearanceBase(const Clr0AppearanceUsage &ifObj,  tag_t &value, bool &isNull ) const;


    ///
    /// Getter for a Tag Property
    /// @version Teamcenter 10.1.3
    /// @param value - Parameter value
    /// @param isNull - Returns true if the Parameter value is null
    /// @return - Status. 0 if successful
    ///
    int  getClr0AppearanceBlockBase(const Clr0AppearanceUsage &ifObj,  tag_t &value, bool &isNull ) const;


    ///
    /// Getter for a string Property
    /// @version Teamcenter 10.1.3
    /// @param value - Parameter value
    /// @param isNull - Returns true if the Parameter value is null
    /// @return - Status. 0 if successful
    ///
    int  getClr0SurfaceDesignatorBase(const Clr0AppearanceUsage &ifObj,  std::string &value, bool &isNull ) const;


    ///
    /// Setter for a string Property
    /// @version Teamcenter 10.1.3
    /// @param value - Value to be set for the parameter
    /// @param isNull - If true, set the parameter value to null
    /// @return - Status. 0 if successful
    ///
    int  setClr0SurfaceDesignatorBase(Clr0AppearanceUsage &ifObj,  const std::string &value, bool isNull );



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

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


private:
    friend class  ::Clr0ColorAppearance::Clr0AppearanceUsageGenImpl;

};

#include <Clr0colorappearance/libclr0colorappearance_undef.h>
#endif  //  CLR0COLORAPPEARANCE__CLR0APPEARANCEUSAGEDELEGATE_HXX
