public class BPMNModel extends ProcessModel
ATTR_ID, ATTR_NAME, ATTR_PARENT_REF, ATTR_TYPE, ATTR_XMLNS, ATTR_XMLNS_XSI, ATTR_XSI_SCHEMALOCATION, id, precEdgeCache, predecessorCache, processUtils, PROP_AUTHOR, PROP_COMMENT, PROP_CREATE_DATE, PROP_EDITOR, PROP_FOLDERALIAS, PROP_LASTCHECKIN, PROP_PROCESS_NAME, PROP_PROCESS_URI, PROP_SOURCE_VERSION, TAG_EDGES, TAG_MODEL, TAG_NODES, TAG_PROPERTIES, topLevelNodesCache, VALUE_XMLNS, VALUE_XMLNS_XSI, VALUE_XSI_SCHEMALOCATION, visibleNodesCache
Constructor and Description |
---|
BPMNModel() |
BPMNModel(java.lang.String name)
Creates a new BPMN ProcessEditorModel with a name.
|
Modifier and Type | Method and Description |
---|---|
void |
addFlow(ProcessEdge e) |
void |
addFlowObject(FlowObject o) |
java.util.LinkedList<Association> |
getAssociations() |
AttachedNodeHandler |
getAttachedNodeHandler()
Returns an (optional) AttachedNodeHandler.
|
java.lang.String |
getDescription()
Returns a single string describing the kind of model this ProcessModel
supports.
|
java.util.List<FlowObject> |
getFlowObjects() |
java.util.List<ProcessEdge> |
getFlows() |
Pool |
getPoolForNode(ProcessNode node)
Detects the Pool where the ProcessNode is contained inside.
|
java.util.List<SequenceFlow> |
getSequenceFlows() |
java.util.List<java.lang.Class<? extends ProcessEdge>> |
getSupportedEdgeClasses()
Returns the list of supported edge classes for this model.
|
java.util.List<java.lang.Class<? extends ProcessNode>> |
getSupportedNodeClasses()
Returns the list of supported node classes for this model.
|
void |
removeNode(ProcessNode node)
Removes a ProcessNode from the ProcessModel (incl. edges).
|
java.lang.String |
toString()
Returns a short textual description of the process model.
|
addEdge, addListener, addNode, addObject, addTransactionHandler, clearCaches, clone, clonePersistent, getAttachedNode, getBackgroundColor, getClusterForNode, getClusters, getConnectingEdge, getCreateableNodeClasses, getCreationDate, getEdges, getId, getIncomingEdges, getNeighbourNodes, getNodeAt, getNodeById, getNodeByName, getNodes, getNodesByClass, getObjectById, getObjects, getOutgoingEdges, getPrecedingNodes, getPreceedingEdges, getPredecessors, getProcessModelURI, getProcessName, getProperty, getPropertyKeys, getSerialization, getSize, getSucceedingNodes, getSuccessors, getTopLevelNodes, getTransientProperty, getTransientPropertyKeys, getUtils, getVisibleNodes, init, isDirty, isLayouted, isOnlineModel, markAsDirty, moveAfter, moveToBack, moveToFront, propertyChanged, removeEdge, removeListener, removeNode, removeObject, removeObject, removeProperty, removeTransactionHandler, removeTransientProperty, setBackgroundColor, setId, setProcessModelURI, setProcessName, setProperty, setTransientProperty, setUtils, startTransaction, stopTransaction, substitute, substitute
public BPMNModel()
public BPMNModel(java.lang.String name)
name
- public java.lang.String getDescription()
ProcessModel
getDescription
in class ProcessModel
public AttachedNodeHandler getAttachedNodeHandler()
ProcessModel
getAttachedNodeHandler
in class ProcessModel
public void addFlowObject(FlowObject o)
public void addFlow(ProcessEdge e)
public java.util.List<ProcessEdge> getFlows()
public java.util.List<FlowObject> getFlowObjects()
public java.util.List<SequenceFlow> getSequenceFlows()
public java.util.LinkedList<Association> getAssociations()
public Pool getPoolForNode(ProcessNode node)
node
- public java.lang.String toString()
ProcessModel
toString
in class ProcessModel
public java.util.List<java.lang.Class<? extends ProcessNode>> getSupportedNodeClasses()
ProcessModel
getSupportedNodeClasses
in class ProcessModel
public java.util.List<java.lang.Class<? extends ProcessEdge>> getSupportedEdgeClasses()
ProcessModel
getSupportedEdgeClasses
in class ProcessModel
public void removeNode(ProcessNode node)
ProcessModel
removeNode
in class ProcessModel