Class Reaction
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.kgml.Reaction
public class Reaction extends Object
-
Constructor Summary
Constructors Constructor Description Reaction(String name, ReactionType type, Collection<Entry> substrates, Collection<Entry> products)
Reaction(String name, ReactionType type, Collection<Entry> substrates, Collection<Entry> products, String elementID)
-
Method Summary
-
Constructor Details
-
Reaction
public Reaction(String name, ReactionType type, Collection<Entry> substrates, Collection<Entry> products) -
Reaction
public Reaction(String name, ReactionType type, Collection<Entry> substrates, Collection<Entry> products, String elementID)
-
-
Method Details
-
getId
-
setId
-
getType
-
getSubstrates
-
getProducts
-
getElementID
-
getReactionFromKgmlReactionElement
public static Reaction getReactionFromKgmlReactionElement(org.jdom2.Element reactionElement, Collection<Entry> entryElements, String clusterIdForHiddenCompounds) -
getKgmlReactionElement
public org.jdom2.Element getKgmlReactionElement() -
getEntriesRepresentingThisReaction
-
getDesiredNodeCombinations
public Collection<NodeCombination> getDesiredNodeCombinations(HashMap<Entry,Node> entry2graphNode, Collection<Entry> entryElements, Collection<Relation> relationElements, Collection<NodeCombination> relationNodeCombinations) -
getDistanceSubset
public static Collection<Entry> getDistanceSubset(Collection<Entry> substratesOrProducts, Node b, HashMap<Entry,Node> entry2graphNode) -
toString
-
processEdgeReactionInformation
public static void processEdgeReactionInformation(Edge e, ArrayList<ReactionAndInfo> reactionsRequestingThisNodeCombination, ArrayList<ReactionAndInfo> reactionsRequestingThisInverseNodeCombination) -
getReactionElementsFromGraphEdges
public static Collection<Reaction> getReactionElementsFromGraphEdges(Collection<Entry> entries, Collection<Edge> graphEdges, Collection<Gml2PathwayWarningInformation> warnings, Collection<Gml2PathwayErrorInformation> errors) -
getReactionElementsFromGraphNodes
public static Collection<Reaction> getReactionElementsFromGraphNodes(Collection<Entry> entries, List<Node> graphNodes, Collection<Gml2PathwayWarningInformation> warnings, Collection<Gml2PathwayErrorInformation> errors) -
toStringWithDetails
-
setType
-
setSubstrates
-
setProducts
-
removePossibleEntry
-