public class FlammSwitch<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.
FlammPackage
Constructor and Description |
---|
FlammSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseACIDavoidable(ACIDavoidable object)
Returns the result of interpreting the object as an instance of 'ACI Davoidable'.
|
T |
caseACIDmitigation(ACIDmitigation object)
Returns the result of interpreting the object as an instance of 'ACI Dmitigation'.
|
T |
caseComponent(Component object)
Returns the result of interpreting the object as an instance of 'Component'.
|
T |
caseCompositeComponent(CompositeComponent object)
Returns the result of interpreting the object as an instance of 'Composite Component'.
|
T |
caseConnection(Connection object)
Returns the result of interpreting the object as an instance of 'Connection'.
|
T |
caseExpression(Expression object)
Returns the result of interpreting the object as an instance of 'Expression'.
|
T |
caseFailure(Failure object)
Returns the result of interpreting the object as an instance of 'Failure'.
|
T |
caseFlaBehaviour(FlaBehaviour object)
Returns the result of interpreting the object as an instance of 'Fla Behaviour'.
|
T |
caseNamedElement(NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'.
|
T |
casePort(Port object)
Returns the result of interpreting the object as an instance of 'Port'.
|
T |
caseRule(Rule object)
Returns the result of interpreting the object as an instance of 'Rule'.
|
T |
caseSimpleComponent(SimpleComponent object)
Returns the result of interpreting the object as an instance of 'Simple Component'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public T caseNamedElement(NamedElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseFlaBehaviour(FlaBehaviour object)
object
- the target of the switch.doSwitch(EObject)
public T caseComponent(Component object)
object
- the target of the switch.doSwitch(EObject)
public T caseCompositeComponent(CompositeComponent object)
object
- the target of the switch.doSwitch(EObject)
public T caseSimpleComponent(SimpleComponent object)
object
- the target of the switch.doSwitch(EObject)
public T casePort(Port object)
object
- the target of the switch.doSwitch(EObject)
public T caseConnection(Connection object)
object
- the target of the switch.doSwitch(EObject)
public T caseRule(Rule object)
object
- the target of the switch.doSwitch(EObject)
public T caseExpression(Expression object)
object
- the target of the switch.doSwitch(EObject)
public T caseFailure(Failure object)
object
- the target of the switch.doSwitch(EObject)
public T caseACIDavoidable(ACIDavoidable object)
object
- the target of the switch.doSwitch(EObject)
public T caseACIDmitigation(ACIDmitigation 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)