Class GroupsUtils
java.lang.Object
de.uni_halle.informatik.biodata.mp.util.ext.groups.GroupsUtils
A collection of helpful functions for dealing with SBML data structures.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Key to link fromReaction
directly toMember
s referencing that reaction. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Field Details
-
SUBSYSTEM_LINK
Key to link fromReaction
directly toMember
s referencing that reaction.- See Also:
-
-
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.
-