|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmt.umlx.ucore.util.UcoreSwitch
public class UcoreSwitch
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.
UcorePackage
Constructor Summary | |
---|---|
UcoreSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
java.lang.Object |
caseASTNode(org.eclipse.emf.ocl.internal.utilities.ASTNode object)
Returns the result of interpretting the object as an instance of 'AST Node'. |
java.lang.Object |
caseE2Link(E2Link object)
Returns the result of interpretting the object as an instance of 'E2 Link'. |
java.lang.Object |
caseE2TransientLink(E2TransientLink object)
Returns the result of interpretting the object as an instance of 'E2 Transient Link'. |
java.lang.Object |
caseEClassifier(org.eclipse.emf.ecore.EClassifier object)
Returns the result of interpretting the object as an instance of 'EClassifier'. |
java.lang.Object |
caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
Returns the result of interpretting the object as an instance of 'EModel Element'. |
java.lang.Object |
caseENamedElement(org.eclipse.emf.ecore.ENamedElement object)
Returns the result of interpretting the object as an instance of 'ENamed Element'. |
java.lang.Object |
caseEOperation(org.eclipse.emf.ecore.EOperation object)
Returns the result of interpretting the object as an instance of 'EOperation'. |
java.lang.Object |
caseEPackage(org.eclipse.emf.ecore.EPackage object)
Returns the result of interpretting the object as an instance of 'EPackage'. |
java.lang.Object |
caseEParameter(org.eclipse.emf.ecore.EParameter object)
Returns the result of interpretting the object as an instance of 'EParameter'. |
java.lang.Object |
caseETypedElement(org.eclipse.emf.ecore.ETypedElement object)
Returns the result of interpretting the object as an instance of 'ETyped Element'. |
java.lang.Object |
caseOCLExpression(org.eclipse.emf.ocl.expressions.OCLExpression object)
Returns the result of interpretting the object as an instance of 'OCL Expression'. |
java.lang.Object |
caseTypedASTNode(org.eclipse.emf.ocl.internal.utilities.TypedASTNode object)
Returns the result of interpretting the object as an instance of 'Typed AST Node'. |
java.lang.Object |
caseUAttributeVariable(UAttributeVariable object)
Returns the result of interpretting the object as an instance of 'UAttribute Variable'. |
java.lang.Object |
caseUAttributeVariable2UExpressionVariable(UAttributeVariable2UExpressionVariable object)
Returns the result of interpretting the object as an instance of 'UAttribute Variable2 UExpression Variable'. |
java.lang.Object |
caseUBinding(UBinding object)
Returns the result of interpretting the object as an instance of 'UBinding'. |
java.lang.Object |
caseUClassVariable(UClassVariable object)
Returns the result of interpretting the object as an instance of 'UClass Variable'. |
java.lang.Object |
caseUClassVariable2UAttributeVariable(UClassVariable2UAttributeVariable object)
Returns the result of interpretting the object as an instance of 'UClass Variable2 UAttribute Variable'. |
java.lang.Object |
caseUClassVariable2UClassVariable(UClassVariable2UClassVariable object)
Returns the result of interpretting the object as an instance of 'UClass Variable2 UClass Variable'. |
java.lang.Object |
caseUConstraint(UConstraint object)
Returns the result of interpretting the object as an instance of 'UConstraint'. |
java.lang.Object |
caseUDomain(UDomain object)
Returns the result of interpretting the object as an instance of 'UDomain'. |
java.lang.Object |
caseUDomain2UTypedModel(UDomain2UTypedModel object)
Returns the result of interpretting the object as an instance of 'UDomain2 UTyped Model'. |
java.lang.Object |
caseUDomain2UVariable(UDomain2UVariable object)
Returns the result of interpretting the object as an instance of 'UDomain2 UVariable'. |
java.lang.Object |
caseUDomainPattern(UDomainPattern object)
Returns the result of interpretting the object as an instance of 'UDomain Pattern'. |
java.lang.Object |
caseUDummy(UDummy object)
Returns the result of interpretting the object as an instance of 'UDummy'. |
java.lang.Object |
caseUEvolution(UEvolution object)
Returns the result of interpretting the object as an instance of 'UEvolution'. |
java.lang.Object |
caseUEvolutionInstance(UEvolutionInstance object)
Returns the result of interpretting the object as an instance of 'UEvolution Instance'. |
java.lang.Object |
caseUExpression(UExpression object)
Returns the result of interpretting the object as an instance of 'UExpression'. |
java.lang.Object |
caseUExpressionVariable(UExpressionVariable object)
Returns the result of interpretting the object as an instance of 'UExpression Variable'. |
java.lang.Object |
caseUHelper(UHelper object)
Returns the result of interpretting the object as an instance of 'UHelper'. |
java.lang.Object |
caseUMapping(UMapping object)
Returns the result of interpretting the object as an instance of 'UMapping'. |
java.lang.Object |
caseUMapping2UDomain(UMapping2UDomain object)
Returns the result of interpretting the object as an instance of 'UMapping2 UDomain'. |
java.lang.Object |
caseUMappingInstance(UMappingInstance object)
Returns the result of interpretting the object as an instance of 'UMapping Instance'. |
java.lang.Object |
caseUOCLConstraint(UOCLConstraint object)
Returns the result of interpretting the object as an instance of 'UOCL Constraint'. |
java.lang.Object |
caseUOCLConstraint2UVariable(UOCLConstraint2UVariable object)
Returns the result of interpretting the object as an instance of 'UOCL Constraint2 UVariable'. |
java.lang.Object |
caseUOCLContainer(UOCLContainer object)
Returns the result of interpretting the object as an instance of 'UOCL Container'. |
java.lang.Object |
caseUOperation(UOperation object)
Returns the result of interpretting the object as an instance of 'UOperation'. |
java.lang.Object |
caseUParameter(UParameter object)
Returns the result of interpretting the object as an instance of 'UParameter'. |
java.lang.Object |
caseUPattern(UPattern object)
Returns the result of interpretting the object as an instance of 'UPattern'. |
java.lang.Object |
caseUPredicate(UPredicate object)
Returns the result of interpretting the object as an instance of 'UPredicate'. |
java.lang.Object |
caseUPreservation(UPreservation object)
Returns the result of interpretting the object as an instance of 'UPreservation'. |
java.lang.Object |
caseUPreservationInstance(UPreservationInstance object)
Returns the result of interpretting the object as an instance of 'UPreservation Instance'. |
java.lang.Object |
caseURelation(URelation object)
Returns the result of interpretting the object as an instance of 'URelation'. |
java.lang.Object |
caseURelationDomain(URelationDomain object)
Returns the result of interpretting the object as an instance of 'URelation Domain'. |
java.lang.Object |
caseURelationInstance(URelationInstance object)
Returns the result of interpretting the object as an instance of 'URelation Instance'. |
java.lang.Object |
caseURelationship(URelationship object)
Returns the result of interpretting the object as an instance of 'URelationship'. |
java.lang.Object |
caseURule(URule object)
Returns the result of interpretting the object as an instance of 'URule'. |
java.lang.Object |
caseUSelfParameter(USelfParameter object)
Returns the result of interpretting the object as an instance of 'USelf Parameter'. |
java.lang.Object |
caseUTemplateExpression(UTemplateExpression object)
Returns the result of interpretting the object as an instance of 'UTemplate Expression'. |
java.lang.Object |
caseUTransformation(UTransformation object)
Returns the result of interpretting the object as an instance of 'UTransformation'. |
java.lang.Object |
caseUTransformation2UTransformation(UTransformation2UTransformation object)
Returns the result of interpretting the object as an instance of 'UTransformation2 UTransformation'. |
java.lang.Object |
caseUTransformation2UTypedModel(UTransformation2UTypedModel object)
Returns the result of interpretting the object as an instance of 'UTransformation2 UTyped Model'. |
java.lang.Object |
caseUTypedModel(UTypedModel object)
Returns the result of interpretting the object as an instance of 'UTyped Model'. |
java.lang.Object |
caseUTypedModel2EPackage(UTypedModel2EPackage object)
Returns the result of interpretting the object as an instance of 'UTyped Model2 EPackage'. |
java.lang.Object |
caseUTypedModel2UTypedModel(UTypedModel2UTypedModel object)
Returns the result of interpretting the object as an instance of 'UTyped Model2 UTyped Model'. |
java.lang.Object |
caseUVariable(UVariable object)
Returns the result of interpretting the object as an instance of 'UVariable'. |
java.lang.Object |
caseVariableDeclaration(org.eclipse.emf.ocl.expressions.VariableDeclaration object)
Returns the result of interpretting the object as an instance of 'Variable Declaration'. |
java.lang.Object |
caseVisitable(org.eclipse.emf.ocl.internal.utilities.Visitable object)
Returns the result of interpretting the object as an instance of 'Visitable'. |
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 |
---|
public UcoreSwitch()
Method Detail |
---|
public java.lang.Object 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 java.lang.Object caseUDomain(UDomain object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUDomainPattern(UDomainPattern object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUDomain2UTypedModel(UDomain2UTypedModel object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUPattern(UPattern object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUPredicate(UPredicate object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseURelation(URelation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseURelationDomain(URelationDomain object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseURule(URule object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUTemplateExpression(UTemplateExpression object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUTransformation(UTransformation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUTypedModel(UTypedModel object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUVariable(UVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUHelper(UHelper object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUParameter(UParameter object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUAttributeVariable(UAttributeVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUAttributeVariable2UExpressionVariable(UAttributeVariable2UExpressionVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUBinding(UBinding object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUClassVariable(UClassVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUClassVariable2UAttributeVariable(UClassVariable2UAttributeVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUClassVariable2UClassVariable(UClassVariable2UClassVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUConstraint(UConstraint object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUDomain2UVariable(UDomain2UVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUDummy(UDummy object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUEvolution(UEvolution object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUExpression(UExpression object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUEvolutionInstance(UEvolutionInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUExpressionVariable(UExpressionVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUMapping(UMapping object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUMappingInstance(UMappingInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUMapping2UDomain(UMapping2UDomain object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUOCLConstraint(UOCLConstraint object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUOCLConstraint2UVariable(UOCLConstraint2UVariable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUOCLContainer(UOCLContainer object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUOperation(UOperation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUPreservation(UPreservation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUPreservationInstance(UPreservationInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseURelationInstance(URelationInstance object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseURelationship(URelationship object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUTransformation2UTransformation(UTransformation2UTransformation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUTransformation2UTypedModel(UTransformation2UTypedModel object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUTypedModel2EPackage(UTypedModel2EPackage object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUTypedModel2UTypedModel(UTypedModel2UTypedModel object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseUSelfParameter(USelfParameter object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEModelElement(org.eclipse.emf.ecore.EModelElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseENamedElement(org.eclipse.emf.ecore.ENamedElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseE2Link(E2Link object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseE2TransientLink(E2TransientLink object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEClassifier(org.eclipse.emf.ecore.EClassifier object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEPackage(org.eclipse.emf.ecore.EPackage object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseVisitable(org.eclipse.emf.ocl.internal.utilities.Visitable object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseASTNode(org.eclipse.emf.ocl.internal.utilities.ASTNode object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseTypedASTNode(org.eclipse.emf.ocl.internal.utilities.TypedASTNode object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseVariableDeclaration(org.eclipse.emf.ocl.expressions.VariableDeclaration object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseETypedElement(org.eclipse.emf.ecore.ETypedElement object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEOperation(org.eclipse.emf.ecore.EOperation object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseEParameter(org.eclipse.emf.ecore.EParameter object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object caseOCLExpression(org.eclipse.emf.ocl.expressions.OCLExpression object)
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Object defaultCase(org.eclipse.emf.ecore.EObject object)
object
- the target of the switch.
doSwitch(org.eclipse.emf.ecore.EObject)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |