TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.hyades.models.hierarchy.extensions.util
Class ExtensionsSwitch

java.lang.Object
  extended by org.eclipse.hyades.models.hierarchy.extensions.util.ExtensionsSwitch

public class ExtensionsSwitch
extends java.lang.Object

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.

See Also:
ExtensionsPackage
Generated

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

ExtensionsSwitch

public ExtensionsSwitch()
Creates an instance of the switch.

Generated
Method Detail

doSwitch

public 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.

Returns:
the first non-null result returned by a caseXXX call.
Generated

caseQuery

public java.lang.Object caseQuery(Query object)
Returns the result of interpretting the object as an instance of 'Query'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Query'.
See Also:
doSwitch(EObject)
Generated

caseSimpleSearchQuery

public java.lang.Object caseSimpleSearchQuery(SimpleSearchQuery object)
Returns the result of interpretting the object as an instance of 'Simple Search Query'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Simple Search Query'.
See Also:
doSwitch(EObject)
Generated

caseInstanceQuery

public java.lang.Object caseInstanceQuery(InstanceQuery object)
Returns the result of interpretting the object as an instance of 'Instance Query'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Instance Query'.
See Also:
doSwitch(EObject)
Generated

caseOrderByElement

public java.lang.Object caseOrderByElement(OrderByElement object)
Returns the result of interpretting the object as an instance of 'Order By Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Order By Element'.
See Also:
doSwitch(EObject)
Generated

caseQueryResult

public java.lang.Object caseQueryResult(QueryResult object)
Returns the result of interpretting the object as an instance of 'Query Result'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Query Result'.
See Also:
doSwitch(EObject)
Generated

caseBinaryExpression

public java.lang.Object caseBinaryExpression(BinaryExpression object)
Returns the result of interpretting the object as an instance of 'Binary Expression'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Binary Expression'.
See Also:
doSwitch(EObject)
Generated

caseOperand

public java.lang.Object caseOperand(Operand object)
Returns the result of interpretting the object as an instance of 'Operand'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Operand'.
See Also:
doSwitch(EObject)
Generated

caseResultEntry

public java.lang.Object caseResultEntry(ResultEntry object)
Returns the result of interpretting the object as an instance of 'Result Entry'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Result Entry'.
See Also:
doSwitch(EObject)
Generated

caseCorrelationQuery

public java.lang.Object caseCorrelationQuery(CorrelationQuery object)
Returns the result of interpretting the object as an instance of 'Correlation Query'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Correlation Query'.
See Also:
doSwitch(EObject)
Generated

caseTimeBasedCorrelationQuery

public java.lang.Object caseTimeBasedCorrelationQuery(TimeBasedCorrelationQuery object)
Returns the result of interpretting the object as an instance of 'Time Based Correlation Query'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Time Based Correlation Query'.
See Also:
doSwitch(EObject)
Generated

caseLogicalExpression

public java.lang.Object caseLogicalExpression(LogicalExpression object)
Returns the result of interpretting the object as an instance of 'Logical Expression'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Logical Expression'.
See Also:
doSwitch(EObject)
Generated

caseWhereExpression

public java.lang.Object caseWhereExpression(WhereExpression object)
Returns the result of interpretting the object as an instance of 'Where Expression'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Where Expression'.
See Also:
doSwitch(EObject)
Generated

caseArithmeticExpression

public java.lang.Object caseArithmeticExpression(ArithmeticExpression object)
Returns the result of interpretting the object as an instance of 'Arithmetic Expression'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Arithmetic Expression'.
See Also:
doSwitch(EObject)
Generated

caseNumericFunction

public java.lang.Object caseNumericFunction(NumericFunction object)
Returns the result of interpretting the object as an instance of 'Numeric Function'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Numeric Function'.
See Also:
doSwitch(EObject)
Generated

caseSimpleOperand

public java.lang.Object caseSimpleOperand(SimpleOperand object)
Returns the result of interpretting the object as an instance of 'Simple Operand'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Simple Operand'.
See Also:
doSwitch(EObject)
Generated

defaultCase

public java.lang.Object defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'EObject'.
See Also:
doSwitch(org.eclipse.emf.ecore.EObject)
Generated

TPTP 4.5.0 Platform Project
Public API Specification