java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.biopax.HelperClass
Direct Known Subclasses:
BioPAX_OWL_Writer, BPinteraction, BPInteraction, PathWayHandler, PathWayHandler, PathWayLoaderLvL2, PathWayLoaderLvL3, StoichiometryWriter, StoichiometryWriter, UtilityClassSelectorFromGraph, UtilitySuperClassFromGraph, UtilitySuperClassToGraph, UtilitySuperClassToGraph

public class HelperClass
extends Object
Helps to set and get Attributes on Nodes and Edges. It can work with single attributes, list of attributes and lists of list-attributes.
Author:
ricardo
  • Constructor Details

    • HelperClass

      public HelperClass()
  • Method Details

    • returnAttributeByPath

      public static void returnAttributeByPath​(Graph elem, Pattern pattern, ArrayList<Attribute> set)
      written by Hendrik Mehlhorn it is looking for all attributes that match a specific pattern and putting the result into the set passed into the function
      Parameters:
      elem -
      pattern -
      set -
    • returnAttributeByPath

      public static void returnAttributeByPath​(GraphElement elem, Pattern pattern, ArrayList<Attribute> set)
      finds Attributes in GraphElements
      Parameters:
      elem - GraphElement to be read
      pattern - Attribute that is looked for
      set - gets filled if Attribute was found