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

#ifndef CBM0COLORBOMPMM__CBM0COLORRULEDELEGATE_HXX
#define CBM0COLORBOMPMM__CBM0COLORRULEDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <Cbm0colorbompmm/Cbm0ColorRule.hxx>

#include <Cbm0colorbompmm/libcbm0colorbompmm_exports.h>

namespace Cbm0colorbompmm
{
    class Cbm0ColorRuleDelegate;
}
namespace Cbm0colorbompmm
{
    class Cbm0ColorRuleImpl;
}
namespace Cbm0colorbompmm
{
    class Cbm0ColorRule;
}
namespace Cbm0colorbompmm
{
    class Cbm0ColorRuleGenImpl;
}

namespace Cbm0colorbompmm_alias = ::Cbm0colorbompmm;


class  CBM0COLORBOMPMM_API Cbm0colorbompmm_alias::Cbm0ColorRuleDelegate
{
public:
    //  Method to initialize this Class
    static int initializeClass();

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

    //  Method to create the Cbm0ColorRuleImpl pointer
    static Cbm0ColorRuleImpl*  createImpl( Cbm0ColorRule&  ifObj );

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


    ///
    /// Getter for an String Array Property
    /// @version Teamcenter 10.1.6
    /// @param values - Parameter value
    /// @param isNull - Returns true for an array element if the parameter value at that location is null
    /// @return - Status. 0 if successful
    ///
    int  getCbm0LessFinishPartNumbersBase(const Cbm0ColorRule &ifObj,  std::vector< std::string > &values, std::vector< int > &isNull ) const;


    ///
    /// Description for the Finalize Create Input
    /// @version Tc 8
    /// @param creInput - desc for  creInput parameter
    /// @return - Return desc for Initialize for Create
    ///
    int  finalizeCreateInputBase(const Cbm0ColorRule &ifObj,  ::Teamcenter::CreateInput *creInput );



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

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


private:
    friend class  ::Cbm0colorbompmm::Cbm0ColorRuleGenImpl;

};

#include <Cbm0colorbompmm/libcbm0colorbompmm_undef.h>
#endif  //  CBM0COLORBOMPMM__CBM0COLORRULEDELEGATE_HXX
