public class SANModelSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
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.
SANModelPackage
Constructor and Description |
---|
SANModelSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseActivity(Activity object)
Returns the result of interpreting the object as an instance of 'Activity'.
|
T |
caseActivityPlaceCase(ActivityPlaceCase object)
Returns the result of interpreting the object as an instance of 'Activity Place Case'.
|
T |
caseAtomicNode(AtomicNode object)
Returns the result of interpreting the object as an instance of 'Atomic Node'.
|
T |
caseComposedNode(ComposedNode object)
Returns the result of interpreting the object as an instance of 'Composed Node'.
|
T |
caseGate(Gate object)
Returns the result of interpreting the object as an instance of 'Gate'.
|
T |
caseGlobalVariable(GlobalVariable object)
Returns the result of interpreting the object as an instance of 'Global Variable'.
|
T |
caseGraphicalElement(GraphicalElement object)
Returns the result of interpreting the object as an instance of 'Graphical Element'.
|
T |
caseInputGate(InputGate object)
Returns the result of interpreting the object as an instance of 'Input Gate'.
|
T |
caseInstantaneousActivity(InstantaneousActivity object)
Returns the result of interpreting the object as an instance of 'Instantaneous Activity'.
|
T |
caseJoin(Join object)
Returns the result of interpreting the object as an instance of 'Join'.
|
T |
caseNamedElement(NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'.
|
T |
caseNode(Node object)
Returns the result of interpreting the object as an instance of 'Node'.
|
T |
caseOutputGate(OutputGate object)
Returns the result of interpreting the object as an instance of 'Output Gate'.
|
T |
casePlace(Place object)
Returns the result of interpreting the object as an instance of 'Place'.
|
T |
casePrimitive(Primitive object)
Returns the result of interpreting the object as an instance of 'Primitive'.
|
T |
caseRep(Rep object)
Returns the result of interpreting the object as an instance of 'Rep'.
|
T |
caseSANModel(SANModel object)
Returns the result of interpreting the object as an instance of 'SAN Model'.
|
T |
caseSharedState(SharedState object)
Returns the result of interpreting the object as an instance of 'Shared State'.
|
T |
caseTimedActivity(TimedActivity object)
Returns the result of interpreting the object as an instance of 'Timed Activity'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public T caseSANModel(SANModel object)
object
- the target of the switch.doSwitch(EObject)
public T caseNamedElement(NamedElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseNode(Node object)
object
- the target of the switch.doSwitch(EObject)
public T caseComposedNode(ComposedNode object)
object
- the target of the switch.doSwitch(EObject)
public T caseSharedState(SharedState object)
object
- the target of the switch.doSwitch(EObject)
public T caseJoin(Join object)
object
- the target of the switch.doSwitch(EObject)
public T caseRep(Rep object)
object
- the target of the switch.doSwitch(EObject)
public T caseAtomicNode(AtomicNode object)
object
- the target of the switch.doSwitch(EObject)
public T casePlace(Place object)
object
- the target of the switch.doSwitch(EObject)
public T caseTimedActivity(TimedActivity object)
object
- the target of the switch.doSwitch(EObject)
public T caseInstantaneousActivity(InstantaneousActivity object)
object
- the target of the switch.doSwitch(EObject)
public T caseInputGate(InputGate object)
object
- the target of the switch.doSwitch(EObject)
public T caseOutputGate(OutputGate object)
object
- the target of the switch.doSwitch(EObject)
public T caseActivity(Activity object)
object
- the target of the switch.doSwitch(EObject)
public T caseGate(Gate object)
object
- the target of the switch.doSwitch(EObject)
public T caseGlobalVariable(GlobalVariable object)
object
- the target of the switch.doSwitch(EObject)
public T caseActivityPlaceCase(ActivityPlaceCase object)
object
- the target of the switch.doSwitch(EObject)
public T caseGraphicalElement(GraphicalElement object)
object
- the target of the switch.doSwitch(EObject)
public T casePrimitive(Primitive object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)