com.ibm.xtools.bpmn2.util
Class Bpmn2Switch<T>

java.lang.Object
  extended by com.ibm.xtools.bpmn2.util.Bpmn2Switch<T>

public class Bpmn2Switch<T>
extends java.lang.Object

The Switch for the model's inheritance hierarchy. It supports the call doSwitch(object) to invoke the caseXXX method for each class of the model, starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is returned, which is the result of the switch.

See Also:
Bpmn2Package

Constructor Summary
Bpmn2Switch()
          Creates an instance of the switch.
 
Method Summary
 T caseActivity(Activity object)
          Returns the result of interpreting the object as an instance of 'Activity'.
 T caseAdHocSubProcess(AdHocSubProcess object)
          Returns the result of interpreting the object as an instance of 'Ad Hoc Sub Process'.
 T caseArtifact(Artifact object)
          Returns the result of interpreting the object as an instance of 'Artifact'.
 T caseAssignment(Assignment object)
          Returns the result of interpreting the object as an instance of 'Assignment'.
 T caseAssociation(Association object)
          Returns the result of interpreting the object as an instance of 'Association'.
 T caseBaseElement(BaseElement object)
          Returns the result of interpreting the object as an instance of 'Base Element'.
 T caseBaseElementWithMixedContent(BaseElementWithMixedContent object)
          Returns the result of interpreting the object as an instance of 'Base Element With Mixed Content'.
 T caseBoundaryEvent(BoundaryEvent object)
          Returns the result of interpreting the object as an instance of 'Boundary Event'.
 T caseBusinessRuleTask(BusinessRuleTask object)
          Returns the result of interpreting the object as an instance of 'Business Rule Task'.
 T caseCallableElement(CallableElement object)
          Returns the result of interpreting the object as an instance of 'Callable Element'.
 T caseCallActivity(CallActivity object)
          Returns the result of interpreting the object as an instance of 'Call Activity'.
 T caseCallChoreography(CallChoreography object)
          Returns the result of interpreting the object as an instance of 'Call Choreography'.
 T caseCancelEventDefinition(CancelEventDefinition object)
          Returns the result of interpreting the object as an instance of 'Cancel Event Definition'.
 T caseCatchEvent(CatchEvent object)
          Returns the result of interpreting the object as an instance of 'Catch Event'.
 T caseChoreography(Choreography object)
          Returns the result of interpreting the object as an instance of 'Choreography'.
 T caseChoreographyActivity(ChoreographyActivity object)
          Returns the result of interpreting the object as an instance of 'Choreography Activity'.
 T caseChoreographyTask(ChoreographyTask object)
          Returns the result of interpreting the object as an instance of 'Choreography Task'.
 T caseCollaboration(Collaboration object)
          Returns the result of interpreting the object as an instance of 'Collaboration'.
 T caseCompensateEventDefinition(CompensateEventDefinition object)
          Returns the result of interpreting the object as an instance of 'Compensate Event Definition'.
 T caseComplexBehaviorDefinition(ComplexBehaviorDefinition object)
          Returns the result of interpreting the object as an instance of 'Complex Behavior Definition'.
 T caseComplexGateway(ComplexGateway object)
          Returns the result of interpreting the object as an instance of 'Complex Gateway'.
 T caseConditionalEventDefinition(ConditionalEventDefinition object)
          Returns the result of interpreting the object as an instance of 'Conditional Event Definition'.
 T caseDataAssociation(DataAssociation object)
          Returns the result of interpreting the object as an instance of 'Data Association'.
 T caseDataInput(DataInput object)
          Returns the result of interpreting the object as an instance of 'Data Input'.
 T caseDataInputAssociation(DataInputAssociation object)
          Returns the result of interpreting the object as an instance of 'Data Input Association'.
 T caseDataObject(DataObject object)
          Returns the result of interpreting the object as an instance of 'Data Object'.
 T caseDataOutput(DataOutput object)
          Returns the result of interpreting the object as an instance of 'Data Output'.
 T caseDataOutputAssociation(DataOutputAssociation object)
          Returns the result of interpreting the object as an instance of 'Data Output Association'.
 T caseDataStore(DataStore object)
          Returns the result of interpreting the object as an instance of 'Data Store'.
 T caseDefinitions(Definitions object)
          Returns the result of interpreting the object as an instance of 'Definitions'.
 T caseDocumentation(Documentation object)
          Returns the result of interpreting the object as an instance of 'Documentation'.
 T caseDocumentRoot(DocumentRoot object)
          Returns the result of interpreting the object as an instance of 'Document Root'.
 T caseEndEvent(EndEvent object)
          Returns the result of interpreting the object as an instance of 'End Event'.
 T caseError(Error object)
          Returns the result of interpreting the object as an instance of 'Error'.
 T caseErrorEventDefinition(ErrorEventDefinition object)
          Returns the result of interpreting the object as an instance of 'Error Event Definition'.
 T caseEscalation(Escalation object)
          Returns the result of interpreting the object as an instance of 'Escalation'.
 T caseEscalationEventDefinition(EscalationEventDefinition object)
          Returns the result of interpreting the object as an instance of 'Escalation Event Definition'.
 T caseEvent(Event object)
          Returns the result of interpreting the object as an instance of 'Event'.
 T caseEventBasedGateway(EventBasedGateway object)
          Returns the result of interpreting the object as an instance of 'Event Based Gateway'.
 T caseEventDefinition(EventDefinition object)
          Returns the result of interpreting the object as an instance of 'Event Definition'.
 T caseExclusiveGateway(ExclusiveGateway object)
          Returns the result of interpreting the object as an instance of 'Exclusive Gateway'.
 T caseExpression(Expression object)
          Returns the result of interpreting the object as an instance of 'Expression'.
 T caseExtension(Extension object)
          Returns the result of interpreting the object as an instance of 'Extension'.
 T caseExtensionElements(ExtensionElements object)
          Returns the result of interpreting the object as an instance of 'Extension Elements'.
 T caseFlowElement(FlowElement object)
          Returns the result of interpreting the object as an instance of 'Flow Element'.
 T caseFlowNode(FlowNode object)
          Returns the result of interpreting the object as an instance of 'Flow Node'.
 T caseFormalExpression(FormalExpression object)
          Returns the result of interpreting the object as an instance of 'Formal Expression'.
 T caseGateway(Gateway object)
          Returns the result of interpreting the object as an instance of 'Gateway'.
 T caseGlobalChoreographyTask(GlobalChoreographyTask object)
          Returns the result of interpreting the object as an instance of 'Global Choreography Task'.
 T caseGlobalTask(GlobalTask object)
          Returns the result of interpreting the object as an instance of 'Global Task'.
 T caseGroup(Group object)
          Returns the result of interpreting the object as an instance of 'Group'.
 T caseHumanPerformer(HumanPerformer object)
          Returns the result of interpreting the object as an instance of 'Human Performer'.
 T caseImplicitThrowEvent(ImplicitThrowEvent object)
          Returns the result of interpreting the object as an instance of 'Implicit Throw Event'.
 T caseImport(Import object)
          Returns the result of interpreting the object as an instance of 'Import'.
 T caseInclusiveGateway(InclusiveGateway object)
          Returns the result of interpreting the object as an instance of 'Inclusive Gateway'.
 T caseInputOutputSpecification(InputOutputSpecification object)
          Returns the result of interpreting the object as an instance of 'Input Output Specification'.
 T caseInputSet(InputSet object)
          Returns the result of interpreting the object as an instance of 'Input Set'.
 T caseInterface(Interface object)
          Returns the result of interpreting the object as an instance of 'Interface'.
 T caseIntermediateCatchEvent(IntermediateCatchEvent object)
          Returns the result of interpreting the object as an instance of 'Intermediate Catch Event'.
 T caseIntermediateThrowEvent(IntermediateThrowEvent object)
          Returns the result of interpreting the object as an instance of 'Intermediate Throw Event'.
 T caseItemDefinition(ItemDefinition object)
          Returns the result of interpreting the object as an instance of 'Item Definition'.
 T caseLane(Lane object)
          Returns the result of interpreting the object as an instance of 'Lane'.
 T caseLinkEventDefinition(LinkEventDefinition object)
          Returns the result of interpreting the object as an instance of 'Link Event Definition'.
 T caseLoopCharacteristics(LoopCharacteristics object)
          Returns the result of interpreting the object as an instance of 'Loop Characteristics'.
 T caseMessage(Message object)
          Returns the result of interpreting the object as an instance of 'Message'.
 T caseMessageEventDefinition(MessageEventDefinition object)
          Returns the result of interpreting the object as an instance of 'Message Event Definition'.
 T caseMessageFlow(MessageFlow object)
          Returns the result of interpreting the object as an instance of 'Message Flow'.
 T caseMultiInstanceLoopCharacteristics(MultiInstanceLoopCharacteristics object)
          Returns the result of interpreting the object as an instance of 'Multi Instance Loop Characteristics'.
 T caseOperation(Operation object)
          Returns the result of interpreting the object as an instance of 'Operation'.
 T caseOutputSet(OutputSet object)
          Returns the result of interpreting the object as an instance of 'Output Set'.
 T caseParallelGateway(ParallelGateway object)
          Returns the result of interpreting the object as an instance of 'Parallel Gateway'.
 T caseParticipant(Participant object)
          Returns the result of interpreting the object as an instance of 'Participant'.
 T caseParticipantAssociation(ParticipantAssociation object)
          Returns the result of interpreting the object as an instance of 'Participant Association'.
 T caseParticipantMultiplicity(ParticipantMultiplicity object)
          Returns the result of interpreting the object as an instance of 'Participant Multiplicity'.
 T casePerformer(Performer object)
          Returns the result of interpreting the object as an instance of 'Performer'.
 T casePotentialOwner(PotentialOwner object)
          Returns the result of interpreting the object as an instance of 'Potential Owner'.
 T caseProcess(Process object)
          Returns the result of interpreting the object as an instance of 'Process'.
 T caseRelationship(Relationship object)
          Returns the result of interpreting the object as an instance of 'Relationship'.
 T caseResource(Resource object)
          Returns the result of interpreting the object as an instance of 'Resource'.
 T caseResourceAssignmentExpression(ResourceAssignmentExpression object)
          Returns the result of interpreting the object as an instance of 'Resource Assignment Expression'.
 T caseResourceParameter(ResourceParameter object)
          Returns the result of interpreting the object as an instance of 'Resource Parameter'.
 T caseResourceParameterBinding(ResourceParameterBinding object)
          Returns the result of interpreting the object as an instance of 'Resource Parameter Binding'.
 T caseResourceRole(ResourceRole object)
          Returns the result of interpreting the object as an instance of 'Resource Role'.
 T caseRootElement(RootElement object)
          Returns the result of interpreting the object as an instance of 'Root Element'.
 T caseSequenceFlow(SequenceFlow object)
          Returns the result of interpreting the object as an instance of 'Sequence Flow'.
 T caseServiceTask(ServiceTask object)
          Returns the result of interpreting the object as an instance of 'Service Task'.
 T caseSignal(Signal object)
          Returns the result of interpreting the object as an instance of 'Signal'.
 T caseSignalEventDefinition(SignalEventDefinition object)
          Returns the result of interpreting the object as an instance of 'Signal Event Definition'.
 T caseStandardLoopCharacteristics(StandardLoopCharacteristics object)
          Returns the result of interpreting the object as an instance of 'Standard Loop Characteristics'.
 T caseStartEvent(StartEvent object)
          Returns the result of interpreting the object as an instance of 'Start Event'.
 T caseSubChoreography(SubChoreography object)
          Returns the result of interpreting the object as an instance of 'Sub Choreography'.
 T caseSubProcess(SubProcess object)
          Returns the result of interpreting the object as an instance of 'Sub Process'.
 T caseTask(Task object)
          Returns the result of interpreting the object as an instance of 'Task'.
 T caseTerminateEventDefinition(TerminateEventDefinition object)
          Returns the result of interpreting the object as an instance of 'Terminate Event Definition'.
 T caseText(Text object)
          Returns the result of interpreting the object as an instance of 'Text'.
 T caseTextAnnotation(TextAnnotation object)
          Returns the result of interpreting the object as an instance of 'Text Annotation'.
 T caseThrowEvent(ThrowEvent object)
          Returns the result of interpreting the object as an instance of 'Throw Event'.
 T caseTimerEventDefinition(TimerEventDefinition object)
          Returns the result of interpreting the object as an instance of 'Timer Event Definition'.
 T caseTransaction(Transaction object)
          Returns the result of interpreting the object as an instance of 'Transaction'.
 T caseUserTask(UserTask object)
          Returns the result of interpreting the object as an instance of 'User Task'.
 T defaultCase(org.eclipse.emf.ecore.EObject object)
          Returns the result of interpreting the object as an instance of 'EObject'.
 T doSwitch(org.eclipse.emf.ecore.EObject theEObject)
          Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bpmn2Switch

public Bpmn2Switch()
Creates an instance of the switch.

Method Detail

doSwitch

public T doSwitch(org.eclipse.emf.ecore.EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result.

Returns:
the first non-null result returned by a caseXXX call.

caseActivity

public T caseActivity(Activity object)
Returns the result of interpreting the object as an instance of 'Activity'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Activity'.
See Also:
doSwitch(EObject)

caseAdHocSubProcess

public T caseAdHocSubProcess(AdHocSubProcess object)
Returns the result of interpreting the object as an instance of 'Ad Hoc Sub Process'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Ad Hoc Sub Process'.
See Also:
doSwitch(EObject)

caseArtifact

public T caseArtifact(Artifact object)
Returns the result of interpreting the object as an instance of 'Artifact'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Artifact'.
See Also:
doSwitch(EObject)

caseAssignment

public T caseAssignment(Assignment object)
Returns the result of interpreting the object as an instance of 'Assignment'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Assignment'.
See Also:
doSwitch(EObject)

caseAssociation

public T caseAssociation(Association object)
Returns the result of interpreting the object as an instance of 'Association'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Association'.
See Also:
doSwitch(EObject)

caseBaseElement

public T caseBaseElement(BaseElement object)
Returns the result of interpreting the object as an instance of 'Base Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Base Element'.
See Also:
doSwitch(EObject)

caseBaseElementWithMixedContent

public T caseBaseElementWithMixedContent(BaseElementWithMixedContent object)
Returns the result of interpreting the object as an instance of 'Base Element With Mixed Content'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Base Element With Mixed Content'.
See Also:
doSwitch(EObject)

caseBoundaryEvent

public T caseBoundaryEvent(BoundaryEvent object)
Returns the result of interpreting the object as an instance of 'Boundary Event'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Boundary Event'.
See Also:
doSwitch(EObject)

caseBusinessRuleTask

public T caseBusinessRuleTask(BusinessRuleTask object)
Returns the result of interpreting the object as an instance of 'Business Rule Task'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Business Rule Task'.
See Also:
doSwitch(EObject)

caseCallableElement

public T caseCallableElement(CallableElement object)
Returns the result of interpreting the object as an instance of 'Callable Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Callable Element'.
See Also:
doSwitch(EObject)

caseCallActivity

public T caseCallActivity(CallActivity object)
Returns the result of interpreting the object as an instance of 'Call Activity'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Call Activity'.
See Also:
doSwitch(EObject)

caseCallChoreography

public T caseCallChoreography(CallChoreography object)
Returns the result of interpreting the object as an instance of 'Call Choreography'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Call Choreography'.
See Also:
doSwitch(EObject)

caseCancelEventDefinition

public T caseCancelEventDefinition(CancelEventDefinition object)
Returns the result of interpreting the object as an instance of 'Cancel Event Definition'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Cancel Event Definition'.
See Also:
doSwitch(EObject)

caseCatchEvent

public T caseCatchEvent(CatchEvent object)
Returns the result of interpreting the object as an instance of 'Catch Event'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Catch Event'.
See Also:
doSwitch(EObject)

caseChoreography

public T caseChoreography(Choreography object)
Returns the result of interpreting the object as an instance of 'Choreography'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Choreography'.
See Also:
doSwitch(EObject)

caseChoreographyActivity

public T caseChoreographyActivity(ChoreographyActivity object)
Returns the result of interpreting the object as an instance of 'Choreography Activity'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Choreography Activity'.
See Also:
doSwitch(EObject)

caseChoreographyTask

public T caseChoreographyTask(ChoreographyTask object)
Returns the result of interpreting the object as an instance of 'Choreography Task'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Choreography Task'.
See Also:
doSwitch(EObject)

caseCollaboration

public T caseCollaboration(Collaboration object)
Returns the result of interpreting the object as an instance of 'Collaboration'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Collaboration'.
See Also:
doSwitch(EObject)

caseCompensateEventDefinition

public T caseCompensateEventDefinition(CompensateEventDefinition object)
Returns the result of interpreting the object as an instance of 'Compensate Event Definition'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Compensate Event Definition'.
See Also:
doSwitch(EObject)

caseComplexBehaviorDefinition

public T caseComplexBehaviorDefinition(ComplexBehaviorDefinition object)
Returns the result of interpreting the object as an instance of 'Complex Behavior Definition'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Complex Behavior Definition'.
See Also:
doSwitch(EObject)

caseComplexGateway

public T caseComplexGateway(ComplexGateway object)
Returns the result of interpreting the object as an instance of 'Complex Gateway'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Complex Gateway'.
See Also:
doSwitch(EObject)

caseConditionalEventDefinition

public T caseConditionalEventDefinition(ConditionalEventDefinition object)
Returns the result of interpreting the object as an instance of 'Conditional Event Definition'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Conditional Event Definition'.
See Also:
doSwitch(EObject)

caseDataAssociation

public T caseDataAssociation(DataAssociation object)
Returns the result of interpreting the object as an instance of 'Data Association'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Data Association'.
See Also:
doSwitch(EObject)

caseDataInput

public T caseDataInput(DataInput object)
Returns the result of interpreting the object as an instance of 'Data Input'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Data Input'.
See Also:
doSwitch(EObject)

caseDataInputAssociation

public T caseDataInputAssociation(DataInputAssociation object)
Returns the result of interpreting the object as an instance of 'Data Input Association'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Data Input Association'.
See Also:
doSwitch(EObject)

caseDataObject

public T caseDataObject(DataObject object)
Returns the result of interpreting the object as an instance of 'Data Object'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Data Object'.
See Also:
doSwitch(EObject)

caseDataOutput

public T caseDataOutput(DataOutput object)
Returns the result of interpreting the object as an instance of 'Data Output'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Data Output'.
See Also:
doSwitch(EObject)

caseDataOutputAssociation

public T caseDataOutputAssociation(DataOutputAssociation object)
Returns the result of interpreting the object as an instance of 'Data Output Association'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Data Output Association'.
See Also:
doSwitch(EObject)

caseDataStore

public T caseDataStore(DataStore object)
Returns the result of interpreting the object as an instance of 'Data Store'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Data Store'.
See Also:
doSwitch(EObject)

caseDefinitions

public T caseDefinitions(Definitions object)
Returns the result of interpreting the object as an instance of 'Definitions'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Definitions'.
See Also:
doSwitch(EObject)

caseDocumentation

public T caseDocumentation(Documentation object)
Returns the result of interpreting the object as an instance of 'Documentation'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Documentation'.
See Also:
doSwitch(EObject)

caseDocumentRoot

public T caseDocumentRoot(DocumentRoot object)
Returns the result of interpreting the object as an instance of 'Document Root'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Document Root'.
See Also:
doSwitch(EObject)

caseEndEvent

public T caseEndEvent(EndEvent object)
Returns the result of interpreting the object as an instance of 'End Event'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'End Event'.
See Also:
doSwitch(EObject)

caseError

public T caseError(Error object)
Returns the result of interpreting the object as an instance of 'Error'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Error'.
See Also:
doSwitch(EObject)

caseErrorEventDefinition

public T caseErrorEventDefinition(ErrorEventDefinition object)
Returns the result of interpreting the object as an instance of 'Error Event Definition'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Error Event Definition'.
See Also:
doSwitch(EObject)

caseEscalation

public T caseEscalation(Escalation object)
Returns the result of interpreting the object as an instance of 'Escalation'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Escalation'.
See Also:
doSwitch(EObject)

caseEscalationEventDefinition

public T caseEscalationEventDefinition(EscalationEventDefinition object)
Returns the result of interpreting the object as an instance of 'Escalation Event Definition'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Escalation Event Definition'.
See Also:
doSwitch(EObject)

caseEvent

public T caseEvent(Event object)
Returns the result of interpreting the object as an instance of 'Event'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Event'.
See Also:
doSwitch(EObject)

caseEventBasedGateway

public T caseEventBasedGateway(EventBasedGateway object)
Returns the result of interpreting the object as an instance of 'Event Based Gateway'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Event Based Gateway'.
See Also:
doSwitch(EObject)

caseEventDefinition

public T caseEventDefinition(EventDefinition object)
Returns the result of interpreting the object as an instance of 'Event Definition'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Event Definition'.
See Also:
doSwitch(EObject)

caseExclusiveGateway

public T caseExclusiveGateway(ExclusiveGateway object)
Returns the result of interpreting the object as an instance of 'Exclusive Gateway'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Exclusive Gateway'.
See Also:
doSwitch(EObject)

caseExpression

public T caseExpression(Expression object)
Returns the result of interpreting the object as an instance of 'Expression'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Expression'.
See Also:
doSwitch(EObject)

caseExtension

public T caseExtension(Extension object)
Returns the result of interpreting the object as an instance of 'Extension'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Extension'.
See Also:
doSwitch(EObject)

caseExtensionElements

public T caseExtensionElements(ExtensionElements object)
Returns the result of interpreting the object as an instance of 'Extension Elements'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Extension Elements'.
See Also:
doSwitch(EObject)

caseFlowElement

public T caseFlowElement(FlowElement object)
Returns the result of interpreting the object as an instance of 'Flow Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Flow Element'.
See Also:
doSwitch(EObject)

caseFlowNode

public T caseFlowNode(FlowNode object)
Returns the result of interpreting the object as an instance of 'Flow Node'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Flow Node'.
See Also:
doSwitch(EObject)

caseFormalExpression

public T caseFormalExpression(FormalExpression object)
Returns the result of interpreting the object as an instance of 'Formal Expression'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Formal Expression'.
See Also:
doSwitch(EObject)

caseGateway

public T caseGateway(Gateway object)
Returns the result of interpreting the object as an instance of 'Gateway'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Gateway'.
See Also:
doSwitch(EObject)

caseGlobalChoreographyTask

public T caseGlobalChoreographyTask(GlobalChoreographyTask object)
Returns the result of interpreting the object as an instance of 'Global Choreography Task'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Global Choreography Task'.
See Also:
doSwitch(EObject)

caseGlobalTask

public T caseGlobalTask(GlobalTask object)
Returns the result of interpreting the object as an instance of 'Global Task'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Global Task'.
See Also:
doSwitch(EObject)

caseGroup

public T caseGroup(Group object)
Returns the result of interpreting the object as an instance of 'Group'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Group'.
See Also:
doSwitch(EObject)

caseHumanPerformer

public T caseHumanPerformer(HumanPerformer object)
Returns the result of interpreting the object as an instance of 'Human Performer'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Human Performer'.
See Also:
doSwitch(EObject)

caseImplicitThrowEvent

public T caseImplicitThrowEvent(ImplicitThrowEvent object)
Returns the result of interpreting the object as an instance of 'Implicit Throw Event'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Implicit Throw Event'.
See Also:
doSwitch(EObject)

caseImport

public T caseImport(Import object)
Returns the result of interpreting the object as an instance of 'Import'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Import'.
See Also:
doSwitch(EObject)

caseInclusiveGateway

public T caseInclusiveGateway(InclusiveGateway object)
Returns the result of interpreting the object as an instance of 'Inclusive Gateway'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Inclusive Gateway'.
See Also:
doSwitch(EObject)

caseInputOutputSpecification

public T caseInputOutputSpecification(InputOutputSpecification object)
Returns the result of interpreting the object as an instance of 'Input Output Specification'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Input Output Specification'.
See Also:
doSwitch(EObject)

caseInputSet

public T caseInputSet(InputSet object)
Returns the result of interpreting the object as an instance of 'Input Set'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Input Set'.
See Also:
doSwitch(EObject)

caseInterface

public T caseInterface(Interface object)
Returns the result of interpreting the object as an instance of 'Interface'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Interface'.
See Also:
doSwitch(EObject)

caseIntermediateCatchEvent

public T caseIntermediateCatchEvent(IntermediateCatchEvent object)
Returns the result of interpreting the object as an instance of 'Intermediate Catch Event'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Intermediate Catch Event'.
See Also:
doSwitch(EObject)

caseIntermediateThrowEvent

public T caseIntermediateThrowEvent(IntermediateThrowEvent object)
Returns the result of interpreting the object as an instance of 'Intermediate Throw Event'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Intermediate Throw Event'.
See Also:
doSwitch(EObject)

caseItemDefinition

public T caseItemDefinition(ItemDefinition object)
Returns the result of interpreting the object as an instance of 'Item Definition'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Item Definition'.
See Also:
doSwitch(EObject)

caseLane

public T caseLane(Lane object)
Returns the result of interpreting the object as an instance of 'Lane'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Lane'.
See Also:
doSwitch(EObject)

caseLinkEventDefinition

public T caseLinkEventDefinition(LinkEventDefinition object)
Returns the result of interpreting the object as an instance of 'Link Event Definition'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Link Event Definition'.
See Also:
doSwitch(EObject)

caseLoopCharacteristics

public T caseLoopCharacteristics(LoopCharacteristics object)
Returns the result of interpreting the object as an instance of 'Loop Characteristics'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Loop Characteristics'.
See Also:
doSwitch(EObject)

caseMessage

public T caseMessage(Message object)
Returns the result of interpreting the object as an instance of 'Message'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Message'.
See Also:
doSwitch(EObject)

caseMessageEventDefinition

public T caseMessageEventDefinition(MessageEventDefinition object)
Returns the result of interpreting the object as an instance of 'Message Event Definition'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Message Event Definition'.
See Also:
doSwitch(EObject)

caseMessageFlow

public T caseMessageFlow(MessageFlow object)
Returns the result of interpreting the object as an instance of 'Message Flow'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Message Flow'.
See Also:
doSwitch(EObject)

caseMultiInstanceLoopCharacteristics

public T caseMultiInstanceLoopCharacteristics(MultiInstanceLoopCharacteristics object)
Returns the result of interpreting the object as an instance of 'Multi Instance Loop Characteristics'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Multi Instance Loop Characteristics'.
See Also:
doSwitch(EObject)

caseOperation

public T caseOperation(Operation object)
Returns the result of interpreting the object as an instance of 'Operation'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Operation'.
See Also:
doSwitch(EObject)

caseOutputSet

public T caseOutputSet(OutputSet object)
Returns the result of interpreting the object as an instance of 'Output Set'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Output Set'.
See Also:
doSwitch(EObject)

caseParallelGateway

public T caseParallelGateway(ParallelGateway object)
Returns the result of interpreting the object as an instance of 'Parallel Gateway'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Parallel Gateway'.
See Also:
doSwitch(EObject)

caseParticipant

public T caseParticipant(Participant object)
Returns the result of interpreting the object as an instance of 'Participant'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Participant'.
See Also:
doSwitch(EObject)

caseParticipantAssociation

public T caseParticipantAssociation(ParticipantAssociation object)
Returns the result of interpreting the object as an instance of 'Participant Association'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Participant Association'.
See Also:
doSwitch(EObject)

caseParticipantMultiplicity

public T caseParticipantMultiplicity(ParticipantMultiplicity object)
Returns the result of interpreting the object as an instance of 'Participant Multiplicity'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Participant Multiplicity'.
See Also:
doSwitch(EObject)

casePerformer

public T casePerformer(Performer object)
Returns the result of interpreting the object as an instance of 'Performer'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Performer'.
See Also:
doSwitch(EObject)

casePotentialOwner

public T casePotentialOwner(PotentialOwner object)
Returns the result of interpreting the object as an instance of 'Potential Owner'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Potential Owner'.
See Also:
doSwitch(EObject)

caseProcess

public T caseProcess(Process object)
Returns the result of interpreting the object as an instance of 'Process'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Process'.
See Also:
doSwitch(EObject)

caseRelationship

public T caseRelationship(Relationship object)
Returns the result of interpreting the object as an instance of 'Relationship'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Relationship'.
See Also:
doSwitch(EObject)

caseResource

public T caseResource(Resource object)
Returns the result of interpreting the object as an instance of 'Resource'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Resource'.
See Also:
doSwitch(EObject)

caseResourceAssignmentExpression

public T caseResourceAssignmentExpression(ResourceAssignmentExpression object)
Returns the result of interpreting the object as an instance of 'Resource Assignment Expression'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Resource Assignment Expression'.
See Also:
doSwitch(EObject)

caseResourceParameter

public T caseResourceParameter(ResourceParameter object)
Returns the result of interpreting the object as an instance of 'Resource Parameter'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Resource Parameter'.
See Also:
doSwitch(EObject)

caseResourceParameterBinding

public T caseResourceParameterBinding(ResourceParameterBinding object)
Returns the result of interpreting the object as an instance of 'Resource Parameter Binding'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Resource Parameter Binding'.
See Also:
doSwitch(EObject)

caseResourceRole

public T caseResourceRole(ResourceRole object)
Returns the result of interpreting the object as an instance of 'Resource Role'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Resource Role'.
See Also:
doSwitch(EObject)

caseRootElement

public T caseRootElement(RootElement object)
Returns the result of interpreting the object as an instance of 'Root Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Root Element'.
See Also:
doSwitch(EObject)

caseSequenceFlow

public T caseSequenceFlow(SequenceFlow object)
Returns the result of interpreting the object as an instance of 'Sequence Flow'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Sequence Flow'.
See Also:
doSwitch(EObject)

caseServiceTask

public T caseServiceTask(ServiceTask object)
Returns the result of interpreting the object as an instance of 'Service Task'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Service Task'.
See Also:
doSwitch(EObject)

caseSignal

public T caseSignal(Signal object)
Returns the result of interpreting the object as an instance of 'Signal'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Signal'.
See Also:
doSwitch(EObject)

caseSignalEventDefinition

public T caseSignalEventDefinition(SignalEventDefinition object)
Returns the result of interpreting the object as an instance of 'Signal Event Definition'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Signal Event Definition'.
See Also:
doSwitch(EObject)

caseStandardLoopCharacteristics

public T caseStandardLoopCharacteristics(StandardLoopCharacteristics object)
Returns the result of interpreting the object as an instance of 'Standard Loop Characteristics'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Standard Loop Characteristics'.
See Also:
doSwitch(EObject)

caseStartEvent

public T caseStartEvent(StartEvent object)
Returns the result of interpreting the object as an instance of 'Start Event'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Start Event'.
See Also:
doSwitch(EObject)

caseSubChoreography

public T caseSubChoreography(SubChoreography object)
Returns the result of interpreting the object as an instance of 'Sub Choreography'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Sub Choreography'.
See Also:
doSwitch(EObject)

caseSubProcess

public T caseSubProcess(SubProcess object)
Returns the result of interpreting the object as an instance of 'Sub Process'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Sub Process'.
See Also:
doSwitch(EObject)

caseTask

public T caseTask(Task object)
Returns the result of interpreting the object as an instance of 'Task'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Task'.
See Also:
doSwitch(EObject)

caseTerminateEventDefinition

public T caseTerminateEventDefinition(TerminateEventDefinition object)
Returns the result of interpreting the object as an instance of 'Terminate Event Definition'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Terminate Event Definition'.
See Also:
doSwitch(EObject)

caseText

public T caseText(Text object)
Returns the result of interpreting the object as an instance of 'Text'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Text'.
See Also:
doSwitch(EObject)

caseTextAnnotation

public T caseTextAnnotation(TextAnnotation object)
Returns the result of interpreting the object as an instance of 'Text Annotation'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Text Annotation'.
See Also:
doSwitch(EObject)

caseThrowEvent

public T caseThrowEvent(ThrowEvent object)
Returns the result of interpreting the object as an instance of 'Throw Event'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Throw Event'.
See Also:
doSwitch(EObject)

caseTimerEventDefinition

public T caseTimerEventDefinition(TimerEventDefinition object)
Returns the result of interpreting the object as an instance of 'Timer Event Definition'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Timer Event Definition'.
See Also:
doSwitch(EObject)

caseTransaction

public T caseTransaction(Transaction object)
Returns the result of interpreting the object as an instance of 'Transaction'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Transaction'.
See Also:
doSwitch(EObject)

caseUserTask

public T caseUserTask(UserTask object)
Returns the result of interpreting the object as an instance of 'User Task'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'User Task'.
See Also:
doSwitch(EObject)

defaultCase

public T defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EObject'.
See Also:
doSwitch(org.eclipse.emf.ecore.EObject)