public class SfcSwitch<T> extends 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.
SfcPackage
Constructor and Description |
---|
SfcSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAction(Action object)
Returns the result of interpreting the object as an instance of 'Action'.
|
T |
caseActionAssociation(ActionAssociation object)
Returns the result of interpreting the object as an instance of 'Action Association'.
|
T |
caseActionQualifier(ActionQualifier object)
Returns the result of interpreting the object as an instance of 'Action Qualifier'.
|
T |
caseFunctionBlockBodySpecification(FunctionBlockBodySpecification object)
Returns the result of interpreting the object as an instance of 'Function Block Body Specification'.
|
T |
caseSequentialFunctionChart(SequentialFunctionChart object)
Returns the result of interpreting the object as an instance of 'Sequential Function Chart'.
|
T |
caseSimpleActionQualifier(SimpleActionQualifier object)
Returns the result of interpreting the object as an instance of 'Simple Action Qualifier'.
|
T |
caseSimpleQualifier(SimpleQualifier object)
Returns the result of interpreting the object as an instance of 'Simple Qualifier'.
|
T |
caseStep(Step object)
Returns the result of interpreting the object as an instance of 'Step'.
|
T |
caseTimedActionQualifier(TimedActionQualifier object)
Returns the result of interpreting the object as an instance of 'Timed Action Qualifier'.
|
T |
caseTransition(Transition object)
Returns the result of interpreting the object as an instance of 'Transition'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public SfcSwitch()
public T caseAction(Action object)
object
- the target of the switch.doSwitch(EObject)
public T caseActionAssociation(ActionAssociation object)
object
- the target of the switch.doSwitch(EObject)
public T caseActionQualifier(ActionQualifier object)
object
- the target of the switch.doSwitch(EObject)
public T caseSequentialFunctionChart(SequentialFunctionChart object)
object
- the target of the switch.doSwitch(EObject)
public T caseSimpleActionQualifier(SimpleActionQualifier object)
object
- the target of the switch.doSwitch(EObject)
public T caseSimpleQualifier(SimpleQualifier object)
object
- the target of the switch.doSwitch(EObject)
public T caseStep(Step object)
object
- the target of the switch.doSwitch(EObject)
public T caseTimedActionQualifier(TimedActionQualifier object)
object
- the target of the switch.doSwitch(EObject)
public T caseTransition(Transition object)
object
- the target of the switch.doSwitch(EObject)
public T caseFunctionBlockBodySpecification(FunctionBlockBodySpecification object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(EObject object)
defaultCase
in class Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)