Package org.flowable.bpmn.model
Class BpmnModel
java.lang.Object
org.flowable.bpmn.model.BpmnModel
- Author:
- Tijs Rademakers, Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,
List<ExtensionAttribute>> protected Map<String,
BpmnDiEdge> protected Map<String,
Escalation> protected Object
protected String
protected String
protected Map<String,
List<GraphicInfo>> protected Map<String,
ItemDefinition> protected Map<String,
GraphicInfo> protected Map<String,
GraphicInfo> protected Map<String,
MessageFlow> protected String
protected String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addActivityIdForVariableListenerName
(String variableName, String activityId) void
addDataStore
(String id, DataStore dataStore) void
addDefinitionsAttribute
(ExtensionAttribute attribute) void
addEdgeInfo
(String key, BpmnDiEdge edgeInfo) void
void
addEscalation
(String escalationRef, String escalationCode, String name) void
addEscalation
(Escalation escalation) void
addFlowGraphicInfoList
(String key, List<GraphicInfo> graphicInfoList) void
addGraphicInfo
(String key, GraphicInfo graphicInfo) void
addItemDefinition
(String id, ItemDefinition item) void
addLabelGraphicInfo
(String key, GraphicInfo graphicInfo) void
addMessage
(Message message) void
addMessageFlow
(MessageFlow messageFlow) void
addNamespace
(String prefix, String uri) void
addProcess
(Process process) void
addResource
(Resource resource) void
boolean
boolean
containsErrorRef
(String errorRef) boolean
containsEscalationRef
(String escalationRef) boolean
boolean
containsMessageFlowId
(String messageFlowId) boolean
containsMessageId
(String messageId) boolean
containsNamespacePrefix
(String prefix) boolean
containsResourceId
(String resourceId) boolean
containsSignalId
(String signalId) boolean
containsVariableListenerForVariableName
(String variableName) getActivityIdsForVariableListenerName
(String variableName) getArtifact
(String id) protected Artifact
getArtifactInSubProcess
(String id, SubProcess subProcess) getDataStore
(String id) getDefinitionsAttributeValue
(String namespace, String name) getEdgeInfo
(String key) getEscalation
(String escalationRef) getFlowElement
(String id) protected FlowElement
getFlowElementInSubProcess
(String id, SubProcess subProcess) getGraphicInfo
(String key) getMessage
(String id) getMessageFlow
(String id) getNamespace
(String prefix) getPools()
getProcess
(String poolRef) getProcessById
(String id) getResource
(String id) boolean
void
void
removeGraphicInfo
(String key) void
void
setDataStores
(Map<String, DataStore> dataStoreMap) void
setDefinitionsAttributes
(Map<String, List<ExtensionAttribute>> attributes) void
void
setEscalations
(Map<String, Escalation> escalationMap) void
setEventSupport
(Object eventSupport) void
setExporter
(String exporter) void
setExporterVersion
(String exporterVersion) void
setGlobalArtifacts
(List<Artifact> globalArtifacts) void
setImports
(List<Import> imports) void
setInterfaces
(List<Interface> interfaces) void
setItemDefinitions
(Map<String, ItemDefinition> itemDefinitionMap) void
setMessageFlows
(Map<String, MessageFlow> messageFlows) void
setMessages
(Collection<Message> messageList) void
void
setResources
(Collection<Resource> resourceList) void
setSignals
(Collection<Signal> signalList) void
setSourceSystemId
(String sourceSystemId) void
setStartEventFormTypes
(List<String> startEventFormTypes) void
setTargetNamespace
(String targetNamespace) void
setUserTaskFormTypes
(List<String> userTaskFormTypes)
-
Field Details
-
definitionsAttributes
-
processes
-
locationMap
-
labelLocationMap
-
flowLocationMap
-
edgeMap
-
signals
-
messageFlowMap
-
messageMap
-
variableListenerToActivityMap
-
errorMap
-
escalationMap
-
itemDefinitionMap
-
dataStoreMap
-
pools
-
imports
-
interfaces
-
globalArtifacts
-
resources
-
namespaceMap
-
targetNamespace
-
sourceSystemId
-
userTaskFormTypes
-
startEventFormTypes
-
eventSupport
-
exporter
-
exporterVersion
-
-
Constructor Details
-
BpmnModel
public BpmnModel()
-
-
Method Details
-
getDefinitionsAttributes
-
getDefinitionsAttributeValue
-
addDefinitionsAttribute
-
setDefinitionsAttributes
-
getMainProcess
-
getProcess
-
getProcessById
-
getProcesses
-
addProcess
-
getPool
-
getLane
-
getFlowElement
-
getFlowElementInSubProcess
-
getArtifact
-
getArtifactInSubProcess
-
addGraphicInfo
-
getGraphicInfo
-
removeGraphicInfo
-
getFlowLocationGraphicInfo
-
removeFlowGraphicInfoList
-
getEdgeInfo
-
addEdgeInfo
-
getLocationMap
-
getFlowLocationMap
-
getEdgeMap
-
getLabelGraphicInfo
-
addLabelGraphicInfo
-
removeLabelGraphicInfo
-
getLabelLocationMap
-
addFlowGraphicInfoList
-
getResources
-
setResources
-
addResource
-
containsResourceId
-
getResource
-
getSignals
-
setSignals
-
addSignal
-
containsSignalId
-
getSignal
-
getMessageFlows
-
setMessageFlows
-
addMessageFlow
-
getMessageFlow
-
containsMessageFlowId
-
getMessages
-
setMessages
-
addMessage
-
getMessage
-
containsMessageId
-
getActivityIdsForVariableListenerName
-
addActivityIdForVariableListenerName
-
containsVariableListenerForVariableName
-
hasVariableListeners
public boolean hasVariableListeners() -
getErrors
-
setErrors
-
addError
-
containsErrorRef
-
getEscalations
-
setEscalations
-
addEscalation
-
addEscalation
-
containsEscalationRef
-
getEscalation
-
getItemDefinitions
-
setItemDefinitions
-
addItemDefinition
-
containsItemDefinitionId
-
getDataStores
-
setDataStores
-
getDataStore
-
addDataStore
-
containsDataStore
-
getPools
-
setPools
-
getImports
-
setImports
-
getInterfaces
-
setInterfaces
-
getGlobalArtifacts
-
setGlobalArtifacts
-
addNamespace
-
containsNamespacePrefix
-
getNamespace
-
getNamespaces
-
getTargetNamespace
-
setTargetNamespace
-
getSourceSystemId
-
setSourceSystemId
-
getUserTaskFormTypes
-
setUserTaskFormTypes
-
getStartEventFormTypes
-
setStartEventFormTypes
-
getEventSupport
-
setEventSupport
-
getExporter
-
setExporter
-
getExporterVersion
-
setExporterVersion
-