public class ParameterSwitch<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.
ParameterPackage| Constructor and Description |
|---|
ParameterSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAtom(de.uka.ipd.sdq.stoex.Atom object)
Returns the result of interpreting the object as an instance of 'Atom'.
|
T |
caseBooleanExpression(de.uka.ipd.sdq.stoex.BooleanExpression object)
Returns the result of interpreting the object as an instance of 'Boolean
Expression'.
|
T |
caseCharacterisedVariable(CharacterisedVariable object)
Returns the result of interpreting the object as an instance of 'Characterised
Variable'.
|
T |
caseComparison(de.uka.ipd.sdq.stoex.Comparison object)
Returns the result of interpreting the object as an instance of 'Comparison'.
|
T |
caseExpression(de.uka.ipd.sdq.stoex.Expression object)
Returns the result of interpreting the object as an instance of 'Expression'.
|
T |
caseIfElse(de.uka.ipd.sdq.stoex.IfElse object)
Returns the result of interpreting the object as an instance of 'If Else'.
|
T |
casePower(de.uka.ipd.sdq.stoex.Power object)
Returns the result of interpreting the object as an instance of 'Power'.
|
T |
caseProduct(de.uka.ipd.sdq.stoex.Product object)
Returns the result of interpreting the object as an instance of 'Product'.
|
T |
caseTerm(de.uka.ipd.sdq.stoex.Term object)
Returns the result of interpreting the object as an instance of 'Term'.
|
T |
caseUnary(de.uka.ipd.sdq.stoex.Unary object)
Returns the result of interpreting the object as an instance of 'Unary'.
|
T |
caseVariable(de.uka.ipd.sdq.stoex.Variable object)
Returns the result of interpreting the object as an instance of 'Variable'.
|
T |
caseVariableCharacterisation(VariableCharacterisation object)
Returns the result of interpreting the object as an instance of 'Variable
Characterisation'.
|
T |
caseVariableUsage(VariableUsage object)
Returns the result of interpreting the object as an instance of 'Variable Usage'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public static final String copyright
public ParameterSwitch()
public T caseVariableUsage(VariableUsage object)
object - the target of the switch.doSwitch(EObject)public T caseVariableCharacterisation(VariableCharacterisation object)
object - the target of the switch.doSwitch(EObject)public T caseCharacterisedVariable(CharacterisedVariable object)
object - the target of the switch.doSwitch(EObject)public T caseExpression(de.uka.ipd.sdq.stoex.Expression object)
object - the target of the switch.doSwitch(EObject)public T caseIfElse(de.uka.ipd.sdq.stoex.IfElse object)
object - the target of the switch.doSwitch(EObject)public T caseBooleanExpression(de.uka.ipd.sdq.stoex.BooleanExpression object)
object - the target of the switch.doSwitch(EObject)public T caseComparison(de.uka.ipd.sdq.stoex.Comparison object)
object - the target of the switch.doSwitch(EObject)public T caseTerm(de.uka.ipd.sdq.stoex.Term object)
object - the target of the switch.doSwitch(EObject)public T caseProduct(de.uka.ipd.sdq.stoex.Product object)
object - the target of the switch.doSwitch(EObject)public T casePower(de.uka.ipd.sdq.stoex.Power object)
object - the target of the switch.doSwitch(EObject)public T caseUnary(de.uka.ipd.sdq.stoex.Unary object)
object - the target of the switch.doSwitch(EObject)public T caseAtom(de.uka.ipd.sdq.stoex.Atom object)
object - the target of the switch.doSwitch(EObject)public T caseVariable(de.uka.ipd.sdq.stoex.Variable 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)