Class ResourceRoleImpl
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
-
- org.camunda.bpm.model.bpmn.impl.instance.ResourceRoleImpl
-
- All Implemented Interfaces:
BaseElement,BpmnModelElementInstance,ResourceRole,ModelElementInstance
- Direct Known Subclasses:
PerformerImpl
public class ResourceRoleImpl extends BaseElementImpl implements ResourceRole
The BPMN resourceRole element- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description protected static Attribute<String>nameAttributeprotected static ChildElement<ResourceAssignmentExpression>resourceAssignmentExpressionChildprotected static ChildElementCollection<ResourceParameterBinding>resourceParameterBindingCollectionprotected static ElementReference<Resource,ResourceRef>resourceRefChild-
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 ResourceRoleImpl(ModelTypeInstanceContext instanceContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()ResourcegetResource()ResourceAssignmentExpressiongetResourceAssignmentExpression()Collection<ResourceParameterBinding>getResourceParameterBinding()static voidregisterType(ModelBuilder modelBuilder)voidsetName(String name)voidsetResource(Resource resource)-
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
builder, 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, updateAfterReplacement
-
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
builder, getScope, isScope
-
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
-
resourceRefChild
protected static ElementReference<Resource,ResourceRef> resourceRefChild
-
resourceParameterBindingCollection
protected static ChildElementCollection<ResourceParameterBinding> resourceParameterBindingCollection
-
resourceAssignmentExpressionChild
protected static ChildElement<ResourceAssignmentExpression> resourceAssignmentExpressionChild
-
-
Constructor Detail
-
ResourceRoleImpl
public ResourceRoleImpl(ModelTypeInstanceContext instanceContext)
-
-
Method Detail
-
registerType
public static void registerType(ModelBuilder modelBuilder)
-
getName
public String getName()
- Specified by:
getNamein interfaceResourceRole
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceResourceRole
-
getResource
public Resource getResource()
- Specified by:
getResourcein interfaceResourceRole
-
setResource
public void setResource(Resource resource)
- Specified by:
setResourcein interfaceResourceRole
-
getResourceParameterBinding
public Collection<ResourceParameterBinding> getResourceParameterBinding()
- Specified by:
getResourceParameterBindingin interfaceResourceRole
-
getResourceAssignmentExpression
public ResourceAssignmentExpression getResourceAssignmentExpression()
- Specified by:
getResourceAssignmentExpressionin interfaceResourceRole
-
-