//FIXME : Create function that create prop with this reaction /*! * \brief This function create a new Allostery reaction from an AllosteryProperties * \param props Properties of the reaction * \return This function return a new Allostery reaction or null if props is null */ public static IReaction buildAllosteryFromProps(AllosteryProperties props) { if (props == null) { return(null); } Allostery reaction = new Allostery(); reaction.setName(props.name); reaction.setEffector(props.effector); reaction.setK(props.K); reaction.setN(props.n); reaction.setProtein(props.protein); reaction.setProduct(props.product); reaction.setEnergyCost(props.energyCost); return(reaction); }
//FIXME : Create function that create prop with this reaction /*! \brief This function create a new Allostery reaction from an AllosteryProperties \param props Properties of the reaction \return This function return a new Allostery reaction or null if props is null */ public static IReaction buildAllosteryFromProps(AllosteryProperties props) { if (props == null) return null; Allostery reaction = new Allostery(); reaction.setName(props.name); reaction.setEffector(props.effector); reaction.setK(props.K); reaction.setN(props.n); reaction.setProtein(props.protein); reaction.setProduct(props.product); reaction.setEnergyCost(props.energyCost); return reaction; }