Package org.flowable.cmmn.model
Class Criterion
- java.lang.Object
-
- org.flowable.cmmn.model.BaseElement
-
- org.flowable.cmmn.model.CmmnElement
-
- org.flowable.cmmn.model.CaseElement
-
- org.flowable.cmmn.model.Criterion
-
- All Implemented Interfaces:
HasAssociations,HasExtensionAttributes
public class Criterion extends CaseElement implements HasAssociations
- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected StringattachedToRefIdstatic StringEXIT_EVENT_TYPE_COMPLETEstatic StringEXIT_EVENT_TYPE_EXITstatic StringEXIT_EVENT_TYPE_FORCE_COMPLETEstatic StringEXIT_TYPE_ACTIVE_AND_ENABLED_INSTANCESstatic StringEXIT_TYPE_ACTIVE_INSTANCESstatic StringEXIT_TYPE_DEFAULTprotected StringexitEventTypeThe exit event type is only available (used) on an exit sentry attached to a case plan model or a stage and represents which event will be triggered when exiting the stage or case plan model.protected StringexitTypeThe exit type is only available (used) on an exit sentry attached to a plan item and represents on how it affects its plan item instances when triggered.protected List<Association>incomingAssociationsprotected booleanisEntryCriterionprotected booleanisExitCriterionprotected List<Association>outgoingAssociationsprotected Sentrysentryprotected StringsentryRefprotected StringtechnicalId-
Fields inherited from class org.flowable.cmmn.model.CaseElement
name, parent
-
Fields inherited from class org.flowable.cmmn.model.CmmnElement
documentation, documentationTextFormat
-
Fields inherited from class org.flowable.cmmn.model.BaseElement
attributes, extensionElements, id, xmlColumnNumber, xmlRowNumber
-
-
Constructor Summary
Constructors Constructor Description Criterion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddIncomingAssociation(Association association)voidaddOutgoingAssociation(Association association)StringgetAttachedToRefId()StringgetExitEventType()StringgetExitType()List<Association>getIncomingAssociations()List<Association>getOutgoingAssociations()SentrygetSentry()StringgetSentryRef()StringgetTechnicalId()booleanisEntryCriterion()booleanisExitCriterion()voidsetAttachedToRefId(String attachedToRefId)voidsetEntryCriterion(boolean isEntryCriterion)voidsetExitCriterion(boolean isExitCriterion)voidsetExitEventType(String exitEventType)voidsetExitType(String exitType)voidsetIncomingAssociations(List<Association> incomingAssociations)voidsetOutgoingAssociations(List<Association> outgoingAssociations)voidsetSentry(Sentry sentry)voidsetSentryRef(String sentryRef)voidsetTechnicalId(String technicalId)StringtoString()-
Methods inherited from class org.flowable.cmmn.model.CaseElement
getName, getParent, getParentStage, setName, setParent
-
Methods inherited from class org.flowable.cmmn.model.CmmnElement
getDocumentation, getDocumentationTextFormat, setDocumentation, setDocumentationTextFormat, setValues
-
Methods inherited from class org.flowable.cmmn.model.BaseElement
addAttribute, addExtensionElement, getAttributes, getAttributeValue, getExtensionElements, getId, getXmlColumnNumber, getXmlRowNumber, setAttributes, setExtensionElements, setId, setValues, setXmlColumnNumber, setXmlRowNumber
-
-
-
-
Field Detail
-
EXIT_TYPE_DEFAULT
public static final String EXIT_TYPE_DEFAULT
- See Also:
- Constant Field Values
-
EXIT_TYPE_ACTIVE_INSTANCES
public static final String EXIT_TYPE_ACTIVE_INSTANCES
- See Also:
- Constant Field Values
-
EXIT_TYPE_ACTIVE_AND_ENABLED_INSTANCES
public static final String EXIT_TYPE_ACTIVE_AND_ENABLED_INSTANCES
- See Also:
- Constant Field Values
-
EXIT_EVENT_TYPE_EXIT
public static final String EXIT_EVENT_TYPE_EXIT
- See Also:
- Constant Field Values
-
EXIT_EVENT_TYPE_COMPLETE
public static final String EXIT_EVENT_TYPE_COMPLETE
- See Also:
- Constant Field Values
-
EXIT_EVENT_TYPE_FORCE_COMPLETE
public static final String EXIT_EVENT_TYPE_FORCE_COMPLETE
- See Also:
- Constant Field Values
-
technicalId
protected String technicalId
-
sentryRef
protected String sentryRef
-
sentry
protected Sentry sentry
-
attachedToRefId
protected String attachedToRefId
-
isEntryCriterion
protected boolean isEntryCriterion
-
isExitCriterion
protected boolean isExitCriterion
-
exitType
protected String exitType
The exit type is only available (used) on an exit sentry attached to a plan item and represents on how it affects its plan item instances when triggered.
-
exitEventType
protected String exitEventType
The exit event type is only available (used) on an exit sentry attached to a case plan model or a stage and represents which event will be triggered when exiting the stage or case plan model.
-
incomingAssociations
protected List<Association> incomingAssociations
-
outgoingAssociations
protected List<Association> outgoingAssociations
-
-
Method Detail
-
getTechnicalId
public String getTechnicalId()
-
setTechnicalId
public void setTechnicalId(String technicalId)
-
getSentryRef
public String getSentryRef()
-
setSentryRef
public void setSentryRef(String sentryRef)
-
getSentry
public Sentry getSentry()
-
setSentry
public void setSentry(Sentry sentry)
-
getAttachedToRefId
public String getAttachedToRefId()
-
setAttachedToRefId
public void setAttachedToRefId(String attachedToRefId)
-
isEntryCriterion
public boolean isEntryCriterion()
-
setEntryCriterion
public void setEntryCriterion(boolean isEntryCriterion)
-
isExitCriterion
public boolean isExitCriterion()
-
setExitCriterion
public void setExitCriterion(boolean isExitCriterion)
-
getExitType
public String getExitType()
-
setExitType
public void setExitType(String exitType)
-
getExitEventType
public String getExitEventType()
-
setExitEventType
public void setExitEventType(String exitEventType)
-
addIncomingAssociation
public void addIncomingAssociation(Association association)
- Specified by:
addIncomingAssociationin interfaceHasAssociations
-
getIncomingAssociations
public List<Association> getIncomingAssociations()
- Specified by:
getIncomingAssociationsin interfaceHasAssociations
-
setIncomingAssociations
public void setIncomingAssociations(List<Association> incomingAssociations)
- Specified by:
setIncomingAssociationsin interfaceHasAssociations
-
addOutgoingAssociation
public void addOutgoingAssociation(Association association)
- Specified by:
addOutgoingAssociationin interfaceHasAssociations
-
getOutgoingAssociations
public List<Association> getOutgoingAssociations()
- Specified by:
getOutgoingAssociationsin interfaceHasAssociations
-
setOutgoingAssociations
public void setOutgoingAssociations(List<Association> outgoingAssociations)
- Specified by:
setOutgoingAssociationsin interfaceHasAssociations
-
-