Package org.flowable.cmmn.model
Class CmmnModel
- java.lang.Object
-
- org.flowable.cmmn.model.CmmnModel
-
public class CmmnModel extends Object
- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Association>associationsprotected Stringauthorprotected List<Case>casesprotected DatecreationDateprotected Map<String,Criterion>criterionMapprotected Map<String,String>criterionTechnicalIdMapprotected List<Decision>decisionsprotected Map<String,List<ExtensionAttribute>>definitionsAttributesprotected Map<String,CmmnDiEdge>edgeMapprotected Stringexporterprotected StringexporterVersionprotected StringexpressionLanguageprotected Map<String,List<GraphicInfo>>flowLocationMapprotected Stringidprotected Map<String,GraphicInfo>labelLocationMapprotected Map<String,GraphicInfo>locationMapprotected Stringnameprotected Map<String,String>namespaceMapprotected List<Process>processesprotected StringtargetNamespaceprotected List<TextAnnotation>textAnnotations
-
Constructor Summary
Constructors Constructor Description CmmnModel()
-
Method Summary
-
-
-
Field Detail
-
id
protected String id
-
name
protected String name
-
targetNamespace
protected String targetNamespace
-
expressionLanguage
protected String expressionLanguage
-
exporter
protected String exporter
-
exporterVersion
protected String exporterVersion
-
author
protected String author
-
creationDate
protected Date creationDate
-
definitionsAttributes
protected Map<String,List<ExtensionAttribute>> definitionsAttributes
-
associations
protected List<Association> associations
-
textAnnotations
protected List<TextAnnotation> textAnnotations
-
locationMap
protected Map<String,GraphicInfo> locationMap
-
labelLocationMap
protected Map<String,GraphicInfo> labelLocationMap
-
flowLocationMap
protected Map<String,List<GraphicInfo>> flowLocationMap
-
edgeMap
protected Map<String,CmmnDiEdge> edgeMap
-
-
Method Detail
-
addCase
public void addCase(Case caze)
-
getPrimaryCase
public Case getPrimaryCase()
-
addProcess
public void addProcess(Process process)
-
addDecision
public void addDecision(Decision decision)
-
getDecisions
public Collection<Decision> getDecisions()
-
findPlanItemDefinition
public PlanItemDefinition findPlanItemDefinition(String id)
-
addAssociation
public void addAssociation(Association association)
-
findTextAnnotation
public TextAnnotation findTextAnnotation(String id)
-
addTextAnnotation
public void addTextAnnotation(TextAnnotation textAnnotation)
-
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()
-
getFlowLocationMap
public Map<String,List<GraphicInfo>> getFlowLocationMap()
-
getEdgeInfo
public CmmnDiEdge getEdgeInfo(String key)
-
addEdgeInfo
public void addEdgeInfo(String key, CmmnDiEdge edgeInfo)
-
getEdgeMap
public Map<String,CmmnDiEdge> getEdgeMap()
-
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)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getTargetNamespace
public String getTargetNamespace()
-
setTargetNamespace
public void setTargetNamespace(String targetNamespace)
-
getExpressionLanguage
public String getExpressionLanguage()
-
setExpressionLanguage
public void setExpressionLanguage(String expressionLanguage)
-
getExporter
public String getExporter()
-
setExporter
public void setExporter(String exporter)
-
getExporterVersion
public String getExporterVersion()
-
setExporterVersion
public void setExporterVersion(String exporterVersion)
-
getAuthor
public String getAuthor()
-
setAuthor
public void setAuthor(String author)
-
getCreationDate
public Date getCreationDate()
-
setCreationDate
public void setCreationDate(Date creationDate)
-
getAssociations
public List<Association> getAssociations()
-
setAssociations
public void setAssociations(List<Association> associations)
-
getTextAnnotations
public List<TextAnnotation> getTextAnnotations()
-
setTextAnnotations
public void setTextAnnotations(List<TextAnnotation> textAnnotations)
-
containsNamespacePrefix
public boolean containsNamespacePrefix(String prefix)
-
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)
-
-