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>
nameAttribute
protected static ChildElement<ResourceAssignmentExpression>
resourceAssignmentExpressionChild
protected static ChildElementCollection<ResourceParameterBinding>
resourceParameterBindingCollection
protected 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 String
getName()
Resource
getResource()
ResourceAssignmentExpression
getResourceAssignmentExpression()
Collection<ResourceParameterBinding>
getResourceParameterBinding()
static void
registerType(ModelBuilder modelBuilder)
void
setName(String name)
void
setResource(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:
getName
in interfaceResourceRole
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceResourceRole
-
getResource
public Resource getResource()
- Specified by:
getResource
in interfaceResourceRole
-
setResource
public void setResource(Resource resource)
- Specified by:
setResource
in interfaceResourceRole
-
getResourceParameterBinding
public Collection<ResourceParameterBinding> getResourceParameterBinding()
- Specified by:
getResourceParameterBinding
in interfaceResourceRole
-
getResourceAssignmentExpression
public ResourceAssignmentExpression getResourceAssignmentExpression()
- Specified by:
getResourceAssignmentExpression
in interfaceResourceRole
-
-