Class EventWrapper
java.lang.Object
org.biopax.paxtools.query.model.AbstractNode
org.biopax.paxtools.query.wrapperL3undirected.EventWrapper
- All Implemented Interfaces:
GraphObject,Node
- Direct Known Subclasses:
InteractionWrapper
This is the parent wrapper class for both Conversion and TemplateReaction objects.
- Author:
- Ozgun Babur
-
Field Summary
Fields inherited from class org.biopax.paxtools.query.model.AbstractNode
banned, downstream, downstreamInited, graph, lowerEquivalent, pathSign, upperEquivalent, upstream, upstreamInited -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEventWrapper(GraphL3Undirected graph) Constructor with the owner graph. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddToDownstream(PhysicalEntity pe, Graph graph) Bind the wrapper of the given PhysicalEntity to the downstream.protected voidaddToUpstream(BioPAXElement ele, Graph graph) Bind the wrapper of the given element to the upstream.Events do not have equivalent objects.intgetSign()Events have a positive sign.Events do not have equivalent objects.booleanEvents are not breadth nodes.abstract booleanSay if the event is a transcription.booleanisUbique()Events are not ubiquitous molecules.Methods inherited from class org.biopax.paxtools.query.model.AbstractNode
clear, getBanned, getDownstream, getDownstreamNoInit, getGraph, getPathSign, getUpstream, getUpstreamNoInit, init, initBanned, initDownstream, initUpstream, setBanned, setPathSignMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.biopax.paxtools.query.model.GraphObject
getKey
-
Constructor Details
-
EventWrapper
Constructor with the owner graph.- Parameters:
graph- Owner graph
-
-
Method Details
-
isBreadthNode
public boolean isBreadthNode()Events are not breadth nodes.- Returns:
- False
-
getSign
public int getSign()Events have a positive sign.- Returns:
- POSITIVE (1)
-
isUbique
public boolean isUbique()Events are not ubiquitous molecules.- Returns:
- False
-
isTranscription
public abstract boolean isTranscription()Say if the event is a transcription.- Specified by:
isTranscriptionin interfaceNode- Overrides:
isTranscriptionin classAbstractNode- Returns:
- Whether the event is a transcription
-
addToUpstream
Bind the wrapper of the given element to the upstream.- Parameters:
ele- Element to bindgraph- Owner graph.
-
addToDownstream
Bind the wrapper of the given PhysicalEntity to the downstream.- Parameters:
pe- PhysicalEntity to bindgraph- Owner graph.
-
getUpperEquivalent
Events do not have equivalent objects.- Specified by:
getUpperEquivalentin interfaceNode- Overrides:
getUpperEquivalentin classAbstractNode- Returns:
- Empty set
-
getLowerEquivalent
Events do not have equivalent objects.- Specified by:
getLowerEquivalentin interfaceNode- Overrides:
getLowerEquivalentin classAbstractNode- Returns:
- Empty set
-