java.lang.Objectorg.eclipse.gmt.umlx.qvtoperational.util.QvtoperationalSwitch<T>
public class QvtoperationalSwitch<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.
QvtoperationalPackage
Constructor Summary | |
---|---|
QvtoperationalSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
T |
caseCallExp(CallExp object)
Returns the result of interpretting the object as an instance of 'Call Exp'. |
T |
caseClass(Class object)
Returns the result of interpretting the object as an instance of 'Class'. |
T |
caseConstructor(Constructor object)
Returns the result of interpretting the object as an instance of 'Constructor'. |
T |
caseConstructorBody(ConstructorBody object)
Returns the result of interpretting the object as an instance of 'Constructor Body'. |
T |
caseContextualProperty(ContextualProperty object)
Returns the result of interpretting the object as an instance of 'Contextual Property'. |
T |
caseElement(Element object)
Returns the result of interpretting the object as an instance of 'Element'. |
T |
caseEntryOperation(EntryOperation object)
Returns the result of interpretting the object as an instance of 'Entry Operation'. |
T |
caseExtent(Extent object)
Returns the result of interpretting the object as an instance of 'Extent'. |
T |
caseFeaturePropertyCall(FeaturePropertyCall object)
Returns the result of interpretting the object as an instance of 'Feature Property Call'. |
T |
caseHelper(Helper object)
Returns the result of interpretting the object as an instance of 'Helper'. |
T |
caseImperativeCallExp(ImperativeCallExp object)
Returns the result of interpretting the object as an instance of 'Imperative Call Exp'. |
T |
caseImperativeExpression(ImperativeExpression object)
Returns the result of interpretting the object as an instance of 'Imperative Expression'. |
T |
caseImperativeLoopExp(ImperativeLoopExp object)
Returns the result of interpretting the object as an instance of 'Imperative Loop Exp'. |
T |
caseImperativeOperation(ImperativeOperation object)
Returns the result of interpretting the object as an instance of 'Imperative Operation'. |
T |
caseInstantiationExp(InstantiationExp object)
Returns the result of interpretting the object as an instance of 'Instantiation Exp'. |
T |
caseLibrary(Library object)
Returns the result of interpretting the object as an instance of 'Library'. |
T |
caseLoopExp(LoopExp object)
Returns the result of interpretting the object as an instance of 'Loop Exp'. |
T |
caseMappingBody(MappingBody object)
Returns the result of interpretting the object as an instance of 'Mapping Body'. |
T |
caseMappingCallExp(MappingCallExp object)
Returns the result of interpretting the object as an instance of 'Mapping Call Exp'. |
T |
caseMappingOperation(MappingOperation object)
Returns the result of interpretting the object as an instance of 'Mapping Operation'. |
T |
caseMappingParameter(MappingParameter object)
Returns the result of interpretting the object as an instance of 'Mapping Parameter'. |
T |
caseModelParameter(ModelParameter object)
Returns the result of interpretting the object as an instance of 'Model Parameter'. |
T |
caseModelType(ModelType object)
Returns the result of interpretting the object as an instance of 'Model Type'. |
T |
caseModule(Module object)
Returns the result of interpretting the object as an instance of 'Module'. |
T |
caseModuleImport(ModuleImport object)
Returns the result of interpretting the object as an instance of 'Module Import'. |
T |
caseMultiplicityElement(MultiplicityElement object)
Returns the result of interpretting the object as an instance of 'Multiplicity Element'. |
T |
caseNamedElement(NamedElement object)
Returns the result of interpretting the object as an instance of 'Named Element'. |
T |
caseObject(Object object)
Returns the result of interpretting the object as an instance of 'Object'. |
T |
caseObjectExp(ObjectExp object)
Returns the result of interpretting the object as an instance of 'Object Exp'. |
T |
caseOclExpression(OclExpression object)
Returns the result of interpretting the object as an instance of 'Ocl Expression'. |
T |
caseOperation(Operation object)
Returns the result of interpretting the object as an instance of 'Operation'. |
T |
caseOperationalTransformation(OperationalTransformation object)
Returns the result of interpretting the object as an instance of 'Operational Transformation'. |
T |
caseOperationBody(OperationBody object)
Returns the result of interpretting the object as an instance of 'Operation Body'. |
T |
caseOperationCallExp(OperationCallExp object)
Returns the result of interpretting the object as an instance of 'Operation Call Exp'. |
T |
casePackage(Package object)
Returns the result of interpretting the object as an instance of 'Package'. |
T |
caseParameter(Parameter object)
Returns the result of interpretting the object as an instance of 'Parameter'. |
T |
caseProperty(Property object)
Returns the result of interpretting the object as an instance of 'Property'. |
T |
caseResolveExp(ResolveExp object)
Returns the result of interpretting the object as an instance of 'Resolve Exp'. |
T |
caseResolveInExp(ResolveInExp object)
Returns the result of interpretting the object as an instance of 'Resolve In Exp'. |
T |
caseType(Type object)
Returns the result of interpretting the object as an instance of 'Type'. |
T |
caseTypedElement(TypedElement object)
Returns the result of interpretting the object as an instance of 'Typed Element'. |
T |
caseURIExtent(URIExtent object)
Returns the result of interpretting the object as an instance of 'URI Extent'. |
T |
caseVariable(Variable object)
Returns the result of interpretting the object as an instance of 'Variable'. |
T |
caseVarParameter(VarParameter object)
Returns the result of interpretting the object as an instance of 'Var Parameter'. |
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject'. |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QvtoperationalSwitch()
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.public T caseMappingBody(MappingBody object)
object
- the target of the switch.
doSwitch(EObject)
public T caseHelper(Helper object)
object
- the target of the switch.
doSwitch(EObject)
public T caseResolveExp(ResolveExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseResolveInExp(ResolveInExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOperationalTransformation(OperationalTransformation object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMappingParameter(MappingParameter object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMappingOperation(MappingOperation object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMappingCallExp(MappingCallExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseConstructor(Constructor object)
object
- the target of the switch.
doSwitch(EObject)
public T caseContextualProperty(ContextualProperty object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEntryOperation(EntryOperation object)
object
- the target of the switch.
doSwitch(EObject)
public T caseImperativeCallExp(ImperativeCallExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseImperativeOperation(ImperativeOperation object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLibrary(Library object)
object
- the target of the switch.
doSwitch(EObject)
public T caseModelParameter(ModelParameter object)
object
- the target of the switch.
doSwitch(EObject)
public T caseModelType(ModelType object)
object
- the target of the switch.
doSwitch(EObject)
public T caseModule(Module object)
object
- the target of the switch.
doSwitch(EObject)
public T caseModuleImport(ModuleImport object)
object
- the target of the switch.
doSwitch(EObject)
public T caseVarParameter(VarParameter object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOperationBody(OperationBody object)
object
- the target of the switch.
doSwitch(EObject)
public T caseConstructorBody(ConstructorBody object)
object
- the target of the switch.
doSwitch(EObject)
public T caseObjectExp(ObjectExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseObject(Object object)
object
- the target of the switch.
doSwitch(EObject)
public T caseElement(Element object)
object
- the target of the switch.
doSwitch(EObject)
public T caseMultiplicityElement(MultiplicityElement object)
object
- the target of the switch.
doSwitch(EObject)
public T caseNamedElement(NamedElement object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTypedElement(TypedElement object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOperation(Operation object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOclExpression(OclExpression object)
object
- the target of the switch.
doSwitch(EObject)
public T caseCallExp(CallExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseLoopExp(LoopExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseImperativeExpression(ImperativeExpression object)
object
- the target of the switch.
doSwitch(EObject)
public T caseImperativeLoopExp(ImperativeLoopExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseType(Type object)
object
- the target of the switch.
doSwitch(EObject)
public T caseClass(Class object)
object
- the target of the switch.
doSwitch(EObject)
public T casePackage(Package object)
object
- the target of the switch.
doSwitch(EObject)
public T caseParameter(Parameter object)
object
- the target of the switch.
doSwitch(EObject)
public T caseVariable(Variable object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFeaturePropertyCall(FeaturePropertyCall object)
object
- the target of the switch.
doSwitch(EObject)
public T caseOperationCallExp(OperationCallExp object)
object
- the target of the switch.
doSwitch(EObject)
public T caseProperty(Property object)
object
- the target of the switch.
doSwitch(EObject)
public T caseExtent(Extent object)
object
- the target of the switch.
doSwitch(EObject)
public T caseURIExtent(URIExtent object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInstantiationExp(InstantiationExp 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)