|
Generation Framework | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gmf.mappings.util.GMFMapSwitch
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.
GMFMapPackage| Field Summary | |
protected static GMFMapPackage |
modelPackage
The cached model package |
| Constructor Summary | |
GMFMapSwitch()
Creates an instance of the switch |
|
| Method Summary | |
java.lang.Object |
caseAppearanceSteward(AppearanceSteward object)
Returns the result of interpretting the object as an instance of 'Appearance Steward' |
java.lang.Object |
caseAuditable(Auditable object)
Returns the result of interpretting the object as an instance of 'Auditable' |
java.lang.Object |
caseAuditContainer(AuditContainer object)
Returns the result of interpretting the object as an instance of 'Audit Container' |
java.lang.Object |
caseAuditedMetricTarget(AuditedMetricTarget object)
Returns the result of interpretting the object as an instance of 'Audited Metric Target' |
java.lang.Object |
caseAuditRule(AuditRule object)
Returns the result of interpretting the object as an instance of 'Audit Rule' |
java.lang.Object |
caseCanvasMapping(CanvasMapping object)
Returns the result of interpretting the object as an instance of 'Canvas Mapping' |
java.lang.Object |
caseChildReference(ChildReference object)
Returns the result of interpretting the object as an instance of 'Child Reference' |
java.lang.Object |
caseCompartmentMapping(CompartmentMapping object)
Returns the result of interpretting the object as an instance of 'Compartment Mapping' |
java.lang.Object |
caseConstraint(Constraint object)
Returns the result of interpretting the object as an instance of 'Constraint' |
java.lang.Object |
caseDiagramElementTarget(DiagramElementTarget object)
Returns the result of interpretting the object as an instance of 'Diagram Element Target' |
java.lang.Object |
caseDomainAttributeTarget(DomainAttributeTarget object)
Returns the result of interpretting the object as an instance of 'Domain Attribute Target' |
java.lang.Object |
caseDomainElementTarget(DomainElementTarget object)
Returns the result of interpretting the object as an instance of 'Domain Element Target' |
java.lang.Object |
caseElementInitializer(ElementInitializer object)
Returns the result of interpretting the object as an instance of 'Element Initializer' |
java.lang.Object |
caseFeatureSeqInitializer(FeatureSeqInitializer object)
Returns the result of interpretting the object as an instance of 'Feature Seq Initializer' |
java.lang.Object |
caseFeatureValueSpec(FeatureValueSpec object)
Returns the result of interpretting the object as an instance of 'Feature Value Spec' |
java.lang.Object |
caseLabelMapping(LabelMapping object)
Returns the result of interpretting the object as an instance of 'Label Mapping' |
java.lang.Object |
caseLinkConstraints(LinkConstraints object)
Returns the result of interpretting the object as an instance of 'Link Constraints' |
java.lang.Object |
caseLinkMapping(LinkMapping object)
Returns the result of interpretting the object as an instance of 'Link Mapping' |
java.lang.Object |
caseMapping(Mapping object)
Returns the result of interpretting the object as an instance of 'Mapping' |
java.lang.Object |
caseMappingEntry(MappingEntry object)
Returns the result of interpretting the object as an instance of 'Mapping Entry' |
java.lang.Object |
caseMeasurable(Measurable object)
Returns the result of interpretting the object as an instance of 'Measurable' |
java.lang.Object |
caseMenuOwner(MenuOwner object)
Returns the result of interpretting the object as an instance of 'Menu Owner' |
java.lang.Object |
caseMetricContainer(MetricContainer object)
Returns the result of interpretting the object as an instance of 'Metric Container' |
java.lang.Object |
caseMetricRule(MetricRule object)
Returns the result of interpretting the object as an instance of 'Metric Rule' |
java.lang.Object |
caseNeedsContainment(NeedsContainment object)
Returns the result of interpretting the object as an instance of 'Needs Containment' |
java.lang.Object |
caseNodeMapping(NodeMapping object)
Returns the result of interpretting the object as an instance of 'Node Mapping' |
java.lang.Object |
caseNodeReference(NodeReference object)
Returns the result of interpretting the object as an instance of 'Node Reference' |
java.lang.Object |
caseNotationElementTarget(NotationElementTarget object)
Returns the result of interpretting the object as an instance of 'Notation Element Target' |
java.lang.Object |
caseRuleBase(RuleBase object)
Returns the result of interpretting the object as an instance of 'Rule Base' |
java.lang.Object |
caseToolOwner(ToolOwner object)
Returns the result of interpretting the object as an instance of 'Tool Owner' |
java.lang.Object |
caseTopNodeReference(TopNodeReference object)
Returns the result of interpretting the object as an instance of 'Top Node Reference' |
java.lang.Object |
caseValueExpression(ValueExpression object)
Returns the result of interpretting the object as an instance of 'Value Expression' |
java.lang.Object |
defaultCase(EObject object)
Returns the result of interpretting the object as an instance of 'EObject' |
protected java.lang.Object |
doSwitch(EClass theEClass,
EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
java.lang.Object |
doSwitch(EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
protected java.lang.Object |
doSwitch(int classifierID,
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 GMFMapPackage modelPackage
| Constructor Detail |
public GMFMapSwitch()
| Method Detail |
public java.lang.Object doSwitch(EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.
protected java.lang.Object doSwitch(EClass theEClass,
EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.
protected java.lang.Object doSwitch(int classifierID,
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 caseMappingEntry(MappingEntry object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseNeedsContainment(NeedsContainment object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseNodeReference(NodeReference object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseChildReference(ChildReference object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseTopNodeReference(TopNodeReference object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseNodeMapping(NodeMapping object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseCompartmentMapping(CompartmentMapping object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseLinkMapping(LinkMapping object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseCanvasMapping(CanvasMapping object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseLabelMapping(LabelMapping object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseMapping(Mapping object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseConstraint(Constraint object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseLinkConstraints(LinkConstraints object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseValueExpression(ValueExpression object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseElementInitializer(ElementInitializer object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseFeatureSeqInitializer(FeatureSeqInitializer object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseFeatureValueSpec(FeatureValueSpec object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseMenuOwner(MenuOwner object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseToolOwner(ToolOwner object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseAppearanceSteward(AppearanceSteward object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseAuditContainer(AuditContainer object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseAuditRule(AuditRule object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseRuleBase(RuleBase object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseDomainElementTarget(DomainElementTarget object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseDomainAttributeTarget(DomainAttributeTarget object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseDiagramElementTarget(DiagramElementTarget object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseNotationElementTarget(NotationElementTarget object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseMetricContainer(MetricContainer object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseMetricRule(MetricRule object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseAuditedMetricTarget(AuditedMetricTarget object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseAuditable(Auditable object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object caseMeasurable(Measurable object)
object - the target of the switch.
doSwitch(EObject)public java.lang.Object defaultCase(EObject object)
object - the target of the switch.
GMFMapSwitch.doSwitch(org.eclipse.emf.ecore.EObject)
|
Generation Framework | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.