Package org.biopax.paxtools.controller
Class Completer
java.lang.Object
org.biopax.paxtools.controller.Completer
- All Implemented Interfaces:
Visitor
This class is used for getting a valid subgraph from a set of BioPAX elements. For instance, if a
BioPAX graph contains a complex with some members, but the subgraph contains the same complex
without the members, then it is not valid. Similarly, an interaction is only valid with its
participants; however, including its controls is optional.
- Author:
- Ozgun Babur
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomplete(Collection<BioPAXElement> elements) complete(Collection<BioPAXElement> elements, Model model) Deprecated.booleanvoidsetSkipSubPathways(boolean skipSubPathways) Use this property to optionally skip (if true) traversing into sub-pathways; i.e., when the value of BioPAX property 'pathwayComponent' or 'controlled' is a pathway.voidvisit(BioPAXElement domain, Object range, Model model, PropertyEditor editor) An implementation of this method should perform a BioPAX element and editor dependent operation on the model.
-
Field Details
-
traverser
-
-
Constructor Details
-
Completer
-
-
Method Details
-
complete
Deprecated.usecomplete(Collection)instead (- model is never explicitly used there)- Parameters:
elements-model-- Returns:
-
complete
-
visit
Description copied from interface:VisitorAn implementation of this method should perform a BioPAX element and editor dependent operation on the model. Examples of uses of this method include adding a BioPAX element--with all its dependent elements that can be reached via the editor--into the model, or updating an element that is equivalent to the given BioPAX element using the latter's/former's values. -
setSkipSubPathways
public void setSkipSubPathways(boolean skipSubPathways) Use this property to optionally skip (if true) traversing into sub-pathways; i.e., when the value of BioPAX property 'pathwayComponent' or 'controlled' is a pathway.- Parameters:
skipSubPathways- true/false (default is 'true' - do skip)
-
isSkipSubPathways
public boolean isSkipSubPathways()
-
complete(Collection)instead (- model is never explicitly used there)