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

#ifndef TEAMCENTER__FND0BRANCHTOBRANCHRELATIONDELEGATE_HXX
#define TEAMCENTER__FND0BRANCHTOBRANCHRELATIONDELEGATE_HXX

#include <common/tc_deprecation_macros.h>
#include <cfm/Fnd0BranchToBranchRelation.hxx>

#include <cfm/libcfm_exports.h>

namespace Teamcenter
{
    class Fnd0BranchToBranchRelationDelegate;
}
namespace Teamcenter
{
    class Fnd0BranchToBranchRelationImpl;
}
namespace Teamcenter
{
    class Fnd0BranchToBranchRelation;
}
namespace Teamcenter
{
    class Fnd0BranchToBranchRelationGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the Fnd0BranchToBranchRelationImpl pointer
    static Fnd0BranchToBranchRelationImpl*  createImpl( Fnd0BranchToBranchRelation&  ifObj );

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


    ///
    /// 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 Fnd0BranchToBranchRelation &ifObj,  ::Teamcenter::CreateInput *creInput );


    ///
    /// Setter for a Date Property
    /// @version Teamcenter 11.1
    /// @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  setFnd0EndDateBase(Fnd0BranchToBranchRelation &ifObj,  const date_t &value, bool isNull );



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

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


private:
    friend class  ::Teamcenter::Fnd0BranchToBranchRelationGenImpl;

};

#include <cfm/libcfm_undef.h>
#endif  //  TEAMCENTER__FND0BRANCHTOBRANCHRELATIONDELEGATE_HXX
