org.eclipse.etrice.core.room.util
Class RoomSwitch<T>

java.lang.Object
  extended by 
      extended by org.eclipse.etrice.core.room.util.RoomSwitch<T>

public class RoomSwitch<T>
extends

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:
RoomPackage
EMF generated code

Field Summary
protected static RoomPackage modelPackage
          The cached model package
 
Constructor Summary
RoomSwitch()
          Creates an instance of the switch.
 
Method Summary
 T caseActorClass(ActorClass object)
          Returns the result of interpreting the object as an instance of 'Actor Class'.
 T caseActorContainerClass(ActorContainerClass object)
          Returns the result of interpreting the object as an instance of 'Actor Container Class'.
 T caseActorContainerRef(ActorContainerRef object)
          Returns the result of interpreting the object as an instance of 'Actor Container Ref'.
 T caseActorInstancePath(ActorInstancePath object)
          Returns the result of interpreting the object as an instance of 'Actor Instance Path'.
 T caseActorRef(ActorRef object)
          Returns the result of interpreting the object as an instance of 'Actor Ref'.
 T caseAnnotation(Annotation object)
          Returns the result of interpreting the object as an instance of 'Annotation'.
 T caseAttribute(Attribute object)
          Returns the result of interpreting the object as an instance of 'Attribute'.
 T caseBaseState(BaseState object)
          Returns the result of interpreting the object as an instance of 'Base State'.
 T caseBinding(Binding object)
          Returns the result of interpreting the object as an instance of 'Binding'.
 T caseBindingEndPoint(BindingEndPoint object)
          Returns the result of interpreting the object as an instance of 'Binding End Point'.
 T caseChoicePoint(ChoicePoint object)
          Returns the result of interpreting the object as an instance of 'Choice Point'.
 T caseChoicepointTerminal(ChoicepointTerminal object)
          Returns the result of interpreting the object as an instance of 'Choicepoint Terminal'.
 T caseComplexType(ComplexType object)
          Returns the result of interpreting the object as an instance of 'Complex Type'.
 T caseContinuationTransition(ContinuationTransition object)
          Returns the result of interpreting the object as an instance of 'Continuation Transition'.
 T caseCPBranchTransition(CPBranchTransition object)
          Returns the result of interpreting the object as an instance of 'CP Branch Transition'.
 T caseDataClass(DataClass object)
          Returns the result of interpreting the object as an instance of 'Data Class'.
 T caseDataType(DataType object)
          Returns the result of interpreting the object as an instance of 'Data Type'.
 T caseDetailCode(DetailCode object)
          Returns the result of interpreting the object as an instance of 'Detail Code'.
 T caseDocumentation(Documentation object)
          Returns the result of interpreting the object as an instance of 'Documentation'.
 T caseEntryPoint(EntryPoint object)
          Returns the result of interpreting the object as an instance of 'Entry Point'.
 T caseExitPoint(ExitPoint object)
          Returns the result of interpreting the object as an instance of 'Exit Point'.
 T caseExternalPort(ExternalPort object)
          Returns the result of interpreting the object as an instance of 'External Port'.
 T caseExternalType(ExternalType object)
          Returns the result of interpreting the object as an instance of 'External Type'.
 T caseGuard(Guard object)
          Returns the result of interpreting the object as an instance of 'Guard'.
 T caseGuardedTransition(GuardedTransition object)
          Returns the result of interpreting the object as an instance of 'Guarded Transition'.
 T caseImport(Import object)
          Returns the result of interpreting the object as an instance of 'Import'.
 T caseInitialTransition(InitialTransition object)
          Returns the result of interpreting the object as an instance of 'Initial Transition'.
 T caseInterfaceItem(InterfaceItem object)
          Returns the result of interpreting the object as an instance of 'Interface Item'.
 T caseKeyValue(KeyValue object)
          Returns the result of interpreting the object as an instance of 'Key Value'.
 T caseLayerConnection(LayerConnection object)
          Returns the result of interpreting the object as an instance of 'Layer Connection'.
 T caseLogicalSystem(LogicalSystem object)
          Returns the result of interpreting the object as an instance of 'Logical System'.
 T caseLogicalThread(LogicalThread object)
          Returns the result of interpreting the object as an instance of 'Logical Thread'.
 T caseMessage(Message object)
          Returns the result of interpreting the object as an instance of 'Message'.
 T caseMessageFromIf(MessageFromIf object)
          Returns the result of interpreting the object as an instance of 'Message From If'.
 T caseMessageHandler(MessageHandler object)
          Returns the result of interpreting the object as an instance of 'Message Handler'.
 T caseNonInitialTransition(NonInitialTransition object)
          Returns the result of interpreting the object as an instance of 'Non Initial Transition'.
 T caseOperation(Operation object)
          Returns the result of interpreting the object as an instance of 'Operation'.
 T casePort(Port object)
          Returns the result of interpreting the object as an instance of 'Port'.
 T casePortClass(PortClass object)
          Returns the result of interpreting the object as an instance of 'Port Class'.
 T casePortOperation(PortOperation object)
          Returns the result of interpreting the object as an instance of 'Port Operation'.
 T casePrimitiveType(PrimitiveType object)
          Returns the result of interpreting the object as an instance of 'Primitive Type'.
 T caseProtocolClass(ProtocolClass object)
          Returns the result of interpreting the object as an instance of 'Protocol Class'.
 T caseProtocolSemantics(ProtocolSemantics object)
          Returns the result of interpreting the object as an instance of 'Protocol Semantics'.
 T caseRefableType(RefableType object)
          Returns the result of interpreting the object as an instance of 'Refable Type'.
 T caseRefinedState(RefinedState object)
          Returns the result of interpreting the object as an instance of 'Refined State'.
 T caseRefSAPoint(RefSAPoint object)
          Returns the result of interpreting the object as an instance of 'Ref SA Point'.
 T caseRelaySAPoint(RelaySAPoint object)
          Returns the result of interpreting the object as an instance of 'Relay SA Point'.
 T caseRoomClass(RoomClass object)
          Returns the result of interpreting the object as an instance of 'Class'.
 T caseRoomModel(RoomModel object)
          Returns the result of interpreting the object as an instance of 'Model'.
 T caseSAPoint(SAPoint object)
          Returns the result of interpreting the object as an instance of 'SA Point'.
 T caseSAPRef(SAPRef object)
          Returns the result of interpreting the object as an instance of 'SAP Ref'.
 T caseSemanticsRule(SemanticsRule object)
          Returns the result of interpreting the object as an instance of 'Semantics Rule'.
 T caseServiceImplementation(ServiceImplementation object)
          Returns the result of interpreting the object as an instance of 'Service Implementation'.
 T caseSPPoint(SPPoint object)
          Returns the result of interpreting the object as an instance of 'SP Point'.
 T caseSPPRef(SPPRef object)
          Returns the result of interpreting the object as an instance of 'SPP Ref'.
 T caseStandardOperation(StandardOperation object)
          Returns the result of interpreting the object as an instance of 'Standard Operation'.
 T caseState(State object)
          Returns the result of interpreting the object as an instance of 'State'.
 T caseStateGraph(StateGraph object)
          Returns the result of interpreting the object as an instance of 'State Graph'.
 T caseStateGraphItem(StateGraphItem object)
          Returns the result of interpreting the object as an instance of 'State Graph Item'.
 T caseStateGraphNode(StateGraphNode object)
          Returns the result of interpreting the object as an instance of 'State Graph Node'.
 T caseStateTerminal(StateTerminal object)
          Returns the result of interpreting the object as an instance of 'State Terminal'.
 T caseStructureClass(StructureClass object)
          Returns the result of interpreting the object as an instance of 'Structure Class'.
 T caseSubStateTrPointTerminal(SubStateTrPointTerminal object)
          Returns the result of interpreting the object as an instance of 'Sub State Tr Point Terminal'.
 T caseSubSystemClass(SubSystemClass object)
          Returns the result of interpreting the object as an instance of 'Sub System Class'.
 T caseSubSystemRef(SubSystemRef object)
          Returns the result of interpreting the object as an instance of 'Sub System Ref'.
 T caseTransition(Transition object)
          Returns the result of interpreting the object as an instance of 'Transition'.
 T caseTransitionChainStartTransition(TransitionChainStartTransition object)
          Returns the result of interpreting the object as an instance of 'Transition Chain Start Transition'.
 T caseTransitionPoint(TransitionPoint object)
          Returns the result of interpreting the object as an instance of 'Transition Point'.
 T caseTransitionTerminal(TransitionTerminal object)
          Returns the result of interpreting the object as an instance of 'Transition Terminal'.
 T caseTrigger(Trigger object)
          Returns the result of interpreting the object as an instance of 'Trigger'.
 T caseTriggeredTransition(TriggeredTransition object)
          Returns the result of interpreting the object as an instance of 'Triggered Transition'.
 T caseTrPoint(TrPoint object)
          Returns the result of interpreting the object as an instance of 'Tr Point'.
 T caseTrPointTerminal(TrPointTerminal object)
          Returns the result of interpreting the object as an instance of 'Tr Point Terminal'.
 T caseVarDecl(VarDecl object)
          Returns the result of interpreting the object as an instance of 'Var Decl'.
 T defaultCase(EObject object)
          Returns the result of interpreting the object as an instance of 'EObject'.
protected  T doSwitch(int classifierID, EObject theEObject)
          Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
protected  boolean isSwitchFor(EPackage ePackage)
          Checks whether this is a switch for the given package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelPackage

protected static RoomPackage modelPackage
The cached model package

EMF generated code
Constructor Detail

RoomSwitch

public RoomSwitch()
Creates an instance of the switch.

EMF generated code
Method Detail

isSwitchFor

protected boolean isSwitchFor(EPackage ePackage)
Checks whether this is a switch for the given package.

Returns:
whether this is a switch for the given package.
EMF generated code

doSwitch

protected T doSwitch(int classifierID,
                     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.
EMF generated code

caseRoomModel

public T caseRoomModel(RoomModel object)
Returns the result of interpreting the object as an instance of 'Model'. 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 'Model'.
See Also:
doSwitch(EObject)
EMF generated code

caseRoomClass

public T caseRoomClass(RoomClass object)
Returns the result of interpreting the object as an instance of 'Class'. 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 'Class'.
See Also:
doSwitch(EObject)
EMF generated code

caseStructureClass

public T caseStructureClass(StructureClass object)
Returns the result of interpreting the object as an instance of 'Structure Class'. 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 'Structure Class'.
See Also:
doSwitch(EObject)
EMF generated code

caseActorContainerClass

public T caseActorContainerClass(ActorContainerClass object)
Returns the result of interpreting the object as an instance of 'Actor Container Class'. 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 'Actor Container Class'.
See Also:
doSwitch(EObject)
EMF generated code

caseVarDecl

public T caseVarDecl(VarDecl object)
Returns the result of interpreting the object as an instance of 'Var Decl'. 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 'Var Decl'.
See Also:
doSwitch(EObject)
EMF generated code

caseRefableType

public T caseRefableType(RefableType object)
Returns the result of interpreting the object as an instance of 'Refable Type'. 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 'Refable Type'.
See Also:
doSwitch(EObject)
EMF generated code

caseDataType

public T caseDataType(DataType object)
Returns the result of interpreting the object as an instance of 'Data Type'. 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 Type'.
See Also:
doSwitch(EObject)
EMF generated code

caseComplexType

public T caseComplexType(ComplexType object)
Returns the result of interpreting the object as an instance of 'Complex Type'. 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 Type'.
See Also:
doSwitch(EObject)
EMF generated code

casePrimitiveType

public T casePrimitiveType(PrimitiveType object)
Returns the result of interpreting the object as an instance of 'Primitive Type'. 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 'Primitive Type'.
See Also:
doSwitch(EObject)
EMF generated code

caseExternalType

public T caseExternalType(ExternalType object)
Returns the result of interpreting the object as an instance of 'External Type'. 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 'External Type'.
See Also:
doSwitch(EObject)
EMF generated code

caseDataClass

public T caseDataClass(DataClass object)
Returns the result of interpreting the object as an instance of 'Data Class'. 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 Class'.
See Also:
doSwitch(EObject)
EMF generated code

caseAttribute

public T caseAttribute(Attribute object)
Returns the result of interpreting the object as an instance of 'Attribute'. 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 'Attribute'.
See Also:
doSwitch(EObject)
EMF generated code

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)
EMF generated code

caseStandardOperation

public T caseStandardOperation(StandardOperation object)
Returns the result of interpreting the object as an instance of 'Standard 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 'Standard Operation'.
See Also:
doSwitch(EObject)
EMF generated code

casePortOperation

public T casePortOperation(PortOperation object)
Returns the result of interpreting the object as an instance of 'Port 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 'Port Operation'.
See Also:
doSwitch(EObject)
EMF generated code

caseProtocolClass

public T caseProtocolClass(ProtocolClass object)
Returns the result of interpreting the object as an instance of 'Protocol Class'. 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 'Protocol Class'.
See Also:
doSwitch(EObject)
EMF generated code

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)
EMF generated code

casePortClass

public T casePortClass(PortClass object)
Returns the result of interpreting the object as an instance of 'Port Class'. 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 'Port Class'.
See Also:
doSwitch(EObject)
EMF generated code

caseMessageHandler

public T caseMessageHandler(MessageHandler object)
Returns the result of interpreting the object as an instance of 'Message Handler'. 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 Handler'.
See Also:
doSwitch(EObject)
EMF generated code

caseProtocolSemantics

public T caseProtocolSemantics(ProtocolSemantics object)
Returns the result of interpreting the object as an instance of 'Protocol Semantics'. 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 'Protocol Semantics'.
See Also:
doSwitch(EObject)
EMF generated code

caseSemanticsRule

public T caseSemanticsRule(SemanticsRule object)
Returns the result of interpreting the object as an instance of 'Semantics Rule'. 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 'Semantics Rule'.
See Also:
doSwitch(EObject)
EMF generated code

caseActorClass

public T caseActorClass(ActorClass object)
Returns the result of interpreting the object as an instance of 'Actor Class'. 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 'Actor Class'.
See Also:
doSwitch(EObject)
EMF generated code

caseInterfaceItem

public T caseInterfaceItem(InterfaceItem object)
Returns the result of interpreting the object as an instance of 'Interface Item'. 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 Item'.
See Also:
doSwitch(EObject)
EMF generated code

casePort

public T casePort(Port object)
Returns the result of interpreting the object as an instance of 'Port'. 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 'Port'.
See Also:
doSwitch(EObject)
EMF generated code

caseExternalPort

public T caseExternalPort(ExternalPort object)
Returns the result of interpreting the object as an instance of 'External Port'. 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 'External Port'.
See Also:
doSwitch(EObject)
EMF generated code

caseSAPRef

public T caseSAPRef(SAPRef object)
Returns the result of interpreting the object as an instance of 'SAP Ref'. 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 'SAP Ref'.
See Also:
doSwitch(EObject)
EMF generated code

caseSPPRef

public T caseSPPRef(SPPRef object)
Returns the result of interpreting the object as an instance of 'SPP Ref'. 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 'SPP Ref'.
See Also:
doSwitch(EObject)
EMF generated code

caseServiceImplementation

public T caseServiceImplementation(ServiceImplementation object)
Returns the result of interpreting the object as an instance of 'Service Implementation'. 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 Implementation'.
See Also:
doSwitch(EObject)
EMF generated code

caseLogicalSystem

public T caseLogicalSystem(LogicalSystem object)
Returns the result of interpreting the object as an instance of 'Logical System'. 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 'Logical System'.
See Also:
doSwitch(EObject)
EMF generated code

caseActorContainerRef

public T caseActorContainerRef(ActorContainerRef object)
Returns the result of interpreting the object as an instance of 'Actor Container Ref'. 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 'Actor Container Ref'.
See Also:
doSwitch(EObject)
EMF generated code

caseSubSystemRef

public T caseSubSystemRef(SubSystemRef object)
Returns the result of interpreting the object as an instance of 'Sub System Ref'. 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 System Ref'.
See Also:
doSwitch(EObject)
EMF generated code

caseSubSystemClass

public T caseSubSystemClass(SubSystemClass object)
Returns the result of interpreting the object as an instance of 'Sub System Class'. 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 System Class'.
See Also:
doSwitch(EObject)
EMF generated code

caseLogicalThread

public T caseLogicalThread(LogicalThread object)
Returns the result of interpreting the object as an instance of 'Logical Thread'. 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 'Logical Thread'.
See Also:
doSwitch(EObject)
EMF generated code

caseActorInstancePath

public T caseActorInstancePath(ActorInstancePath object)
Returns the result of interpreting the object as an instance of 'Actor Instance Path'. 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 'Actor Instance Path'.
See Also:
doSwitch(EObject)
EMF generated code

caseBinding

public T caseBinding(Binding object)
Returns the result of interpreting the object as an instance of '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 'Binding'.
See Also:
doSwitch(EObject)
EMF generated code

caseBindingEndPoint

public T caseBindingEndPoint(BindingEndPoint object)
Returns the result of interpreting the object as an instance of 'Binding End Point'. 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 'Binding End Point'.
See Also:
doSwitch(EObject)
EMF generated code

caseLayerConnection

public T caseLayerConnection(LayerConnection object)
Returns the result of interpreting the object as an instance of 'Layer Connection'. 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 'Layer Connection'.
See Also:
doSwitch(EObject)
EMF generated code

caseSAPoint

public T caseSAPoint(SAPoint object)
Returns the result of interpreting the object as an instance of 'SA Point'. 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 'SA Point'.
See Also:
doSwitch(EObject)
EMF generated code

caseRefSAPoint

public T caseRefSAPoint(RefSAPoint object)
Returns the result of interpreting the object as an instance of 'Ref SA Point'. 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 'Ref SA Point'.
See Also:
doSwitch(EObject)
EMF generated code

caseRelaySAPoint

public T caseRelaySAPoint(RelaySAPoint object)
Returns the result of interpreting the object as an instance of 'Relay SA Point'. 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 'Relay SA Point'.
See Also:
doSwitch(EObject)
EMF generated code

caseSPPoint

public T caseSPPoint(SPPoint object)
Returns the result of interpreting the object as an instance of 'SP Point'. 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 'SP Point'.
See Also:
doSwitch(EObject)
EMF generated code

caseActorRef

public T caseActorRef(ActorRef object)
Returns the result of interpreting the object as an instance of 'Actor Ref'. 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 'Actor Ref'.
See Also:
doSwitch(EObject)
EMF generated code

caseStateGraphNode

public T caseStateGraphNode(StateGraphNode object)
Returns the result of interpreting the object as an instance of 'State Graph 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 'State Graph Node'.
See Also:
doSwitch(EObject)
EMF generated code

caseStateGraphItem

public T caseStateGraphItem(StateGraphItem object)
Returns the result of interpreting the object as an instance of 'State Graph Item'. 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 'State Graph Item'.
See Also:
doSwitch(EObject)
EMF generated code

caseState

public T caseState(State object)
Returns the result of interpreting the object as an instance of 'State'. 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 'State'.
See Also:
doSwitch(EObject)
EMF generated code

caseStateGraph

public T caseStateGraph(StateGraph object)
Returns the result of interpreting the object as an instance of 'State Graph'. 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 'State Graph'.
See Also:
doSwitch(EObject)
EMF generated code

caseBaseState

public T caseBaseState(BaseState object)
Returns the result of interpreting the object as an instance of 'Base State'. 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 State'.
See Also:
doSwitch(EObject)
EMF generated code

caseRefinedState

public T caseRefinedState(RefinedState object)
Returns the result of interpreting the object as an instance of 'Refined State'. 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 'Refined State'.
See Also:
doSwitch(EObject)
EMF generated code

caseDetailCode

public T caseDetailCode(DetailCode object)
Returns the result of interpreting the object as an instance of 'Detail Code'. 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 'Detail Code'.
See Also:
doSwitch(EObject)
EMF generated code

caseTrPoint

public T caseTrPoint(TrPoint object)
Returns the result of interpreting the object as an instance of 'Tr Point'. 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 'Tr Point'.
See Also:
doSwitch(EObject)
EMF generated code

caseTransitionPoint

public T caseTransitionPoint(TransitionPoint object)
Returns the result of interpreting the object as an instance of 'Transition Point'. 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 'Transition Point'.
See Also:
doSwitch(EObject)
EMF generated code

caseEntryPoint

public T caseEntryPoint(EntryPoint object)
Returns the result of interpreting the object as an instance of 'Entry Point'. 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 'Entry Point'.
See Also:
doSwitch(EObject)
EMF generated code

caseExitPoint

public T caseExitPoint(ExitPoint object)
Returns the result of interpreting the object as an instance of 'Exit Point'. 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 'Exit Point'.
See Also:
doSwitch(EObject)
EMF generated code

caseChoicePoint

public T caseChoicePoint(ChoicePoint object)
Returns the result of interpreting the object as an instance of 'Choice Point'. 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 'Choice Point'.
See Also:
doSwitch(EObject)
EMF generated code

caseTransition

public T caseTransition(Transition object)
Returns the result of interpreting the object as an instance of 'Transition'. 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 'Transition'.
See Also:
doSwitch(EObject)
EMF generated code

caseNonInitialTransition

public T caseNonInitialTransition(NonInitialTransition object)
Returns the result of interpreting the object as an instance of 'Non Initial Transition'. 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 'Non Initial Transition'.
See Also:
doSwitch(EObject)
EMF generated code

caseTransitionChainStartTransition

public T caseTransitionChainStartTransition(TransitionChainStartTransition object)
Returns the result of interpreting the object as an instance of 'Transition Chain Start Transition'. 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 'Transition Chain Start Transition'.
See Also:
doSwitch(EObject)
EMF generated code

caseInitialTransition

public T caseInitialTransition(InitialTransition object)
Returns the result of interpreting the object as an instance of 'Initial Transition'. 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 'Initial Transition'.
See Also:
doSwitch(EObject)
EMF generated code

caseContinuationTransition

public T caseContinuationTransition(ContinuationTransition object)
Returns the result of interpreting the object as an instance of 'Continuation Transition'. 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 'Continuation Transition'.
See Also:
doSwitch(EObject)
EMF generated code

caseTriggeredTransition

public T caseTriggeredTransition(TriggeredTransition object)
Returns the result of interpreting the object as an instance of 'Triggered Transition'. 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 'Triggered Transition'.
See Also:
doSwitch(EObject)
EMF generated code

caseGuardedTransition

public T caseGuardedTransition(GuardedTransition object)
Returns the result of interpreting the object as an instance of 'Guarded Transition'. 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 'Guarded Transition'.
See Also:
doSwitch(EObject)
EMF generated code

caseCPBranchTransition

public T caseCPBranchTransition(CPBranchTransition object)
Returns the result of interpreting the object as an instance of 'CP Branch Transition'. 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 'CP Branch Transition'.
See Also:
doSwitch(EObject)
EMF generated code

caseTransitionTerminal

public T caseTransitionTerminal(TransitionTerminal object)
Returns the result of interpreting the object as an instance of 'Transition Terminal'. 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 'Transition Terminal'.
See Also:
doSwitch(EObject)
EMF generated code

caseStateTerminal

public T caseStateTerminal(StateTerminal object)
Returns the result of interpreting the object as an instance of 'State Terminal'. 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 'State Terminal'.
See Also:
doSwitch(EObject)
EMF generated code

caseTrPointTerminal

public T caseTrPointTerminal(TrPointTerminal object)
Returns the result of interpreting the object as an instance of 'Tr Point Terminal'. 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 'Tr Point Terminal'.
See Also:
doSwitch(EObject)
EMF generated code

caseSubStateTrPointTerminal

public T caseSubStateTrPointTerminal(SubStateTrPointTerminal object)
Returns the result of interpreting the object as an instance of 'Sub State Tr Point Terminal'. 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 State Tr Point Terminal'.
See Also:
doSwitch(EObject)
EMF generated code

caseChoicepointTerminal

public T caseChoicepointTerminal(ChoicepointTerminal object)
Returns the result of interpreting the object as an instance of 'Choicepoint Terminal'. 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 'Choicepoint Terminal'.
See Also:
doSwitch(EObject)
EMF generated code

caseTrigger

public T caseTrigger(Trigger object)
Returns the result of interpreting the object as an instance of 'Trigger'. 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 'Trigger'.
See Also:
doSwitch(EObject)
EMF generated code

caseMessageFromIf

public T caseMessageFromIf(MessageFromIf object)
Returns the result of interpreting the object as an instance of 'Message From If'. 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 From If'.
See Also:
doSwitch(EObject)
EMF generated code

caseGuard

public T caseGuard(Guard object)
Returns the result of interpreting the object as an instance of 'Guard'. 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 'Guard'.
See Also:
doSwitch(EObject)
EMF generated code

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)
EMF generated code

caseAnnotation

public T caseAnnotation(Annotation object)
Returns the result of interpreting the object as an instance of '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 'Annotation'.
See Also:
doSwitch(EObject)
EMF generated code

caseKeyValue

public T caseKeyValue(KeyValue object)
Returns the result of interpreting the object as an instance of 'Key Value'. 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 'Key Value'.
See Also:
doSwitch(EObject)
EMF generated code

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)
EMF generated code

defaultCase

public T defaultCase(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)
EMF generated code