java.lang.Objectorg.eclipse.gmt.umlx.eqvtbase.util.EqvtBaseSwitch<T>
public class EqvtBaseSwitch<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.
EqvtBasePackage
Constructor Summary | |
---|---|
EqvtBaseSwitch()
Creates an instance of the switch. |
Method Summary | ||
---|---|---|
T |
caseASTNode(org.eclipse.ocl.utilities.ASTNode object)
Returns the result of interpretting the object as an instance of 'AST Node'. |
|
T |
caseDomain(Domain object)
Returns the result of interpretting the object as an instance of 'Domain'. |
|
T |
caseEClass(org.eclipse.emf.ecore.EClass object)
Returns the result of interpretting the object as an instance of 'EClass'. |
|
T |
caseEClassifier(org.eclipse.emf.ecore.EClassifier object)
Returns the result of interpretting the object as an instance of 'EClassifier'. |
|
T |
caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
Returns the result of interpretting the object as an instance of 'EModel Element'. |
|
T |
caseENamedElement(org.eclipse.emf.ecore.ENamedElement object)
Returns the result of interpretting the object as an instance of 'ENamed Element'. |
|
T |
caseEOperation(org.eclipse.emf.ecore.EOperation object)
Returns the result of interpretting the object as an instance of 'EOperation'. |
|
T |
caseEPackage(org.eclipse.emf.ecore.EPackage object)
Returns the result of interpretting the object as an instance of 'EPackage'. |
|
T |
caseEParameter(org.eclipse.emf.ecore.EParameter object)
Returns the result of interpretting the object as an instance of 'EParameter'. |
|
T |
caseETypedElement(org.eclipse.emf.ecore.ETypedElement object)
Returns the result of interpretting the object as an instance of 'ETyped Element'. |
|
T |
caseFunction(Function object)
Returns the result of interpretting the object as an instance of 'Function'. |
|
T |
caseFunctionParameter(FunctionParameter object)
Returns the result of interpretting the object as an instance of 'Function Parameter'. |
|
T |
casePattern(Pattern object)
Returns the result of interpretting the object as an instance of 'Pattern'. |
|
T |
casePredicate(Predicate object)
Returns the result of interpretting the object as an instance of 'Predicate'. |
|
T |
caseRule(Rule object)
Returns the result of interpretting the object as an instance of 'Rule'. |
|
T |
caseTag(Tag object)
Returns the result of interpretting the object as an instance of 'Tag'. |
|
T |
caseTransformation(Transformation object)
Returns the result of interpretting the object as an instance of 'Transformation'. |
|
T |
caseTypedASTNode(org.eclipse.ocl.utilities.TypedASTNode object)
Returns the result of interpretting the object as an instance of 'Typed AST Node'. |
|
|
caseTypedElement(org.eclipse.ocl.utilities.TypedElement<C> object)
Returns the result of interpretting the object as an instance of 'Typed Element'. |
|
T |
caseTypedModel(TypedModel object)
Returns the result of interpretting the object as an instance of 'Typed Model'. |
|
T |
caseVariable_1(org.eclipse.ocl.ecore.Variable object)
Returns the result of interpretting the object as an instance of 'Variable'. |
|
|
caseVariable(org.eclipse.ocl.expressions.Variable<C,PM> object)
Returns the result of interpretting the object as an instance of 'Variable'. |
|
T |
caseVisitable(org.eclipse.ocl.utilities.Visitable object)
Returns the result of interpretting the object as an instance of 'Visitable'. |
|
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 EqvtBaseSwitch()
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 caseDomain(Domain object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTransformation(Transformation object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTypedModel(TypedModel object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRule(Rule object)
object
- the target of the switch.
doSwitch(EObject)
public T casePattern(Pattern object)
object
- the target of the switch.
doSwitch(EObject)
public T casePredicate(Predicate object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFunction(Function object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFunctionParameter(FunctionParameter object)
object
- the target of the switch.
doSwitch(EObject)
public T caseTag(Tag 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 caseEClassifier(org.eclipse.emf.ecore.EClassifier 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 caseEPackage(org.eclipse.emf.ecore.EPackage 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 T caseEOperation(org.eclipse.emf.ecore.EOperation object)
object
- the target of the switch.
doSwitch(EObject)
public T caseEParameter(org.eclipse.emf.ecore.EParameter 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 T caseTypedASTNode(org.eclipse.ocl.utilities.TypedASTNode object)
object
- the target of the switch.
doSwitch(EObject)
public <C,PM> T caseVariable(org.eclipse.ocl.expressions.Variable<C,PM> object)
object
- the target of the switch.
doSwitch(EObject)
public T caseVariable_1(org.eclipse.ocl.ecore.Variable 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)