|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.qvt.oml.ecore.ImperativeOCL.util.ImperativeOCLSwitch<T>
public class ImperativeOCLSwitch<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.
ImperativeOCLPackage
Field Summary | |
---|---|
protected static ImperativeOCLPackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
ImperativeOCLSwitch()
Creates an instance of the switch |
Method Summary | ||
---|---|---|
T |
caseAltExp(AltExp object)
Returns the result of interpreting the object as an instance of 'Alt Exp' |
|
T |
caseAssertExp(AssertExp object)
Returns the result of interpreting the object as an instance of 'Assert Exp' |
|
T |
caseAssignExp(AssignExp object)
Returns the result of interpreting the object as an instance of 'Assign Exp' |
|
T |
caseASTNode(org.eclipse.ocl.utilities.ASTNode object)
Returns the result of interpreting the object as an instance of 'AST Node' |
|
T |
caseBlockExp(BlockExp object)
Returns the result of interpreting the object as an instance of 'Block Exp' |
|
T |
caseBreakExp(BreakExp object)
Returns the result of interpreting the object as an instance of 'Break Exp' |
|
|
caseCallExp(org.eclipse.ocl.expressions.CallExp<C> object)
Returns the result of interpreting the object as an instance of 'Call Exp' |
|
T |
caseCallingASTNode(org.eclipse.ocl.utilities.CallingASTNode object)
Returns the result of interpreting the object as an instance of 'Calling AST Node' |
|
T |
caseCatchExp(CatchExp object)
Returns the result of interpreting the object as an instance of 'Catch Exp' |
|
|
caseCollectionType(org.eclipse.ocl.types.CollectionType<C,O> object)
Returns the result of interpreting the object as an instance of 'Collection Type' |
|
T |
caseComputeExp(ComputeExp object)
Returns the result of interpreting the object as an instance of 'Compute Exp' |
|
T |
caseContinueExp(ContinueExp object)
Returns the result of interpreting the object as an instance of 'Continue Exp' |
|
T |
caseDictionaryType(DictionaryType object)
Returns the result of interpreting the object as an instance of 'Dictionary Type' |
|
T |
caseDictLiteralExp(DictLiteralExp object)
Returns the result of interpreting the object as an instance of 'Dict Literal Exp' |
|
T |
caseDictLiteralPart(DictLiteralPart object)
Returns the result of interpreting the object as an instance of 'Dict Literal Part' |
|
T |
caseEClass(org.eclipse.emf.ecore.EClass object)
Returns the result of interpreting the object as an instance of 'EClass' |
|
T |
caseEClassifier(org.eclipse.emf.ecore.EClassifier object)
Returns the result of interpreting the object as an instance of 'EClassifier' |
|
T |
caseEcore_CallExp(org.eclipse.ocl.ecore.CallExp object)
Returns the result of interpreting the object as an instance of 'Call Exp' |
|
T |
caseEcore_CollectionType(org.eclipse.ocl.ecore.CollectionType object)
Returns the result of interpreting the object as an instance of 'Collection Type' |
|
T |
caseEcore_FeatureCallExp(org.eclipse.ocl.ecore.FeatureCallExp object)
Returns the result of interpreting the object as an instance of 'Feature Call Exp' |
|
T |
caseEcore_LiteralExp(org.eclipse.ocl.ecore.LiteralExp object)
Returns the result of interpreting the object as an instance of 'Literal Exp' |
|
T |
caseEcore_LoopExp(org.eclipse.ocl.ecore.LoopExp object)
Returns the result of interpreting the object as an instance of 'Loop Exp' |
|
T |
caseEcore_OCLExpression(org.eclipse.ocl.ecore.OCLExpression object)
Returns the result of interpreting the object as an instance of 'OCL Expression' |
|
T |
caseEcore_OperationCallExp(org.eclipse.ocl.ecore.OperationCallExp object)
Returns the result of interpreting the object as an instance of 'Operation Call Exp' |
|
T |
caseEDataType(org.eclipse.emf.ecore.EDataType object)
Returns the result of interpreting the object as an instance of 'EData Type' |
|
T |
caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
Returns the result of interpreting the object as an instance of 'EModel Element' |
|
T |
caseENamedElement(org.eclipse.emf.ecore.ENamedElement object)
Returns the result of interpreting the object as an instance of 'ENamed Element' |
|
T |
caseETypedElement(org.eclipse.emf.ecore.ETypedElement object)
Returns the result of interpreting the object as an instance of 'ETyped Element' |
|
|
caseFeatureCallExp(org.eclipse.ocl.expressions.FeatureCallExp<C> object)
Returns the result of interpreting the object as an instance of 'Feature Call Exp' |
|
T |
caseForExp(ForExp object)
Returns the result of interpreting the object as an instance of 'For Exp' |
|
T |
caseImperativeExpression(ImperativeExpression object)
Returns the result of interpreting the object as an instance of 'Imperative Expression' |
|
T |
caseImperativeIterateExp(ImperativeIterateExp object)
Returns the result of interpreting the object as an instance of 'Imperative Iterate Exp' |
|
T |
caseImperativeLoopExp(ImperativeLoopExp object)
Returns the result of interpreting the object as an instance of 'Imperative Loop Exp' |
|
T |
caseInstantiationExp(InstantiationExp object)
Returns the result of interpreting the object as an instance of 'Instantiation Exp' |
|
T |
caseListType(ListType object)
Returns the result of interpreting the object as an instance of 'List Type' |
|
|
caseLiteralExp(org.eclipse.ocl.expressions.LiteralExp<C> object)
Returns the result of interpreting the object as an instance of 'Literal Exp' |
|
T |
caseLogExp(LogExp object)
Returns the result of interpreting the object as an instance of 'Log Exp' |
|
|
caseLoopExp(org.eclipse.ocl.expressions.LoopExp<C,PM> object)
Returns the result of interpreting the object as an instance of 'Loop Exp' |
|
|
caseOCLExpression(org.eclipse.ocl.expressions.OCLExpression<C> object)
Returns the result of interpreting the object as an instance of 'OCL Expression' |
|
|
caseOperationCallExp(org.eclipse.ocl.expressions.OperationCallExp<C,O> object)
Returns the result of interpreting the object as an instance of 'Operation Call Exp' |
|
T |
caseOrderedTupleLiteralExp(OrderedTupleLiteralExp object)
Returns the result of interpreting the object as an instance of 'Ordered Tuple Literal Exp' |
|
T |
caseOrderedTupleLiteralPart(OrderedTupleLiteralPart object)
Returns the result of interpreting the object as an instance of 'Ordered Tuple Literal Part' |
|
T |
caseOrderedTupleType(OrderedTupleType object)
Returns the result of interpreting the object as an instance of 'Ordered Tuple Type' |
|
|
casePredefinedType(org.eclipse.ocl.utilities.PredefinedType<O> object)
Returns the result of interpreting the object as an instance of 'Predefined Type' |
|
T |
caseRaiseExp(RaiseExp object)
Returns the result of interpreting the object as an instance of 'Raise Exp' |
|
T |
caseReturnExp(ReturnExp object)
Returns the result of interpreting the object as an instance of 'Return Exp' |
|
T |
caseSwitchExp(SwitchExp object)
Returns the result of interpreting the object as an instance of 'Switch Exp' |
|
T |
caseTemplateParameterType(TemplateParameterType object)
Returns the result of interpreting the object as an instance of 'Template Parameter Type' |
|
T |
caseTryExp(TryExp object)
Returns the result of interpreting the object as an instance of 'Try Exp' |
|
T |
caseTypedASTNode(org.eclipse.ocl.utilities.TypedASTNode object)
Returns the result of interpreting the object as an instance of 'Typed AST Node' |
|
T |
caseTypedef(Typedef object)
Returns the result of interpreting the object as an instance of 'Typedef' |
|
|
caseTypedElement(org.eclipse.ocl.utilities.TypedElement<C> object)
Returns the result of interpreting the object as an instance of 'Typed Element' |
|
T |
caseUnlinkExp(UnlinkExp object)
Returns the result of interpreting the object as an instance of 'Unlink Exp' |
|
T |
caseUnpackExp(UnpackExp object)
Returns the result of interpreting the object as an instance of 'Unpack Exp' |
|
T |
caseVariableInitExp(VariableInitExp object)
Returns the result of interpreting the object as an instance of 'Variable Init Exp' |
|
T |
caseVisitable(org.eclipse.ocl.utilities.Visitable object)
Returns the result of interpreting the object as an instance of 'Visitable' |
|
T |
caseWhileExp(WhileExp object)
Returns the result of interpreting the object as an instance of 'While Exp' |
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject' |
|
protected T |
doSwitch(org.eclipse.emf.ecore.EClass theEClass,
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 |
|
T |
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 |
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static ImperativeOCLPackage modelPackage
Constructor Detail |
---|
public ImperativeOCLSwitch()
Method Detail |
---|
public T 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.protected T doSwitch(org.eclipse.emf.ecore.EClass theEClass, 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.protected T doSwitch(int classifierID, 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 T caseAltExp(AltExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAssertExp(AssertExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAssignExp(AssignExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseBlockExp(BlockExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseBreakExp(BreakExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCatchExp(CatchExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseComputeExp(ComputeExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseContinueExp(ContinueExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDictLiteralExp(DictLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDictLiteralPart(DictLiteralPart object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDictionaryType(DictionaryType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseForExp(ForExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseImperativeExpression(ImperativeExpression object)
object
- the target of the switch.
doSwitch(EObject)
public T caseImperativeIterateExp(ImperativeIterateExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseImperativeLoopExp(ImperativeLoopExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInstantiationExp(InstantiationExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseListType(ListType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLogExp(LogExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOrderedTupleLiteralExp(OrderedTupleLiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOrderedTupleLiteralPart(OrderedTupleLiteralPart object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOrderedTupleType(OrderedTupleType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRaiseExp(RaiseExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseReturnExp(ReturnExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseSwitchExp(SwitchExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTemplateParameterType(TemplateParameterType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTryExp(TryExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTypedef(Typedef object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUnlinkExp(UnlinkExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUnpackExp(UnpackExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseVariableInitExp(VariableInitExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseWhileExp(WhileExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
object
- the target of the switch.
doSwitch(EObject)
public T caseENamedElement(org.eclipse.emf.ecore.ENamedElement object)
object
- the target of the switch.
doSwitch(EObject)
public T caseETypedElement(org.eclipse.emf.ecore.ETypedElement object)
object
- the target of the switch.
doSwitch(EObject)
public <C> T caseTypedElement(org.eclipse.ocl.utilities.TypedElement<C> object)
object
- the target of the switch.
doSwitch(EObject)
public T caseVisitable(org.eclipse.ocl.utilities.Visitable object)
object
- the target of the switch.
doSwitch(EObject)
public T caseASTNode(org.eclipse.ocl.utilities.ASTNode object)
object
- the target of the switch.
doSwitch(EObject)
public <C> T caseOCLExpression(org.eclipse.ocl.expressions.OCLExpression<C> object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEcore_OCLExpression(org.eclipse.ocl.ecore.OCLExpression object)
object
- the target of the switch.
doSwitch(EObject)
public <C> T caseLiteralExp(org.eclipse.ocl.expressions.LiteralExp<C> object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEcore_LiteralExp(org.eclipse.ocl.ecore.LiteralExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEClassifier(org.eclipse.emf.ecore.EClassifier object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEDataType(org.eclipse.emf.ecore.EDataType object)
object
- the target of the switch.
doSwitch(EObject)
public <O> T casePredefinedType(org.eclipse.ocl.utilities.PredefinedType<O> object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTypedASTNode(org.eclipse.ocl.utilities.TypedASTNode object)
object
- the target of the switch.
doSwitch(EObject)
public <C,O> T caseCollectionType(org.eclipse.ocl.types.CollectionType<C,O> object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEcore_CollectionType(org.eclipse.ocl.ecore.CollectionType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCallingASTNode(org.eclipse.ocl.utilities.CallingASTNode object)
object
- the target of the switch.
doSwitch(EObject)
public <C> T caseCallExp(org.eclipse.ocl.expressions.CallExp<C> object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEcore_CallExp(org.eclipse.ocl.ecore.CallExp object)
object
- the target of the switch.
doSwitch(EObject)
public <C,PM> T caseLoopExp(org.eclipse.ocl.expressions.LoopExp<C,PM> object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEcore_LoopExp(org.eclipse.ocl.ecore.LoopExp object)
object
- the target of the switch.
doSwitch(EObject)
public <C> T caseFeatureCallExp(org.eclipse.ocl.expressions.FeatureCallExp<C> object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEcore_FeatureCallExp(org.eclipse.ocl.ecore.FeatureCallExp object)
object
- the target of the switch.
doSwitch(EObject)
public <C,O> T caseOperationCallExp(org.eclipse.ocl.expressions.OperationCallExp<C,O> object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEcore_OperationCallExp(org.eclipse.ocl.ecore.OperationCallExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEClass(org.eclipse.emf.ecore.EClass object)
object
- the target of the switch.
doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
Copyright 2008 Borland Software Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |