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

java.lang.Object
  extended by org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
      extended by org.camunda.bpm.model.bpmn.impl.instance.BpmnModelElementInstanceImpl
All Implemented Interfaces:
BpmnModelElementInstance, org.camunda.bpm.model.xml.instance.ModelElementInstance
Direct Known Subclasses:
BaseElementImpl, BoundsImpl, CamundaConnectorIdImpl, CamundaConnectorImpl, CamundaConstraintImpl, CamundaExecutionListenerImpl, CamundaExpressionImpl, CamundaFailedJobRetryTimeCycleImpl, CamundaFieldImpl, CamundaFormDataImpl, CamundaFormFieldImpl, CamundaFormPropertyImpl, CamundaGenericValueElementImpl, CamundaInImpl, CamundaInputOutputImpl, CamundaListImpl, CamundaMapImpl, CamundaOutImpl, CamundaPotentialStarterImpl, CamundaPropertiesImpl, CamundaPropertyImpl, CamundaScriptImpl, CamundaStringImpl, CamundaTaskListenerImpl, CamundaValidationImpl, CamundaValueImpl, CategoryValueRef, CorrelationPropertyRef, DataInputRefs, DataOutputRefs, DefinitionsImpl, DiagramElementImpl, DiagramImpl, DocumentationImpl, EndPointRef, ErrorRef, EventDefinitionRef, ExtensionElementsImpl, ExtensionImpl, ExtensionImpl, FlowNodeRef, FontImpl, ImportImpl, Incoming, InMessageRef, InnerParticipantRef, InputSetRefs, InteractionNodeImpl, InterfaceRef, LoopDataInputRef, LoopDataOutputRef, MessageFlowRef, OperationRef, OptionalInputRefs, OptionalOutputRefs, OuterParticipantRef, Outgoing, OutMessageRef, OutputSetRefs, ParticipantRef, PointImpl, ResourceRef, ScriptImpl, Source, SourceRef, StyleImpl, SupportedInterfaceRef, Supports, Target, TargetRef, TextImpl, WhileExecutingInputRefs, WhileExecutingOutputRefs

public abstract class BpmnModelElementInstanceImpl
extends org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
implements BpmnModelElementInstance

Shared base class for all BPMN Model Elements. Provides implementation of the BpmnModelElementInstance interface.

Author:
Daniel Meyer

Field Summary
 
Fields inherited from class org.camunda.bpm.model.xml.impl.instance.ModelElementInstanceImpl
modelInstance
 
Constructor Summary
BpmnModelElementInstanceImpl(org.camunda.bpm.model.xml.impl.instance.ModelTypeInstanceContext instanceContext)
           
 
Method Summary
 AbstractBaseElementBuilder builder()
          Returns a new fluent builder for the element if implemented.
 BpmnModelElementInstance getScope()
          Gets the element which is the scope of this element.
 boolean isScope()
          Tests if the element is a scope like process or sub-process.
 
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, registerType, 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.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
 

Constructor Detail

BpmnModelElementInstanceImpl

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

builder

public AbstractBaseElementBuilder builder()
Description copied from interface: BpmnModelElementInstance
Returns a new fluent builder for the element if implemented.

Specified by:
builder in interface BpmnModelElementInstance
Returns:
the builder object

isScope

public boolean isScope()
Description copied from interface: BpmnModelElementInstance
Tests if the element is a scope like process or sub-process.

Specified by:
isScope in interface BpmnModelElementInstance
Returns:
true if element is scope, otherwise false

getScope

public BpmnModelElementInstance getScope()
Description copied from interface: BpmnModelElementInstance
Gets the element which is the scope of this element. Like the parent process or sub-process.

Specified by:
getScope in interface BpmnModelElementInstance
Returns:
the scope element or null if non is found


Copyright © 2017 camunda services GmbH. All rights reserved.