|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.uka.ipd.sdq.stoex.util.StoexSwitch<T>
public class StoexSwitch<T>
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.
StoexPackage| Field Summary | |
|---|---|
static String |
copyright
|
protected static StoexPackage |
modelPackage
The cached model package |
| Constructor Summary | |
|---|---|
StoexSwitch()
Creates an instance of the switch. |
|
| Method Summary | |
|---|---|
T |
caseAbstractNamedReference(AbstractNamedReference object)
Returns the result of interpreting the object as an instance of 'Abstract Named Reference'. |
T |
caseAtom(Atom object)
Returns the result of interpreting the object as an instance of 'Atom'. |
T |
caseBooleanExpression(BooleanExpression object)
Returns the result of interpreting the object as an instance of 'Boolean Expression'. |
T |
caseBooleanOperatorExpression(BooleanOperatorExpression object)
Returns the result of interpreting the object as an instance of 'Boolean Operator Expression'. |
T |
caseBoolLiteral(BoolLiteral object)
Returns the result of interpreting the object as an instance of 'Bool Literal'. |
T |
caseCompareExpression(CompareExpression object)
Returns the result of interpreting the object as an instance of 'Compare Expression'. |
T |
caseComparison(Comparison object)
Returns the result of interpreting the object as an instance of 'Comparison'. |
T |
caseDoubleLiteral(DoubleLiteral object)
Returns the result of interpreting the object as an instance of 'Double Literal'. |
T |
caseExpression(Expression object)
Returns the result of interpreting the object as an instance of 'Expression'. |
T |
caseFunctionLiteral(FunctionLiteral object)
Returns the result of interpreting the object as an instance of 'Function Literal'. |
T |
caseIfElse(IfElse object)
Returns the result of interpreting the object as an instance of 'If Else'. |
T |
caseIfElseExpression(IfElseExpression object)
Returns the result of interpreting the object as an instance of 'If Else Expression'. |
T |
caseIntLiteral(IntLiteral object)
Returns the result of interpreting the object as an instance of 'Int Literal'. |
T |
caseNamespaceReference(NamespaceReference object)
Returns the result of interpreting the object as an instance of 'Namespace Reference'. |
T |
caseNegativeExpression(NegativeExpression object)
Returns the result of interpreting the object as an instance of 'Negative Expression'. |
T |
caseNotExpression(NotExpression object)
Returns the result of interpreting the object as an instance of 'Not Expression'. |
T |
caseNumericLiteral(NumericLiteral object)
Returns the result of interpreting the object as an instance of 'Numeric Literal'. |
T |
caseParenthesis(Parenthesis object)
Returns the result of interpreting the object as an instance of 'Parenthesis'. |
T |
casePower(Power object)
Returns the result of interpreting the object as an instance of 'Power'. |
T |
casePowerExpression(PowerExpression object)
Returns the result of interpreting the object as an instance of 'Power Expression'. |
T |
caseProbabilityFunctionLiteral(ProbabilityFunctionLiteral object)
Returns the result of interpreting the object as an instance of 'Probability Function Literal'. |
T |
caseProduct(Product object)
Returns the result of interpreting the object as an instance of 'Product'. |
T |
caseProductExpression(ProductExpression object)
Returns the result of interpreting the object as an instance of 'Product Expression'. |
T |
caseRandomVariable(RandomVariable object)
Returns the result of interpreting the object as an instance of 'Random Variable'. |
T |
caseStringLiteral(StringLiteral object)
Returns the result of interpreting the object as an instance of 'String Literal'. |
T |
caseTerm(Term object)
Returns the result of interpreting the object as an instance of 'Term'. |
T |
caseTermExpression(TermExpression object)
Returns the result of interpreting the object as an instance of 'Term Expression'. |
T |
caseUnary(Unary object)
Returns the result of interpreting the object as an instance of 'Unary'. |
T |
caseUnitCarryingElement(UnitCarryingElement object)
Returns the result of interpreting the object as an instance of 'Unit Carrying Element'. |
T |
caseVariable(Variable object)
Returns the result of interpreting the object as an instance of 'Variable'. |
T |
caseVariableReference(VariableReference object)
Returns the result of interpreting the object as an instance of 'Variable Reference'. |
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. |
protected T |
doSwitch(EClass theEClass,
EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
T |
doSwitch(EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String copyright
protected static StoexPackage modelPackage
| Constructor Detail |
|---|
public StoexSwitch()
| Method Detail |
|---|
public T doSwitch(EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.
protected T doSwitch(EClass theEClass,
EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.
protected T doSwitch(int classifierID,
EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.public T caseVariableReference(VariableReference object)
object - the target of the switch.
doSwitch(EObject)public T caseAbstractNamedReference(AbstractNamedReference object)
object - the target of the switch.
doSwitch(EObject)public T caseNamespaceReference(NamespaceReference object)
object - the target of the switch.
doSwitch(EObject)public T caseVariable(Variable object)
object - the target of the switch.
doSwitch(EObject)public T caseAtom(Atom object)
object - the target of the switch.
doSwitch(EObject)public T caseUnary(Unary object)
object - the target of the switch.
doSwitch(EObject)public T casePower(Power object)
object - the target of the switch.
doSwitch(EObject)public T caseProduct(Product object)
object - the target of the switch.
doSwitch(EObject)public T caseTerm(Term object)
object - the target of the switch.
doSwitch(EObject)public T caseComparison(Comparison object)
object - the target of the switch.
doSwitch(EObject)public T caseBooleanExpression(BooleanExpression object)
object - the target of the switch.
doSwitch(EObject)public T caseIfElse(IfElse object)
object - the target of the switch.
doSwitch(EObject)public T caseExpression(Expression object)
object - the target of the switch.
doSwitch(EObject)public T caseTermExpression(TermExpression object)
object - the target of the switch.
doSwitch(EObject)public T caseRandomVariable(RandomVariable object)
object - the target of the switch.
doSwitch(EObject)public T caseProductExpression(ProductExpression object)
object - the target of the switch.
doSwitch(EObject)public T caseProbabilityFunctionLiteral(ProbabilityFunctionLiteral object)
object - the target of the switch.
doSwitch(EObject)public T caseParenthesis(Parenthesis object)
object - the target of the switch.
doSwitch(EObject)public T caseNumericLiteral(NumericLiteral object)
object - the target of the switch.
doSwitch(EObject)public T caseIntLiteral(IntLiteral object)
object - the target of the switch.
doSwitch(EObject)public T caseDoubleLiteral(DoubleLiteral object)
object - the target of the switch.
doSwitch(EObject)public T caseCompareExpression(CompareExpression object)
object - the target of the switch.
doSwitch(EObject)public T caseBoolLiteral(BoolLiteral object)
object - the target of the switch.
doSwitch(EObject)public T caseStringLiteral(StringLiteral object)
object - the target of the switch.
doSwitch(EObject)public T casePowerExpression(PowerExpression object)
object - the target of the switch.
doSwitch(EObject)public T caseBooleanOperatorExpression(BooleanOperatorExpression object)
object - the target of the switch.
doSwitch(EObject)public T caseNotExpression(NotExpression object)
object - the target of the switch.
doSwitch(EObject)public T caseNegativeExpression(NegativeExpression object)
object - the target of the switch.
doSwitch(EObject)public T caseFunctionLiteral(FunctionLiteral object)
object - the target of the switch.
doSwitch(EObject)public T caseIfElseExpression(IfElseExpression object)
object - the target of the switch.
doSwitch(EObject)public T caseUnitCarryingElement(UnitCarryingElement object)
object - the target of the switch.
doSwitch(EObject)public T defaultCase(EObject object)
object - the target of the switch.
#doSwitch(org.eclipse.emf.ecore.EObject)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||