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

#ifndef TEAMCENTER__FND0ABSBRANCHRELATIONDELEGATE_HXX
#define TEAMCENTER__FND0ABSBRANCHRELATIONDELEGATE_HXX

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

#include <cfm/libcfm_exports.h>

namespace Teamcenter
{
    class Fnd0AbsBranchRelationDelegate;
}
namespace Teamcenter
{
    class Fnd0AbsBranchRelationImpl;
}
namespace Teamcenter
{
    class Fnd0AbsBranchRelation;
}
namespace Teamcenter
{
    class Fnd0AbsBranchRelationGenImpl;
}

namespace Teamcenter_alias = ::Teamcenter;


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

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

    //  Method to create the Fnd0AbsBranchRelationImpl pointer
    static Fnd0AbsBranchRelationImpl*  createImpl( Fnd0AbsBranchRelation&  ifObj );

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


    ///
    /// 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(Fnd0AbsBranchRelation &ifObj,  const date_t &value, bool isNull );


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


    ///
    /// desc for setPropertiesFromCreateInpu
    /// @version Tc 8
    /// @param creInput - Description for CreateInput
    /// @return - return desc for setPropertiesFromCreateInput
    ///
    int  setPropertiesFromCreateInputBase(const Fnd0AbsBranchRelation &ifObj,  ::Teamcenter::CreateInput *creInput );



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

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


private:
    friend class  ::Teamcenter::Fnd0AbsBranchRelationGenImpl;

};

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