Class HelperClass
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 Summary
Constructors Constructor Description HelperClass()
-
Method Summary
Modifier and Type Method Description static void
returnAttributeByPath(GraphElement elem, Pattern pattern, ArrayList<Attribute> set)
finds Attributes in GraphElementsstatic 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
-
Constructor Details
-
HelperClass
public HelperClass()
-
-
Method Details
-
returnAttributeByPath
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 readpattern
- Attribute that is looked forset
- gets filled if Attribute was found
-