Class ActivityImpl
- java.lang.Object
-
- 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<java.lang.Integer>completionQuantityAttributeprotected static ChildElementCollection<DataInputAssociation>dataInputAssociationCollectionprotected static ChildElementCollection<DataOutputAssociation>dataOutputAssociationCollectionprotected static AttributeReference<SequenceFlow>defaultAttributeprotected static ChildElement<IoSpecification>ioSpecificationChildprotected static Attribute<java.lang.Boolean>isForCompensationAttributeprotected static ChildElement<LoopCharacteristics>loopCharacteristicsChildprotected static ChildElementCollection<Property>propertyCollectionprotected static ChildElementCollection<ResourceRole>resourceRoleCollectionprotected static Attribute<java.lang.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 intgetCompletionQuantity()java.util.Collection<DataInputAssociation>getDataInputAssociations()java.util.Collection<DataOutputAssociation>getDataOutputAssociations()SequenceFlowgetDefault()IoSpecificationgetIoSpecification()LoopCharacteristicsgetLoopCharacteristics()java.util.Collection<Property>getProperties()java.util.Collection<ResourceRole>getResourceRoles()intgetStartQuantity()booleanisForCompensation()static voidregisterType(ModelBuilder modelBuilder)voidsetCompletionQuantity(int completionQuantity)voidsetDefault(SequenceFlow defaultFlow)voidsetForCompensation(boolean isForCompensation)voidsetIoSpecification(IoSpecification ioSpecification)voidsetLoopCharacteristics(LoopCharacteristics loopCharacteristics)voidsetStartQuantity(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
-
isForCompensationAttribute
protected static Attribute<java.lang.Boolean> isForCompensationAttribute
-
startQuantityAttribute
protected static Attribute<java.lang.Integer> startQuantityAttribute
-
completionQuantityAttribute
protected static Attribute<java.lang.Integer> completionQuantityAttribute
-
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:
isForCompensationin interfaceActivity
-
setForCompensation
public void setForCompensation(boolean isForCompensation)
- Specified by:
setForCompensationin interfaceActivity
-
getStartQuantity
public int getStartQuantity()
- Specified by:
getStartQuantityin interfaceActivity
-
setStartQuantity
public void setStartQuantity(int startQuantity)
- Specified by:
setStartQuantityin interfaceActivity
-
getCompletionQuantity
public int getCompletionQuantity()
- Specified by:
getCompletionQuantityin interfaceActivity
-
setCompletionQuantity
public void setCompletionQuantity(int completionQuantity)
- Specified by:
setCompletionQuantityin interfaceActivity
-
getDefault
public SequenceFlow getDefault()
- Specified by:
getDefaultin interfaceActivity
-
setDefault
public void setDefault(SequenceFlow defaultFlow)
- Specified by:
setDefaultin interfaceActivity
-
getIoSpecification
public IoSpecification getIoSpecification()
- Specified by:
getIoSpecificationin interfaceActivity
-
setIoSpecification
public void setIoSpecification(IoSpecification ioSpecification)
- Specified by:
setIoSpecificationin interfaceActivity
-
getProperties
public java.util.Collection<Property> getProperties()
- Specified by:
getPropertiesin interfaceActivity
-
getDataInputAssociations
public java.util.Collection<DataInputAssociation> getDataInputAssociations()
- Specified by:
getDataInputAssociationsin interfaceActivity
-
getDataOutputAssociations
public java.util.Collection<DataOutputAssociation> getDataOutputAssociations()
- Specified by:
getDataOutputAssociationsin interfaceActivity
-
getResourceRoles
public java.util.Collection<ResourceRole> getResourceRoles()
- Specified by:
getResourceRolesin interfaceActivity
-
getLoopCharacteristics
public LoopCharacteristics getLoopCharacteristics()
- Specified by:
getLoopCharacteristicsin interfaceActivity
-
setLoopCharacteristics
public void setLoopCharacteristics(LoopCharacteristics loopCharacteristics)
- Specified by:
setLoopCharacteristicsin interfaceActivity
-
-