public class ControlWrapper extends AbstractNode
Modifier and Type | Field and Description |
---|---|
protected Control |
ctrl
Wrapped control.
|
protected int |
sign
Sign of the control.
|
protected boolean |
transcription
Flag to indicate if this control is related to a transcription.
|
banned, downstream, downstreamInited, graph, lowerEquivalent, pathSign, upperEquivalent, upstream, upstreamInited
Modifier | Constructor and Description |
---|---|
protected |
ControlWrapper(Control ctrl,
Graph graph)
Constructor with the Control and the owner graph.
|
Modifier and Type | Method and Description |
---|---|
Control |
getControl()
Gets the wrapped Control.
|
String |
getKey()
RDF ID of the Control is its key.
|
Collection<Node> |
getLowerEquivalent()
Control cannot have an equivalent.
|
int |
getSign()
Some nodes can have a sign (typically non-breadth nodes).
|
Collection<Node> |
getUpperEquivalent()
Control cannot have an equivalent.
|
void |
init()
Extracts the sign and the type of the Control.
|
void |
initDownstream()
Binds the controlled objects.
|
void |
initUpstream()
Binds the controller and other Controls that controls this control.
|
boolean |
isBreadthNode()
Control is not a breadth node.
|
boolean |
isTranscription()
Nodes are not transcription by default.
|
boolean |
isUbique()
Controls are not ubiquitous molecules.
|
void |
setTranscription(boolean transcription)
Make or not make this control related to a transcription.
|
clear, getBanned, getDownstream, getDownstreamNoInit, getGraph, getPathSign, getUpstream, getUpstreamNoInit, initBanned, setBanned, setPathSign
protected int sign
protected boolean transcription
protected ControlWrapper(Control ctrl, Graph graph)
ctrl
- Control to be wrappedgraph
- Owner graphpublic boolean isBreadthNode()
public int getSign()
Node
public boolean isUbique()
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 Control getControl()
public Collection<Node> getUpperEquivalent()
getUpperEquivalent
in interface Node
getUpperEquivalent
in class AbstractNode
public Collection<Node> getLowerEquivalent()
getLowerEquivalent
in interface Node
getLowerEquivalent
in class AbstractNode
public boolean isTranscription()
AbstractNode
isTranscription
in interface Node
isTranscription
in class AbstractNode
public void setTranscription(boolean transcription)
transcription
- whether this Control is related to a transcriptionCopyright © 2015 BioPAX. All rights reserved.