|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.hyades.models.hierarchy.extensions.util.ExtensionsSwitch
public class ExtensionsSwitch
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.
ExtensionsPackage| Constructor Summary | |
|---|---|
ExtensionsSwitch()
Creates an instance of the switch |
|
| Method Summary | |
|---|---|
java.lang.Object |
caseArithmeticExpression(ArithmeticExpression object)
Returns the result of interpretting the object as an instance of 'Arithmetic Expression' |
java.lang.Object |
caseBinaryExpression(BinaryExpression object)
Returns the result of interpretting the object as an instance of 'Binary Expression' |
java.lang.Object |
caseCorrelationQuery(CorrelationQuery object)
Returns the result of interpretting the object as an instance of 'Correlation Query' |
java.lang.Object |
caseInstanceQuery(InstanceQuery object)
Returns the result of interpretting the object as an instance of 'Instance Query' |
java.lang.Object |
caseLogicalExpression(LogicalExpression object)
Returns the result of interpretting the object as an instance of 'Logical Expression' |
java.lang.Object |
caseNumericFunction(NumericFunction object)
Returns the result of interpretting the object as an instance of 'Numeric Function' |
java.lang.Object |
caseOperand(Operand object)
Returns the result of interpretting the object as an instance of 'Operand' |
java.lang.Object |
caseOrderByElement(OrderByElement object)
Returns the result of interpretting the object as an instance of 'Order By Element' |
java.lang.Object |
caseQuery(Query object)
Returns the result of interpretting the object as an instance of 'Query' |
java.lang.Object |
caseQueryResult(QueryResult object)
Returns the result of interpretting the object as an instance of 'Query Result' |
java.lang.Object |
caseResultEntry(ResultEntry object)
Returns the result of interpretting the object as an instance of 'Result Entry' |
java.lang.Object |
caseSimpleOperand(SimpleOperand object)
Returns the result of interpretting the object as an instance of 'Simple Operand' |
java.lang.Object |
caseSimpleSearchQuery(SimpleSearchQuery object)
Returns the result of interpretting the object as an instance of 'Simple Search Query' |
java.lang.Object |
caseTimeBasedCorrelationQuery(TimeBasedCorrelationQuery object)
Returns the result of interpretting the object as an instance of 'Time Based Correlation Query' |
java.lang.Object |
caseWhereExpression(WhereExpression object)
Returns the result of interpretting the object as an instance of 'Where Expression' |
java.lang.Object |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject' |
java.lang.Object |
doSwitch(org.eclipse.emf.ecore.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 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtensionsSwitch()
| Method Detail |
|---|
public java.lang.Object doSwitch(org.eclipse.emf.ecore.EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.public java.lang.Object caseQuery(Query object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseSimpleSearchQuery(SimpleSearchQuery object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseInstanceQuery(InstanceQuery object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseOrderByElement(OrderByElement object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseQueryResult(QueryResult object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseBinaryExpression(BinaryExpression object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseOperand(Operand object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseResultEntry(ResultEntry object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseCorrelationQuery(CorrelationQuery object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseTimeBasedCorrelationQuery(TimeBasedCorrelationQuery object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseLogicalExpression(LogicalExpression object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseWhereExpression(WhereExpression object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseArithmeticExpression(ArithmeticExpression object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseNumericFunction(NumericFunction object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseSimpleOperand(SimpleOperand object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object defaultCase(org.eclipse.emf.ecore.EObject object)
object - the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||