public class ConversionWrapper extends EventWrapper
Modifier and Type | Field and Description |
---|---|
protected Conversion |
conv
Wrapped Conversion.
|
protected boolean |
direction
The direction that the Conversion is wrapped.
|
static boolean |
LEFT_TO_RIGHT
Direction LEFT_TO_RIGHT.
|
static boolean |
RIGHT_TO_LEFT
Direction RIGHT_TO_LEFT.
|
protected boolean |
transcription
Flag to say this Conversion is a transcription.
|
banned, downstream, downstreamInited, graph, lowerEquivalent, pathSign, upperEquivalent, upstream, upstreamInited
Modifier | Constructor and Description |
---|---|
protected |
ConversionWrapper(Conversion conv,
GraphL3 graph)
Constructor with the Conversion to wrap and the owner graph.
|
Modifier and Type | Method and Description |
---|---|
Conversion |
getConversion() |
boolean |
getDirection() |
String |
getKey()
RDF ID of the Conversion and the direction is used for the key.
|
ConversionWrapper |
getReverse() |
void |
init()
Extracts the direction, creates the reverse if necessary.
|
void |
initDownstream()
Binds products.
|
void |
initUpstream()
Binds inputs and controllers.
|
boolean |
isTranscription()
Say if the event is a transcription.
|
String |
toString() |
addToDownstream, addToUpstream, getLowerEquivalent, getSign, getUpperEquivalent, isBreadthNode, isUbique
clear, getBanned, getDownstream, getDownstreamNoInit, getGraph, getPathSign, getUpstream, getUpstreamNoInit, initBanned, setBanned, setPathSign
protected Conversion conv
protected boolean direction
protected boolean transcription
public static final boolean LEFT_TO_RIGHT
public static final boolean RIGHT_TO_LEFT
protected ConversionWrapper(Conversion conv, GraphL3 graph)
conv
- Conversion to wrapgraph
- Owner graphpublic boolean getDirection()
public ConversionWrapper getReverse()
public void init()
init
in interface Node
init
in class AbstractNode
public void initUpstream()
initUpstream
in class AbstractNode
public void initDownstream()
initDownstream
in class AbstractNode
public boolean isTranscription()
EventWrapper
isTranscription
in interface Node
isTranscription
in class EventWrapper
public String getKey()
public Conversion getConversion()
Copyright © 2015 BioPAX. All rights reserved.