Class ActivityImpl
-
- All Implemented Interfaces:
Activity
,BaseElement
,BpmnModelElementInstance
,FlowElement
,FlowNode
,InteractionNode
,ModelElementInstance
- Direct Known Subclasses:
CallActivityImpl
,SubProcessImpl
,TaskImpl
public abstract class ActivityImpl extends FlowNodeImpl implements Activity
The BPMN activity element- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected static Attribute<Integer>
completionQuantityAttribute
protected static ChildElementCollection<DataInputAssociation>
dataInputAssociationCollection
protected static ChildElementCollection<DataOutputAssociation>
dataOutputAssociationCollection
protected static AttributeReference<SequenceFlow>
defaultAttribute
protected static ChildElement<IoSpecification>
ioSpecificationChild
protected static Attribute<Boolean>
isForCompensationAttribute
protected static ChildElement<LoopCharacteristics>
loopCharacteristicsChild
protected static ChildElementCollection<Property>
propertyCollection
protected static ChildElementCollection<ResourceRole>
resourceRoleCollection
protected static Attribute<Integer>
startQuantityAttribute
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowNodeImpl
camundaAsyncAfter, camundaAsyncBefore, camundaExclusive, camundaJobPriority, incomingCollection, outgoingCollection
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowElementImpl
auditingChild, categoryValueRefCollection, monitoringChild, nameAttribute
-
Fields inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
documentationCollection, extensionElementsChild, idAttribute
-
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
modelInstance
-
-
Constructor Summary
Constructors Constructor Description ActivityImpl(ModelTypeInstanceContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCompletionQuantity()
Collection<DataInputAssociation>
getDataInputAssociations()
Collection<DataOutputAssociation>
getDataOutputAssociations()
SequenceFlow
getDefault()
IoSpecification
getIoSpecification()
LoopCharacteristics
getLoopCharacteristics()
Collection<Property>
getProperties()
Collection<ResourceRole>
getResourceRoles()
int
getStartQuantity()
boolean
isForCompensation()
static void
registerType(ModelBuilder modelBuilder)
void
setCompletionQuantity(int completionQuantity)
void
setDefault(SequenceFlow defaultFlow)
void
setForCompensation(boolean isForCompensation)
void
setIoSpecification(IoSpecification ioSpecification)
void
setLoopCharacteristics(LoopCharacteristics loopCharacteristics)
void
setStartQuantity(int startQuantity)
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowNodeImpl
builder, getCamundaJobPriority, getIncoming, getOutgoing, getPreviousNodes, getSucceedingNodes, isCamundaAsyncAfter, isCamundaAsyncBefore, isCamundaExclusive, setCamundaAsyncAfter, setCamundaAsyncBefore, setCamundaExclusive, setCamundaJobPriority, updateAfterReplacement
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.FlowElementImpl
getAuditing, getCategoryValueRefs, getMonitoring, getName, setAuditing, setMonitoring, setName
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
getDiagramElement, getDocumentations, getExtensionElements, getId, getIncomingReferencesByType, setExtensionElements, setId
-
Methods inherited from class org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
getScope, isScope
-
Methods inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
addChildElement, asSet, equals, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, hashCode, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BaseElement
getDiagramElement, getDocumentations, getExtensionElements, getId, setExtensionElements, setId
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.BpmnModelElementInstance
getScope, isScope
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.FlowElement
getAuditing, getCategoryValueRefs, getMonitoring, getName, setAuditing, setMonitoring, setName
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.FlowNode
builder, getCamundaJobPriority, getIncoming, getOutgoing, getPreviousNodes, getSucceedingNodes, isCamundaAsyncAfter, isCamundaAsyncBefore, isCamundaExclusive, setCamundaAsyncAfter, setCamundaAsyncBefore, setCamundaExclusive, setCamundaJobPriority
-
Methods inherited from interface org.camunda.bpm.model.bpmn.instance.InteractionNode
getId, setId
-
Methods inherited from interface org.camunda.bpm.model.xml.instance.ModelElementInstance
addChildElement, getAttributeValue, getAttributeValueNs, getChildElementsByType, getChildElementsByType, getDomElement, getElementType, getModelInstance, getParentElement, getRawTextContent, getTextContent, getUniqueChildElementByNameNs, getUniqueChildElementByType, insertElementAfter, removeAttribute, removeAttributeNs, removeChildElement, replaceChildElement, replaceWithElement, setAttributeValue, setAttributeValue, setAttributeValue, setAttributeValueNs, setAttributeValueNs, setAttributeValueNs, setTextContent, setUniqueChildElementByNameNs, updateAfterReplacement
-
-
-
-
Field Detail
-
defaultAttribute
protected static AttributeReference<SequenceFlow> defaultAttribute
-
ioSpecificationChild
protected static ChildElement<IoSpecification> ioSpecificationChild
-
propertyCollection
protected static ChildElementCollection<Property> propertyCollection
-
dataInputAssociationCollection
protected static ChildElementCollection<DataInputAssociation> dataInputAssociationCollection
-
dataOutputAssociationCollection
protected static ChildElementCollection<DataOutputAssociation> dataOutputAssociationCollection
-
resourceRoleCollection
protected static ChildElementCollection<ResourceRole> resourceRoleCollection
-
loopCharacteristicsChild
protected static ChildElement<LoopCharacteristics> loopCharacteristicsChild
-
-
Constructor Detail
-
ActivityImpl
public ActivityImpl(ModelTypeInstanceContext context)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
isForCompensation
public boolean isForCompensation()
- Specified by:
isForCompensation
in interfaceActivity
-
setForCompensation
public void setForCompensation(boolean isForCompensation)
- Specified by:
setForCompensation
in interfaceActivity
-
getStartQuantity
public int getStartQuantity()
- Specified by:
getStartQuantity
in interfaceActivity
-
setStartQuantity
public void setStartQuantity(int startQuantity)
- Specified by:
setStartQuantity
in interfaceActivity
-
getCompletionQuantity
public int getCompletionQuantity()
- Specified by:
getCompletionQuantity
in interfaceActivity
-
setCompletionQuantity
public void setCompletionQuantity(int completionQuantity)
- Specified by:
setCompletionQuantity
in interfaceActivity
-
getDefault
public SequenceFlow getDefault()
- Specified by:
getDefault
in interfaceActivity
-
setDefault
public void setDefault(SequenceFlow defaultFlow)
- Specified by:
setDefault
in interfaceActivity
-
getIoSpecification
public IoSpecification getIoSpecification()
- Specified by:
getIoSpecification
in interfaceActivity
-
setIoSpecification
public void setIoSpecification(IoSpecification ioSpecification)
- Specified by:
setIoSpecification
in interfaceActivity
-
getProperties
public Collection<Property> getProperties()
- Specified by:
getProperties
in interfaceActivity
-
getDataInputAssociations
public Collection<DataInputAssociation> getDataInputAssociations()
- Specified by:
getDataInputAssociations
in interfaceActivity
-
getDataOutputAssociations
public Collection<DataOutputAssociation> getDataOutputAssociations()
- Specified by:
getDataOutputAssociations
in interfaceActivity
-
getResourceRoles
public Collection<ResourceRole> getResourceRoles()
- Specified by:
getResourceRoles
in interfaceActivity
-
getLoopCharacteristics
public LoopCharacteristics getLoopCharacteristics()
- Specified by:
getLoopCharacteristics
in interfaceActivity
-
setLoopCharacteristics
public void setLoopCharacteristics(LoopCharacteristics loopCharacteristics)
- Specified by:
setLoopCharacteristics
in interfaceActivity
-
-