java.lang.Object
de.uni_halle.informatik.biodata.mp.util.ext.groups.GroupsUtils

public class GroupsUtils extends Object
A collection of helpful functions for dealing with SBML data structures.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Key to link from Reaction directly to Members referencing that reaction.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    createSubsystemLink(org.sbml.jsbml.Reaction r, org.sbml.jsbml.ext.groups.Member member)
    Establishes a link between a reaction and a subsystem member by setting the member's reference to the reaction.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • GroupsUtils

      public GroupsUtils()
  • Method Details

    • createSubsystemLink

      public static void createSubsystemLink(org.sbml.jsbml.Reaction r, org.sbml.jsbml.ext.groups.Member member)
      Establishes a link between a reaction and a subsystem member by setting the member's reference to the reaction. Additionally, it ensures that the reaction maintains a set of all members linked to it. If the set does not exist, it is created and the member is added to it.
      Parameters:
      r - The reaction object to which the member should be linked.
      member - The subsystem member that should be linked to the reaction.