Package org.activiti.bpmn.model
Class BpmnModel
- java.lang.Object
-
- org.activiti.bpmn.model.BpmnModel
-
public class BpmnModel extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,DataStore>dataStoreMapprotected Map<String,List<ExtensionAttribute>>definitionsAttributesprotected Map<String,Error>errorMapprotected ObjecteventSupportprotected Map<String,List<GraphicInfo>>flowLocationMapprotected List<Artifact>globalArtifactsprotected List<Import>importsprotected List<Interface>interfacesprotected Map<String,ItemDefinition>itemDefinitionMapprotected Map<String,GraphicInfo>labelLocationMapprotected Map<String,GraphicInfo>locationMapprotected Map<String,MessageFlow>messageFlowMapprotected Map<String,Message>messageMapprotected Map<String,String>namespaceMapprotected intnextFlowIdCounterprotected List<Pool>poolsprotected List<Process>processesprotected List<Resource>resourcesprotected List<Signal>signalsprotected StringsourceSystemIdprotected List<String>startEventFormTypesprotected StringtargetNamespaceprotected List<String>userTaskFormTypes
-
Constructor Summary
Constructors Constructor Description BpmnModel()
-
Method Summary
-
-
-
Field Detail
-
definitionsAttributes
protected Map<String,List<ExtensionAttribute>> definitionsAttributes
-
locationMap
protected Map<String,GraphicInfo> locationMap
-
labelLocationMap
protected Map<String,GraphicInfo> labelLocationMap
-
flowLocationMap
protected Map<String,List<GraphicInfo>> flowLocationMap
-
messageFlowMap
protected Map<String,MessageFlow> messageFlowMap
-
itemDefinitionMap
protected Map<String,ItemDefinition> itemDefinitionMap
-
targetNamespace
protected String targetNamespace
-
sourceSystemId
protected String sourceSystemId
-
nextFlowIdCounter
protected int nextFlowIdCounter
-
eventSupport
protected Object eventSupport
-
-
Method Detail
-
getDefinitionsAttributes
public Map<String,List<ExtensionAttribute>> getDefinitionsAttributes()
-
getDefinitionsAttributeValue
public String getDefinitionsAttributeValue(String namespace, String name)
-
addDefinitionsAttribute
public void addDefinitionsAttribute(ExtensionAttribute attribute)
-
setDefinitionsAttributes
public void setDefinitionsAttributes(Map<String,List<ExtensionAttribute>> attributes)
-
getMainProcess
public Process getMainProcess()
-
addProcess
public void addProcess(Process process)
-
getFlowElement
public FlowElement getFlowElement(String id)
-
getFlowElementInSubProcess
protected FlowElement getFlowElementInSubProcess(String id, SubProcess subProcess)
-
getArtifactInSubProcess
protected Artifact getArtifactInSubProcess(String id, SubProcess subProcess)
-
addGraphicInfo
public void addGraphicInfo(String key, GraphicInfo graphicInfo)
-
getGraphicInfo
public GraphicInfo getGraphicInfo(String key)
-
removeGraphicInfo
public void removeGraphicInfo(String key)
-
getFlowLocationGraphicInfo
public List<GraphicInfo> getFlowLocationGraphicInfo(String key)
-
removeFlowGraphicInfoList
public void removeFlowGraphicInfoList(String key)
-
getLocationMap
public Map<String,GraphicInfo> getLocationMap()
-
hasDiagramInterchangeInfo
public boolean hasDiagramInterchangeInfo()
-
getFlowLocationMap
public Map<String,List<GraphicInfo>> getFlowLocationMap()
-
getLabelGraphicInfo
public GraphicInfo getLabelGraphicInfo(String key)
-
addLabelGraphicInfo
public void addLabelGraphicInfo(String key, GraphicInfo graphicInfo)
-
removeLabelGraphicInfo
public void removeLabelGraphicInfo(String key)
-
getLabelLocationMap
public Map<String,GraphicInfo> getLabelLocationMap()
-
addFlowGraphicInfoList
public void addFlowGraphicInfoList(String key, List<GraphicInfo> graphicInfoList)
-
getResources
public Collection<Resource> getResources()
-
setResources
public void setResources(Collection<Resource> resourceList)
-
addResource
public void addResource(Resource resource)
-
containsResourceId
public boolean containsResourceId(String resourceId)
-
getSignals
public Collection<Signal> getSignals()
-
setSignals
public void setSignals(Collection<Signal> signalList)
-
addSignal
public void addSignal(Signal signal)
-
containsSignalId
public boolean containsSignalId(String signalId)
-
getMessageFlows
public Map<String,MessageFlow> getMessageFlows()
-
setMessageFlows
public void setMessageFlows(Map<String,MessageFlow> messageFlows)
-
addMessageFlow
public void addMessageFlow(MessageFlow messageFlow)
-
getMessageFlow
public MessageFlow getMessageFlow(String id)
-
containsMessageFlowId
public boolean containsMessageFlowId(String messageFlowId)
-
getMessages
public Collection<Message> getMessages()
-
setMessages
public void setMessages(Collection<Message> messageList)
-
addMessage
public void addMessage(Message message)
-
containsMessageId
public boolean containsMessageId(String messageId)
-
containsErrorRef
public boolean containsErrorRef(String errorRef)
-
getItemDefinitions
public Map<String,ItemDefinition> getItemDefinitions()
-
setItemDefinitions
public void setItemDefinitions(Map<String,ItemDefinition> itemDefinitionMap)
-
addItemDefinition
public void addItemDefinition(String id, ItemDefinition item)
-
containsItemDefinitionId
public boolean containsItemDefinitionId(String id)
-
containsDataStore
public boolean containsDataStore(String id)
-
containsNamespacePrefix
public boolean containsNamespacePrefix(String prefix)
-
getTargetNamespace
public String getTargetNamespace()
-
setTargetNamespace
public void setTargetNamespace(String targetNamespace)
-
getSourceSystemId
public String getSourceSystemId()
-
setSourceSystemId
public void setSourceSystemId(String sourceSystemId)
-
getEventSupport
public Object getEventSupport()
-
setEventSupport
public void setEventSupport(Object eventSupport)
-
-