org.eclipse.ocl.examples.codegen.cgmodel.util
Class CGModelSwitch<T>

java.lang.Object
  extended by org.eclipse.emf.ecore.util.Switch<T>
      extended by org.eclipse.ocl.examples.codegen.cgmodel.util.CGModelSwitch<T>

public class CGModelSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<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.

See Also:
CGModelPackage
Generated

Field Summary
protected static CGModelPackage modelPackage
          The cached model package
 
Constructor Summary
CGModelSwitch()
          Creates an instance of the switch.
 
Method Summary
 T caseCGAccumulator(CGAccumulator object)
          Returns the result of interpreting the object as an instance of 'CG Accumulator'.
 T caseCGAssertNonNullExp(CGAssertNonNullExp object)
          Returns the result of interpreting the object as an instance of 'CG Assert Non Null Exp'.
 T caseCGBoolean(CGBoolean object)
          Returns the result of interpreting the object as an instance of 'CG Boolean'.
 T caseCGBoxExp(CGBoxExp object)
          Returns the result of interpreting the object as an instance of 'CG Box Exp'.
 T caseCGBuiltInIterationCallExp(CGBuiltInIterationCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Built In Iteration Call Exp'.
 T caseCGCallable(CGCallable object)
          Returns the result of interpreting the object as an instance of 'CG Callable'.
 T caseCGCallExp(CGCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Call Exp'.
 T caseCGCastExp(CGCastExp object)
          Returns the result of interpreting the object as an instance of 'CG Cast Exp'.
 T caseCGCatchExp(CGCatchExp object)
          Returns the result of interpreting the object as an instance of 'CG Catch Exp'.
 T caseCGClass(CGClass object)
          Returns the result of interpreting the object as an instance of 'CG Class'.
 T caseCGCollectionExp(CGCollectionExp object)
          Returns the result of interpreting the object as an instance of 'CG Collection Exp'.
 T caseCGCollectionPart(CGCollectionPart object)
          Returns the result of interpreting the object as an instance of 'CG Collection Part'.
 T caseCGConstant(CGConstant object)
          Returns the result of interpreting the object as an instance of 'CG Constant'.
 T caseCGConstantExp(CGConstantExp object)
          Returns the result of interpreting the object as an instance of 'CG Constant Exp'.
 T caseCGConstraint(CGConstraint object)
          Returns the result of interpreting the object as an instance of 'CG Constraint'.
 T caseCGConstructorExp(CGConstructorExp object)
          Returns the result of interpreting the object as an instance of 'CG Constructor Exp'.
 T caseCGConstructorPart(CGConstructorPart object)
          Returns the result of interpreting the object as an instance of 'CG Constructor Part'.
 T caseCGEcoreClassConstructorExp(CGEcoreClassConstructorExp object)
          Returns the result of interpreting the object as an instance of 'CG Ecore Class Constructor Exp'.
 T caseCGEcoreDataTypeConstructorExp(CGEcoreDataTypeConstructorExp object)
          Returns the result of interpreting the object as an instance of 'CG Ecore Data Type Constructor Exp'.
 T caseCGEcoreOperation(CGEcoreOperation object)
          Returns the result of interpreting the object as an instance of 'CG Ecore Operation'.
 T caseCGEcoreOperationCallExp(CGEcoreOperationCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Ecore Operation Call Exp'.
 T caseCGEcoreOppositePropertyCallExp(CGEcoreOppositePropertyCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Ecore Opposite Property Call Exp'.
 T caseCGEcorePropertyCallExp(CGEcorePropertyCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Ecore Property Call Exp'.
 T caseCGElement(CGElement object)
          Returns the result of interpreting the object as an instance of 'CG Element'.
 T caseCGElementId(CGElementId object)
          Returns the result of interpreting the object as an instance of 'CG Element Id'.
 T caseCGExecutorCompositionProperty(CGExecutorCompositionProperty object)
          Returns the result of interpreting the object as an instance of 'CG Executor Composition Property'.
 T caseCGExecutorConstructorPart(CGExecutorConstructorPart object)
          Returns the result of interpreting the object as an instance of 'CG Executor Constructor Part'.
 T caseCGExecutorNavigationProperty(CGExecutorNavigationProperty object)
          Returns the result of interpreting the object as an instance of 'CG Executor Navigation Property'.
 T caseCGExecutorOperation(CGExecutorOperation object)
          Returns the result of interpreting the object as an instance of 'CG Executor Operation'.
 T caseCGExecutorOperationCallExp(CGExecutorOperationCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Executor Operation Call Exp'.
 T caseCGExecutorOppositeProperty(CGExecutorOppositeProperty object)
          Returns the result of interpreting the object as an instance of 'CG Executor Opposite Property'.
 T caseCGExecutorOppositePropertyCallExp(CGExecutorOppositePropertyCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Executor Opposite Property Call Exp'.
 T caseCGExecutorProperty(CGExecutorProperty object)
          Returns the result of interpreting the object as an instance of 'CG Executor Property'.
 T caseCGExecutorPropertyCallExp(CGExecutorPropertyCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Executor Property Call Exp'.
 T caseCGExecutorType(CGExecutorType object)
          Returns the result of interpreting the object as an instance of 'CG Executor Type'.
 T caseCGFinalVariable(CGFinalVariable object)
          Returns the result of interpreting the object as an instance of 'CG Final Variable'.
 T caseCGGuardExp(CGGuardExp object)
          Returns the result of interpreting the object as an instance of 'CG Guard Exp'.
 T caseCGIfExp(CGIfExp object)
          Returns the result of interpreting the object as an instance of 'CG If Exp'.
 T caseCGInteger(CGInteger object)
          Returns the result of interpreting the object as an instance of 'CG Integer'.
 T caseCGInvalid(CGInvalid object)
          Returns the result of interpreting the object as an instance of 'CG Invalid'.
 T caseCGIsEqualExp(CGIsEqualExp object)
          Returns the result of interpreting the object as an instance of 'CG Is Equal Exp'.
 T caseCGIsInvalidExp(CGIsInvalidExp object)
          Returns the result of interpreting the object as an instance of 'CG Is Invalid Exp'.
 T caseCGIsUndefinedExp(CGIsUndefinedExp object)
          Returns the result of interpreting the object as an instance of 'CG Is Undefined Exp'.
 T caseCGIterationCallExp(CGIterationCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Iteration Call Exp'.
 T caseCGIterator(CGIterator object)
          Returns the result of interpreting the object as an instance of 'CG Iterator'.
 T caseCGLetExp(CGLetExp object)
          Returns the result of interpreting the object as an instance of 'CG Let Exp'.
 T caseCGLibraryIterateCallExp(CGLibraryIterateCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Library Iterate Call Exp'.
 T caseCGLibraryIterationCallExp(CGLibraryIterationCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Library Iteration Call Exp'.
 T caseCGLibraryOperation(CGLibraryOperation object)
          Returns the result of interpreting the object as an instance of 'CG Library Operation'.
 T caseCGLibraryOperationCallExp(CGLibraryOperationCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Library Operation Call Exp'.
 T caseCGLibraryPropertyCallExp(CGLibraryPropertyCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Library Property Call Exp'.
 T caseCGLocalVariable(CGLocalVariable object)
          Returns the result of interpreting the object as an instance of 'CG Local Variable'.
 T caseCGModel(CGModel object)
          Returns the result of interpreting the object as an instance of 'CG Model'.
 T caseCGNamedElement(CGNamedElement object)
          Returns the result of interpreting the object as an instance of 'CG Named Element'.
 T caseCGNavigationCallExp(CGNavigationCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Navigation Call Exp'.
 T caseCGNull(CGNull object)
          Returns the result of interpreting the object as an instance of 'CG Null'.
 T caseCGNumber(CGNumber object)
          Returns the result of interpreting the object as an instance of 'CG Number'.
 T caseCGOperation(CGOperation object)
          Returns the result of interpreting the object as an instance of 'CG Operation'.
 T caseCGOperationCallExp(CGOperationCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Operation Call Exp'.
 T caseCGOppositePropertyCallExp(CGOppositePropertyCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Opposite Property Call Exp'.
 T caseCGPackage(CGPackage object)
          Returns the result of interpreting the object as an instance of 'CG Package'.
 T caseCGParameter(CGParameter object)
          Returns the result of interpreting the object as an instance of 'CG Parameter'.
 T caseCGProperty(CGProperty object)
          Returns the result of interpreting the object as an instance of 'CG Property'.
 T caseCGPropertyCallExp(CGPropertyCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Property Call Exp'.
 T caseCGReal(CGReal object)
          Returns the result of interpreting the object as an instance of 'CG Real'.
 T caseCGSettableVariable(CGSettableVariable object)
          Returns the result of interpreting the object as an instance of 'CG Settable Variable'.
 T caseCGString(CGString object)
          Returns the result of interpreting the object as an instance of 'CG String'.
 T caseCGText(CGText object)
          Returns the result of interpreting the object as an instance of 'CG Text'.
 T caseCGTextParameter(CGTextParameter object)
          Returns the result of interpreting the object as an instance of 'CG Text Parameter'.
 T caseCGThrowExp(CGThrowExp object)
          Returns the result of interpreting the object as an instance of 'CG Throw Exp'.
 T caseCGTupleExp(CGTupleExp object)
          Returns the result of interpreting the object as an instance of 'CG Tuple Exp'.
 T caseCGTuplePart(CGTuplePart object)
          Returns the result of interpreting the object as an instance of 'CG Tuple Part'.
 T caseCGTuplePartCallExp(CGTuplePartCallExp object)
          Returns the result of interpreting the object as an instance of 'CG Tuple Part Call Exp'.
 T caseCGTypedElement(CGTypedElement object)
          Returns the result of interpreting the object as an instance of 'CG Typed Element'.
 T caseCGTypeExp(CGTypeExp object)
          Returns the result of interpreting the object as an instance of 'CG Type Exp'.
 T caseCGTypeId(CGTypeId object)
          Returns the result of interpreting the object as an instance of 'CG Type Id'.
 T caseCGUnboxExp(CGUnboxExp object)
          Returns the result of interpreting the object as an instance of 'CG Unbox Exp'.
 T caseCGUnlimited(CGUnlimited object)
          Returns the result of interpreting the object as an instance of 'CG Unlimited'.
 T caseCGValuedElement(CGValuedElement object)
          Returns the result of interpreting the object as an instance of 'CG Valued Element'.
 T caseCGVariable(CGVariable object)
          Returns the result of interpreting the object as an instance of 'CG Variable'.
 T caseCGVariableExp(CGVariableExp object)
          Returns the result of interpreting the object as an instance of 'CG Variable Exp'.
 T caseNameable(Nameable object)
          Returns the result of interpreting the object as an instance of 'Nameable'.
 T defaultCase(org.eclipse.emf.ecore.EObject object)
          Returns the result of interpreting the object as an instance of 'EObject'.
protected  T doSwitch(int classifierID, 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.
protected  boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
          Checks whether this is a switch for the given package.
 
Methods inherited from class org.eclipse.emf.ecore.util.Switch
doSwitch, doSwitch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelPackage

protected static CGModelPackage modelPackage
The cached model package

Generated
Constructor Detail

CGModelSwitch

public CGModelSwitch()
Creates an instance of the switch.

Generated
Method Detail

isSwitchFor

protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage)
Checks whether this is a switch for the given package.

Specified by:
isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>
Parameters:
ePackage - the package in question.
Returns:
whether this is a switch for the given package.
Generated

doSwitch

protected T doSwitch(int classifierID,
                     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.

Overrides:
doSwitch in class org.eclipse.emf.ecore.util.Switch<T>
Returns:
the first non-null result returned by a caseXXX call.
Generated

caseCGAccumulator

public T caseCGAccumulator(CGAccumulator object)
Returns the result of interpreting the object as an instance of 'CG Accumulator'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGAssertNonNullExp

public T caseCGAssertNonNullExp(CGAssertNonNullExp object)
Returns the result of interpreting the object as an instance of 'CG Assert Non Null Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Assert Non Null Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGBoolean

public T caseCGBoolean(CGBoolean object)
Returns the result of interpreting the object as an instance of 'CG Boolean'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGBoxExp

public T caseCGBoxExp(CGBoxExp object)
Returns the result of interpreting the object as an instance of 'CG Box Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Box Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGBuiltInIterationCallExp

public T caseCGBuiltInIterationCallExp(CGBuiltInIterationCallExp object)
Returns the result of interpreting the object as an instance of 'CG Built In Iteration Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Built In Iteration Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGCallable

public T caseCGCallable(CGCallable object)
Returns the result of interpreting the object as an instance of 'CG Callable'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGClass

public T caseCGClass(CGClass object)
Returns the result of interpreting the object as an instance of 'CG Class'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGCallExp

public T caseCGCallExp(CGCallExp object)
Returns the result of interpreting the object as an instance of 'CG Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGCastExp

public T caseCGCastExp(CGCastExp object)
Returns the result of interpreting the object as an instance of 'CG Cast Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Cast Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGCatchExp

public T caseCGCatchExp(CGCatchExp object)
Returns the result of interpreting the object as an instance of 'CG Catch Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Catch Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGCollectionExp

public T caseCGCollectionExp(CGCollectionExp object)
Returns the result of interpreting the object as an instance of 'CG Collection Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Collection Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGCollectionPart

public T caseCGCollectionPart(CGCollectionPart object)
Returns the result of interpreting the object as an instance of 'CG Collection Part'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Collection Part'.
See Also:
doSwitch(EObject)
Generated

caseCGConstant

public T caseCGConstant(CGConstant object)
Returns the result of interpreting the object as an instance of 'CG Constant'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGFinalVariable

public T caseCGFinalVariable(CGFinalVariable object)
Returns the result of interpreting the object as an instance of 'CG Final Variable'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Final Variable'.
See Also:
doSwitch(EObject)
Generated

caseCGGuardExp

public T caseCGGuardExp(CGGuardExp object)
Returns the result of interpreting the object as an instance of 'CG Guard Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Guard Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGEcoreOperationCallExp

public T caseCGEcoreOperationCallExp(CGEcoreOperationCallExp object)
Returns the result of interpreting the object as an instance of 'CG Ecore Operation Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Ecore Operation Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGEcoreOppositePropertyCallExp

public T caseCGEcoreOppositePropertyCallExp(CGEcoreOppositePropertyCallExp object)
Returns the result of interpreting the object as an instance of 'CG Ecore Opposite Property Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Ecore Opposite Property Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGEcorePropertyCallExp

public T caseCGEcorePropertyCallExp(CGEcorePropertyCallExp object)
Returns the result of interpreting the object as an instance of 'CG Ecore Property Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Ecore Property Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGInteger

public T caseCGInteger(CGInteger object)
Returns the result of interpreting the object as an instance of 'CG Integer'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGInvalid

public T caseCGInvalid(CGInvalid object)
Returns the result of interpreting the object as an instance of 'CG Invalid'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGIsEqualExp

public T caseCGIsEqualExp(CGIsEqualExp object)
Returns the result of interpreting the object as an instance of 'CG Is Equal Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Is Equal Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGIsInvalidExp

public T caseCGIsInvalidExp(CGIsInvalidExp object)
Returns the result of interpreting the object as an instance of 'CG Is Invalid Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Is Invalid Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGIsUndefinedExp

public T caseCGIsUndefinedExp(CGIsUndefinedExp object)
Returns the result of interpreting the object as an instance of 'CG Is Undefined Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Is Undefined Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGIterationCallExp

public T caseCGIterationCallExp(CGIterationCallExp object)
Returns the result of interpreting the object as an instance of 'CG Iteration Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Iteration Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGIterator

public T caseCGIterator(CGIterator object)
Returns the result of interpreting the object as an instance of 'CG Iterator'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGLibraryOperationCallExp

public T caseCGLibraryOperationCallExp(CGLibraryOperationCallExp object)
Returns the result of interpreting the object as an instance of 'CG Library Operation Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Library Operation Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGLibraryPropertyCallExp

public T caseCGLibraryPropertyCallExp(CGLibraryPropertyCallExp object)
Returns the result of interpreting the object as an instance of 'CG Library Property Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Library Property Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGConstantExp

public T caseCGConstantExp(CGConstantExp object)
Returns the result of interpreting the object as an instance of 'CG Constant Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Constant Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGConstraint

public T caseCGConstraint(CGConstraint object)
Returns the result of interpreting the object as an instance of 'CG Constraint'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGConstructorExp

public T caseCGConstructorExp(CGConstructorExp object)
Returns the result of interpreting the object as an instance of 'CG Constructor Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Constructor Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGConstructorPart

public T caseCGConstructorPart(CGConstructorPart object)
Returns the result of interpreting the object as an instance of 'CG Constructor Part'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Constructor Part'.
See Also:
doSwitch(EObject)
Generated

caseCGEcoreClassConstructorExp

public T caseCGEcoreClassConstructorExp(CGEcoreClassConstructorExp object)
Returns the result of interpreting the object as an instance of 'CG Ecore Class Constructor Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Ecore Class Constructor Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGEcoreDataTypeConstructorExp

public T caseCGEcoreDataTypeConstructorExp(CGEcoreDataTypeConstructorExp object)
Returns the result of interpreting the object as an instance of 'CG Ecore Data Type Constructor Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Ecore Data Type Constructor Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGEcoreOperation

public T caseCGEcoreOperation(CGEcoreOperation object)
Returns the result of interpreting the object as an instance of 'CG Ecore Operation'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Ecore Operation'.
See Also:
doSwitch(EObject)
Generated

caseCGLetExp

public T caseCGLetExp(CGLetExp object)
Returns the result of interpreting the object as an instance of 'CG Let Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Let Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGLibraryIterateCallExp

public T caseCGLibraryIterateCallExp(CGLibraryIterateCallExp object)
Returns the result of interpreting the object as an instance of 'CG Library Iterate Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Library Iterate Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGLibraryIterationCallExp

public T caseCGLibraryIterationCallExp(CGLibraryIterationCallExp object)
Returns the result of interpreting the object as an instance of 'CG Library Iteration Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Library Iteration Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGLibraryOperation

public T caseCGLibraryOperation(CGLibraryOperation object)
Returns the result of interpreting the object as an instance of 'CG Library Operation'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Library Operation'.
See Also:
doSwitch(EObject)
Generated

caseCGLocalVariable

public T caseCGLocalVariable(CGLocalVariable object)
Returns the result of interpreting the object as an instance of 'CG Local Variable'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Local Variable'.
See Also:
doSwitch(EObject)
Generated

caseCGModel

public T caseCGModel(CGModel object)
Returns the result of interpreting the object as an instance of 'CG Model'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGElement

public T caseCGElement(CGElement object)
Returns the result of interpreting the object as an instance of 'CG 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 interpreting the object as an instance of 'CG Element'.
See Also:
doSwitch(EObject)
Generated

caseCGElementId

public T caseCGElementId(CGElementId object)
Returns the result of interpreting the object as an instance of 'CG Element Id'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Element Id'.
See Also:
doSwitch(EObject)
Generated

caseCGExecutorCompositionProperty

public T caseCGExecutorCompositionProperty(CGExecutorCompositionProperty object)
Returns the result of interpreting the object as an instance of 'CG Executor Composition Property'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Executor Composition Property'.
See Also:
doSwitch(EObject)
Generated

caseCGExecutorConstructorPart

public T caseCGExecutorConstructorPart(CGExecutorConstructorPart object)
Returns the result of interpreting the object as an instance of 'CG Executor Constructor Part'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Executor Constructor Part'.
See Also:
doSwitch(EObject)
Generated

caseCGExecutorNavigationProperty

public T caseCGExecutorNavigationProperty(CGExecutorNavigationProperty object)
Returns the result of interpreting the object as an instance of 'CG Executor Navigation Property'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Executor Navigation Property'.
See Also:
doSwitch(EObject)
Generated

caseCGExecutorOppositeProperty

public T caseCGExecutorOppositeProperty(CGExecutorOppositeProperty object)
Returns the result of interpreting the object as an instance of 'CG Executor Opposite Property'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Executor Opposite Property'.
See Also:
doSwitch(EObject)
Generated

caseCGExecutorOperation

public T caseCGExecutorOperation(CGExecutorOperation object)
Returns the result of interpreting the object as an instance of 'CG Executor Operation'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Executor Operation'.
See Also:
doSwitch(EObject)
Generated

caseCGExecutorOperationCallExp

public T caseCGExecutorOperationCallExp(CGExecutorOperationCallExp object)
Returns the result of interpreting the object as an instance of 'CG Executor Operation Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Executor Operation Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGExecutorOppositePropertyCallExp

public T caseCGExecutorOppositePropertyCallExp(CGExecutorOppositePropertyCallExp object)
Returns the result of interpreting the object as an instance of 'CG Executor Opposite Property Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Executor Opposite Property Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGExecutorProperty

public T caseCGExecutorProperty(CGExecutorProperty object)
Returns the result of interpreting the object as an instance of 'CG Executor Property'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Executor Property'.
See Also:
doSwitch(EObject)
Generated

caseCGExecutorPropertyCallExp

public T caseCGExecutorPropertyCallExp(CGExecutorPropertyCallExp object)
Returns the result of interpreting the object as an instance of 'CG Executor Property Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Executor Property Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGExecutorType

public T caseCGExecutorType(CGExecutorType object)
Returns the result of interpreting the object as an instance of 'CG Executor Type'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Executor Type'.
See Also:
doSwitch(EObject)
Generated

caseCGIfExp

public T caseCGIfExp(CGIfExp object)
Returns the result of interpreting the object as an instance of 'CG If Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG If Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGNamedElement

public T caseCGNamedElement(CGNamedElement object)
Returns the result of interpreting the object as an instance of 'CG Named 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 interpreting the object as an instance of 'CG Named Element'.
See Also:
doSwitch(EObject)
Generated

caseCGNavigationCallExp

public T caseCGNavigationCallExp(CGNavigationCallExp object)
Returns the result of interpreting the object as an instance of 'CG Navigation Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Navigation Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGNull

public T caseCGNull(CGNull object)
Returns the result of interpreting the object as an instance of 'CG Null'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGNumber

public T caseCGNumber(CGNumber object)
Returns the result of interpreting the object as an instance of 'CG Number'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGOperation

public T caseCGOperation(CGOperation object)
Returns the result of interpreting the object as an instance of 'CG Operation'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGOperationCallExp

public T caseCGOperationCallExp(CGOperationCallExp object)
Returns the result of interpreting the object as an instance of 'CG Operation Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Operation Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGOppositePropertyCallExp

public T caseCGOppositePropertyCallExp(CGOppositePropertyCallExp object)
Returns the result of interpreting the object as an instance of 'CG Opposite Property Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Opposite Property Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGPackage

public T caseCGPackage(CGPackage object)
Returns the result of interpreting the object as an instance of 'CG Package'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGParameter

public T caseCGParameter(CGParameter object)
Returns the result of interpreting the object as an instance of 'CG Parameter'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGProperty

public T caseCGProperty(CGProperty object)
Returns the result of interpreting the object as an instance of 'CG Property'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGPropertyCallExp

public T caseCGPropertyCallExp(CGPropertyCallExp object)
Returns the result of interpreting the object as an instance of 'CG Property Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Property Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGReal

public T caseCGReal(CGReal object)
Returns the result of interpreting the object as an instance of 'CG Real'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGSettableVariable

public T caseCGSettableVariable(CGSettableVariable object)
Returns the result of interpreting the object as an instance of 'CG Settable Variable'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Settable Variable'.
See Also:
doSwitch(EObject)
Generated

caseCGString

public T caseCGString(CGString object)
Returns the result of interpreting the object as an instance of 'CG String'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGText

public T caseCGText(CGText object)
Returns the result of interpreting the object as an instance of 'CG Text'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGTextParameter

public T caseCGTextParameter(CGTextParameter object)
Returns the result of interpreting the object as an instance of 'CG Text Parameter'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Text Parameter'.
See Also:
doSwitch(EObject)
Generated

caseCGThrowExp

public T caseCGThrowExp(CGThrowExp object)
Returns the result of interpreting the object as an instance of 'CG Throw Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Throw Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGTupleExp

public T caseCGTupleExp(CGTupleExp object)
Returns the result of interpreting the object as an instance of 'CG Tuple Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Tuple Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGTuplePart

public T caseCGTuplePart(CGTuplePart object)
Returns the result of interpreting the object as an instance of 'CG Tuple Part'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Tuple Part'.
See Also:
doSwitch(EObject)
Generated

caseCGTuplePartCallExp

public T caseCGTuplePartCallExp(CGTuplePartCallExp object)
Returns the result of interpreting the object as an instance of 'CG Tuple Part Call Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Tuple Part Call Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGTypeId

public T caseCGTypeId(CGTypeId object)
Returns the result of interpreting the object as an instance of 'CG Type Id'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Type Id'.
See Also:
doSwitch(EObject)
Generated

caseCGTypeExp

public T caseCGTypeExp(CGTypeExp object)
Returns the result of interpreting the object as an instance of 'CG Type Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Type Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGTypedElement

public T caseCGTypedElement(CGTypedElement object)
Returns the result of interpreting the object as an instance of 'CG Typed 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 interpreting the object as an instance of 'CG Typed Element'.
See Also:
doSwitch(EObject)
Generated

caseCGUnboxExp

public T caseCGUnboxExp(CGUnboxExp object)
Returns the result of interpreting the object as an instance of 'CG Unbox Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Unbox Exp'.
See Also:
doSwitch(EObject)
Generated

caseCGUnlimited

public T caseCGUnlimited(CGUnlimited object)
Returns the result of interpreting the object as an instance of 'CG Unlimited'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGValuedElement

public T caseCGValuedElement(CGValuedElement object)
Returns the result of interpreting the object as an instance of 'CG Valued 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 interpreting the object as an instance of 'CG Valued Element'.
See Also:
doSwitch(EObject)
Generated

caseCGVariable

public T caseCGVariable(CGVariable object)
Returns the result of interpreting the object as an instance of 'CG Variable'. This implementation returns null; returning a non-null result will terminate the switch.

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

caseCGVariableExp

public T caseCGVariableExp(CGVariableExp object)
Returns the result of interpreting the object as an instance of 'CG Variable Exp'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'CG Variable Exp'.
See Also:
doSwitch(EObject)
Generated

caseNameable

public T caseNameable(Nameable object)
Returns the result of interpreting the object as an instance of 'Nameable'. This implementation returns null; returning a non-null result will terminate the switch.

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

defaultCase

public T defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting 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.

Overrides:
defaultCase in class org.eclipse.emf.ecore.util.Switch<T>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EObject'.
See Also:
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
Generated