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, setPathSignprotected Control ctrl
protected int sign
protected boolean transcription
public boolean isBreadthNode()
public int getSign()
Nodepublic boolean isUbique()
public String getKey()
public void init()
init in interface Nodeinit in class AbstractNodepublic void initUpstream()
initUpstream in class AbstractNodepublic void initDownstream()
initDownstream in class AbstractNodepublic Control getControl()
public Collection<Node> getUpperEquivalent()
getUpperEquivalent in interface NodegetUpperEquivalent in class AbstractNodepublic Collection<Node> getLowerEquivalent()
getLowerEquivalent in interface NodegetLowerEquivalent in class AbstractNodepublic boolean isTranscription()
AbstractNodeisTranscription in interface NodeisTranscription in class AbstractNodepublic void setTranscription(boolean transcription)
transcription - whether this Control is related to a transcriptionCopyright © 2015 BioPAX. All rights reserved.