public class NodeAdaptor extends java.lang.Object implements ProcessObjectAdaptor
Modifier and Type | Field and Description |
---|---|
protected ModelAdaptor |
model |
Modifier | Constructor and Description |
---|---|
protected |
NodeAdaptor(ProcessNode adaptee,
ModelAdaptor model) |
protected ModelAdaptor model
protected NodeAdaptor(ProcessNode adaptee, ModelAdaptor model)
public static boolean canAdapt(ProcessNode node)
public static NodeAdaptor adapt(ProcessNode adaptee, ModelAdaptor model)
public boolean isAdaptable(ProcessNode node)
public boolean isNode()
isNode
in interface ProcessObjectAdaptor
public boolean isEdge()
isEdge
in interface ProcessObjectAdaptor
public ProcessNode getAdaptee()
getAdaptee
in interface ProcessObjectAdaptor
public java.lang.String getId()
public boolean isNull()
public boolean isLaneableCluster()
public boolean isPool()
public boolean isEvent()
public boolean isActivity()
public boolean isTask()
public boolean isGateway()
public boolean isDecisionGateway()
public boolean isExclusiveJoin()
public boolean isArtifact()
public boolean isCluster()
public boolean isSubProcess()
public boolean isLane()
public boolean isMessage()
public boolean isConversation()
public boolean isAllowedInBPD()
public boolean isAllowedInChoreography()
public boolean isEdgeDocker()
public boolean isFlowObject()
public boolean isChoreographyActivity()
public boolean isChoreographyTask()
public boolean isSubChoreography()
public boolean isRootNode()
public boolean equals(java.lang.Object otherObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public NodeAdaptor copy()
public java.lang.String getProperty(java.lang.String key)
getProperty
in interface ProcessObjectAdaptor
public java.lang.String getText()
public java.util.List<NodeAdaptor> getAttachedEvents(ModelAdaptor model)
public java.awt.Rectangle getBounds()
public java.util.List<EdgeAdaptor> getIncomingSequenceFlow()
public java.util.List<EdgeAdaptor> getOutgoingSequenceFlow()
public java.util.List<EdgeAdaptor> getIncomingEdges(java.lang.Class<? extends ProcessEdge> type)
public java.util.List<EdgeAdaptor> getOutgoingEdges(java.lang.Class<? extends ProcessEdge> type)
public java.util.List<EdgeAdaptor> getAdjacentEdges(java.lang.Class<? extends ProcessEdge> type)
public java.util.List<NodeAdaptor> getSucceedingNodes()
public java.util.List<NodeAdaptor> getPrecedingNodes()
public java.util.List<NodeAdaptor> getNeighborNodes(java.lang.Class<? extends ProcessEdge> type)
public boolean shouldHaveIncommingSequenceFlow()
public boolean shouldHaveOutgoingSequenceFlow()
public boolean mayHavIncommingSequenceFlow()
public boolean mayHaveOutgoingSequenceFlow()
public boolean mayHaveIncommingMessageFlow()
public boolean mayBeConnectedByConversationLink()
public boolean mayHaveOutgoingMessageFlow()
public ClusterAdaptor getContainingProcess()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isReceiveTask()
public boolean isServiceTask()
public boolean isSendTask()
public boolean isMessageIntermediateEvent()
public boolean isStartEvent()
public boolean isNoneStartEvent()
public boolean isInstantiatingGateway()
public boolean isExclusiveInstantiatingGateway()
public boolean isEventBasedGateway()
public boolean isParallelGateway()
public boolean isEndEvent()
public boolean isEventSubProcess()
public boolean isMessageEvent()
public boolean isTextAnnotation()
public boolean isData()
public boolean isForCompensation()
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)