Package org.flowable.cmmn.model
Class PlanFragment
java.lang.Object
org.flowable.cmmn.model.BaseElement
org.flowable.cmmn.model.CmmnElement
org.flowable.cmmn.model.CaseElement
org.flowable.cmmn.model.PlanItemDefinition
org.flowable.cmmn.model.PlanFragment
- All Implemented Interfaces:
HasExtensionAttributes,HasLifecycleListeners
- Direct Known Subclasses:
Stage
Even though plan fragments don't have a runtime behavior, they still need to be stored in the
CmmnModel,
as they are needed when exporting the XML.
From the CMMN spec:
"Unlike other PlanItemDefinitions, a PlanFragment does not have a representation in run-time,
i.e., there is no notion of lifecycle tracking of a PlanFragment (not being a Stage) in the context of a Case instance.
Just the PlanItems that are contained in it are instantiated and have their lifecyles that are tracked.- Author:
- Joram Barrez
-
Field Summary
FieldsFields inherited from class org.flowable.cmmn.model.PlanItemDefinition
defaultControl, lifecycleListeners, planItemRefFields inherited from class org.flowable.cmmn.model.CaseElement
name, parentFields inherited from class org.flowable.cmmn.model.CmmnElement
documentation, documentationTextFormatFields inherited from class org.flowable.cmmn.model.BaseElement
attributes, extensionElements, id, xmlColumnNumber, xmlRowNumber -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlanItem(PlanItem planItem) voidfindPlanItemForPlanItemDefinitionInPlanFragmentOrDownwards(String planItemDefinitionId) findPlanItemForPlanItemDefinitionInPlanFragmentOrUpwards(String planItemDefinitionId) findPlanItemInPlanFragmentOrDownwards(String planItemId) findPlanItemInPlanFragmentOrUpwards(String planItemId) findSentry(String sentryId) getCase()getPlanItem(String planItemId) voidremovePlanItem(PlanItem planItem) voidvoidsetPlanItem(PlanItem planItem) voidsetPlanItemMap(Map<String, PlanItem> planItemMap) voidsetSentries(List<Sentry> sentries) Methods inherited from class org.flowable.cmmn.model.PlanItemDefinition
getDefaultControl, getLifecycleListeners, getPlanItemRef, setDefaultControl, setLifecycleListeners, setPlanItemRef, setValues, toStringMethods inherited from class org.flowable.cmmn.model.CaseElement
getName, getParent, getParentStage, setName, setParentMethods inherited from class org.flowable.cmmn.model.CmmnElement
getDocumentation, getDocumentationTextFormat, setDocumentation, setDocumentationTextFormat, setValuesMethods inherited from class org.flowable.cmmn.model.BaseElement
addAttribute, addExtensionElement, getAttributes, getAttributeValue, getExtensionElements, getId, getXmlColumnNumber, getXmlRowNumber, setAttributes, setExtensionElements, setId, setValues, setXmlColumnNumber, setXmlRowNumber
-
Field Details
-
caze
-
planItem
-
planItemMap
-
planItemDefinitionToItemMap
-
sentries
-
-
Constructor Details
-
PlanFragment
public PlanFragment()
-
-
Method Details
-
findPlanItemInPlanFragmentOrDownwards
-
findPlanItemInPlanFragmentOrUpwards
-
findPlanItemForPlanItemDefinitionInPlanFragmentOrUpwards
-
findPlanItemForPlanItemDefinitionInPlanFragmentOrDownwards
-
findSentry
-
addPlanItem
-
removePlanItem
-
getDirectChildPlanItemsWithLifecycleEnabled
-
addSentry
-
getCase
-
setCase
-
getPlanItem
-
setPlanItem
-
getPlanItems
-
setPlanItemMap
-
getPlanItem
-
getSentries
-
setSentries
-