public class ClusterAdaptor extends NodeAdaptor
model
Modifier | Constructor and Description |
---|---|
|
ClusterAdaptor(Cluster adaptee,
ModelAdaptor model) |
protected |
ClusterAdaptor(ProcessNode cluster,
ModelAdaptor model) |
Modifier and Type | Method and Description |
---|---|
static ClusterAdaptor |
adapt(Cluster adaptee,
ModelAdaptor model) |
protected java.util.List<EdgeAdaptor> |
adaptEdgeList(java.util.List<? extends ProcessEdge> edges,
ModelAdaptor context) |
protected <NodeType extends NodeAdaptor> |
adaptNodeList(java.util.List<? extends ProcessNode> nodes,
ModelAdaptor context) |
static boolean |
canAdapt(ProcessNode node) |
boolean |
contains(NodeAdaptor node) |
Cluster |
getAdaptee() |
java.util.List<ClusterAdaptor> |
getClusters() |
java.util.List<NodeAdaptor> |
getNodesOfContainedProcess()
Returns the nodes, that belong to the Process, which this cluster
contains.That means, it returns any nodes directly contained in this
cluster for a non-LaneableCluster.
|
java.util.List<NodeAdaptor> |
getProcessNodes() |
boolean |
graphicallyContains(NodeAdaptor node) |
boolean |
isActivity() |
boolean |
isAdaptable(ProcessNode node) |
boolean |
isAdHocSubProcess() |
boolean |
isAllowedInBPD() |
boolean |
isCluster() |
boolean |
isCompensationSubProcess() |
boolean |
isEventSubProcess() |
boolean |
isForCompensation() |
boolean |
isLane() |
boolean |
isPool() |
boolean |
isSubProcess() |
boolean |
isTransaction() |
boolean |
isWhiteboxSubChoreography() |
boolean |
isWhiteboxSubProcess() |
boolean |
mayHaveIncommingMessageFlow() |
boolean |
mayHaveOutgoingMessageFlow() |
boolean |
mayHaveOutgoingSequenceFlow() |
boolean |
mayHavIncommingSequenceFlow() |
boolean |
shouldHaveIncommingSequenceFlow() |
boolean |
shouldHaveOutgoingSequenceFlow() |
adapt, copy, equals, getAdjacentEdges, getAttachedEvents, getBounds, getContainingProcess, getId, getIncomingEdges, getIncomingSequenceFlow, getNeighborNodes, getOutgoingEdges, getOutgoingSequenceFlow, getPrecedingNodes, getProperty, getSucceedingNodes, getText, hashCode, isAllowedInChoreography, isArtifact, isChoreographyActivity, isChoreographyTask, isConversation, isData, isDecisionGateway, isEdge, isEdgeDocker, isEndEvent, isEvent, isEventBasedGateway, isExclusiveInstantiatingGateway, isExclusiveJoin, isFlowObject, isGateway, isInstantiatingGateway, isLaneableCluster, isMessage, isMessageEvent, isMessageIntermediateEvent, isNode, isNoneStartEvent, isNull, isParallelGateway, isReceiveTask, isRootNode, isSendTask, isServiceTask, isStartEvent, isSubChoreography, isTask, isTextAnnotation, mayBeConnectedByConversationLink, toString
protected ClusterAdaptor(ProcessNode cluster, ModelAdaptor model)
public ClusterAdaptor(Cluster adaptee, ModelAdaptor model)
public static boolean canAdapt(ProcessNode node)
public static ClusterAdaptor adapt(Cluster adaptee, ModelAdaptor model)
public boolean isAdaptable(ProcessNode node)
isAdaptable
in class NodeAdaptor
public Cluster getAdaptee()
getAdaptee
in interface ProcessObjectAdaptor
getAdaptee
in class NodeAdaptor
public boolean isAllowedInBPD()
isAllowedInBPD
in class NodeAdaptor
public boolean isCluster()
isCluster
in class NodeAdaptor
public boolean isPool()
isPool
in class NodeAdaptor
public boolean isLane()
isLane
in class NodeAdaptor
public java.util.List<NodeAdaptor> getProcessNodes()
public boolean contains(NodeAdaptor node)
public boolean graphicallyContains(NodeAdaptor node)
public boolean isSubProcess()
isSubProcess
in class NodeAdaptor
public boolean isWhiteboxSubProcess()
public boolean isWhiteboxSubChoreography()
public boolean isAdHocSubProcess()
public boolean isActivity()
isActivity
in class NodeAdaptor
public boolean isEventSubProcess()
isEventSubProcess
in class NodeAdaptor
public boolean isTransaction()
public boolean isCompensationSubProcess()
public java.util.List<NodeAdaptor> getNodesOfContainedProcess()
LaneableClusterAdaptor
) it will not
return the lanes, which this cluster contains, but the nodes contained by
this lanes.public java.util.List<ClusterAdaptor> getClusters()
public boolean shouldHaveIncommingSequenceFlow()
shouldHaveIncommingSequenceFlow
in class NodeAdaptor
public boolean shouldHaveOutgoingSequenceFlow()
shouldHaveOutgoingSequenceFlow
in class NodeAdaptor
public boolean mayHavIncommingSequenceFlow()
mayHavIncommingSequenceFlow
in class NodeAdaptor
public boolean mayHaveOutgoingSequenceFlow()
mayHaveOutgoingSequenceFlow
in class NodeAdaptor
public boolean mayHaveIncommingMessageFlow()
mayHaveIncommingMessageFlow
in class NodeAdaptor
public boolean mayHaveOutgoingMessageFlow()
mayHaveOutgoingMessageFlow
in class NodeAdaptor
public boolean isForCompensation()
isForCompensation
in class NodeAdaptor
protected java.util.List<EdgeAdaptor> adaptEdgeList(java.util.List<? extends ProcessEdge> edges, ModelAdaptor context)
protected <NodeType extends NodeAdaptor> java.util.List<NodeType> adaptNodeList(java.util.List<? extends ProcessNode> nodes, ModelAdaptor context)