public abstract class BpmnNode extends Object
1) parent/child relationships 2) other edges (and therefore, implicitly, other nodes) that may be contained inside the node (e.g. in the case of a (Sub)Process)
| Modifier and Type | Class and Description |
|---|---|
static class |
BpmnNode.Docked |
static class |
BpmnNode.Simple |
| Modifier | Constructor and Description |
|---|---|
protected |
BpmnNode(Node<? extends View<? extends BPMNViewDefinition>,?> value,
BasePropertyReader propertyReader) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllEdges(Collection<BpmnEdge> bpmnEdges) |
void |
addChild(BpmnNode child) |
boolean |
addEdge(BpmnEdge bpmnEdge) |
BpmnNode |
docked() |
List<BpmnNode> |
getChildren() |
List<BpmnEdge> |
getEdges() |
BpmnNode |
getParent() |
BasePropertyReader |
getPropertyReader() |
boolean |
hasChildren() |
abstract boolean |
isDocked() |
static BpmnNode |
of(Node<? extends View<? extends BPMNViewDefinition>,?> value,
BasePropertyReader propertyReader) |
void |
removeChild(BpmnNode child) |
void |
setParent(BpmnNode parent) |
String |
toString() |
Node<? extends View<? extends BPMNViewDefinition>,?> |
value() |
protected BpmnNode(Node<? extends View<? extends BPMNViewDefinition>,?> value, BasePropertyReader propertyReader)
public abstract boolean isDocked()
public static BpmnNode of(Node<? extends View<? extends BPMNViewDefinition>,?> value, BasePropertyReader propertyReader)
public BpmnNode docked()
public BpmnNode getParent()
public void setParent(BpmnNode parent)
public void addChild(BpmnNode child)
public void removeChild(BpmnNode child)
public boolean hasChildren()
public Node<? extends View<? extends BPMNViewDefinition>,?> value()
public BasePropertyReader getPropertyReader()
public void addAllEdges(Collection<BpmnEdge> bpmnEdges)
public boolean addEdge(BpmnEdge bpmnEdge)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.