org.camunda.bpm.model.bpmn.impl.instance
Class ResourceRoleImpl

java.lang.Object
  extended by org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
      extended by org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
          extended by org.camunda.bpm.model.bpmn.impl.instance.BaseElementImpl
              extended by org.camunda.bpm.model.bpmn.impl.instance.ResourceRoleImpl
All Implemented Interfaces:
BaseElement, BpmnModelElementInstance, ResourceRole, org.camunda.bpm.model.xml.instance.ModelElementInstance
Direct Known Subclasses:
PerformerImpl

public class ResourceRoleImpl
extends BaseElementImpl
implements ResourceRole

The BPMN resourceRole element

Author:
Sebastian Menski

Field Summary
protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> nameAttribute
           
protected static org.camunda.bpm.model.xml.type.child.ChildElement<ResourceAssignmentExpression> resourceAssignmentExpressionChild
           
protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<ResourceParameterBinding> resourceParameterBindingCollection
           
protected static org.camunda.bpm.model.xml.type.reference.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
ResourceRoleImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext instanceContext)
           
 
Method Summary
 String getName()
           
 Resource getResource()
           
 ResourceAssignmentExpression getResourceAssignmentExpression()
           
 Collection<ResourceParameterBinding> getResourceParameterBinding()
           
static void registerType(org.camunda.bpm.model.xml.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

nameAttribute

protected static org.camunda.bpm.model.xml.type.attribute.Attribute<String> nameAttribute

resourceRefChild

protected static org.camunda.bpm.model.xml.type.reference.ElementReference<Resource,ResourceRef> resourceRefChild

resourceParameterBindingCollection

protected static org.camunda.bpm.model.xml.type.child.ChildElementCollection<ResourceParameterBinding> resourceParameterBindingCollection

resourceAssignmentExpressionChild

protected static org.camunda.bpm.model.xml.type.child.ChildElement<ResourceAssignmentExpression> resourceAssignmentExpressionChild
Constructor Detail

ResourceRoleImpl

public ResourceRoleImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext instanceContext)
Method Detail

registerType

public static void registerType(org.camunda.bpm.model.xml.ModelBuilder modelBuilder)

getName

public String getName()
Specified by:
getName in interface ResourceRole

setName

public void setName(String name)
Specified by:
setName in interface ResourceRole

getResource

public Resource getResource()
Specified by:
getResource in interface ResourceRole

setResource

public void setResource(Resource resource)
Specified by:
setResource in interface ResourceRole

getResourceParameterBinding

public Collection<ResourceParameterBinding> getResourceParameterBinding()
Specified by:
getResourceParameterBinding in interface ResourceRole

getResourceAssignmentExpression

public ResourceAssignmentExpression getResourceAssignmentExpression()
Specified by:
getResourceAssignmentExpression in interface ResourceRole


Copyright © 2017 camunda services GmbH. All rights reserved.