public class SmmSwitch<T>
extends java.lang.Object
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.
SmmPackage| Constructor and Description |
|---|
SmmSwitch()
Creates an instance of the switch.
|
| Modifier and Type | Method and Description |
|---|---|
T |
caseAbstractMeasureElement(AbstractMeasureElement object)
Returns the result of interpreting the object as an instance of 'Abstract Measure Element'.
|
T |
caseAggregatedMeasurement(AggregatedMeasurement object)
Returns the result of interpreting the object as an instance of 'Aggregated Measurement'.
|
T |
caseAnnotation(Annotation object)
Returns the result of interpreting the object as an instance of 'Annotation'.
|
T |
caseArgument(Argument object)
Returns the result of interpreting the object as an instance of 'Argument'.
|
T |
caseAttribute(Attribute object)
Returns the result of interpreting the object as an instance of 'Attribute'.
|
T |
caseBase1MeasurementRelationship(Base1MeasurementRelationship object)
Returns the result of interpreting the object as an instance of 'Base1 Measurement Relationship'.
|
T |
caseBase1MeasureRelationship(Base1MeasureRelationship object)
Returns the result of interpreting the object as an instance of 'Base1 Measure Relationship'.
|
T |
caseBase2MeasurementRelationship(Base2MeasurementRelationship object)
Returns the result of interpreting the object as an instance of 'Base2 Measurement Relationship'.
|
T |
caseBase2MeasureRelationship(Base2MeasureRelationship object)
Returns the result of interpreting the object as an instance of 'Base2 Measure Relationship'.
|
T |
caseBaseMeasurementRelationship(BaseMeasurementRelationship object)
Returns the result of interpreting the object as an instance of 'Base Measurement Relationship'.
|
T |
caseBaseMeasureRelationship(BaseMeasureRelationship object)
Returns the result of interpreting the object as an instance of 'Base Measure Relationship'.
|
T |
caseBinaryMeasure(BinaryMeasure object)
Returns the result of interpreting the object as an instance of 'Binary Measure'.
|
T |
caseBinaryMeasurement(BinaryMeasurement object)
Returns the result of interpreting the object as an instance of 'Binary Measurement'.
|
T |
caseCategoryRelationship(CategoryRelationship object)
Returns the result of interpreting the object as an instance of 'Category Relationship'.
|
T |
caseCharacteristic(Characteristic object)
Returns the result of interpreting the object as an instance of 'Characteristic'.
|
T |
caseCollectiveMeasure(CollectiveMeasure object)
Returns the result of interpreting the object as an instance of 'Collective Measure'.
|
T |
caseCollectiveMeasurement(CollectiveMeasurement object)
Returns the result of interpreting the object as an instance of 'Collective Measurement'.
|
T |
caseCount(Count object)
Returns the result of interpreting the object as an instance of 'Count'.
|
T |
caseCounting(Counting object)
Returns the result of interpreting the object as an instance of 'Counting'.
|
T |
caseDimensionalMeasure(DimensionalMeasure object)
Returns the result of interpreting the object as an instance of 'Dimensional Measure'.
|
T |
caseDimensionalMeasurement(DimensionalMeasurement object)
Returns the result of interpreting the object as an instance of 'Dimensional Measurement'.
|
T |
caseDirectMeasure(DirectMeasure object)
Returns the result of interpreting the object as an instance of 'Direct Measure'.
|
T |
caseDirectMeasurement(DirectMeasurement object)
Returns the result of interpreting the object as an instance of 'Direct Measurement'.
|
T |
caseEquivalentMeasurementRelationship(EquivalentMeasurementRelationship object)
Returns the result of interpreting the object as an instance of 'Equivalent Measurement Relationship'.
|
T |
caseEquivalentMeasureRelationship(EquivalentMeasureRelationship object)
Returns the result of interpreting the object as an instance of 'Equivalent Measure Relationship'.
|
T |
caseGrade(Grade object)
Returns the result of interpreting the object as an instance of 'Grade'.
|
T |
caseMeasure(Measure object)
Returns the result of interpreting the object as an instance of 'Measure'.
|
T |
caseMeasureCategory(MeasureCategory object)
Returns the result of interpreting the object as an instance of 'Measure Category'.
|
T |
caseMeasureLibrary(MeasureLibrary object)
Returns the result of interpreting the object as an instance of 'Measure Library'.
|
T |
caseMeasurement(Measurement object)
Returns the result of interpreting the object as an instance of 'Measurement'.
|
T |
caseMeasurementRelationship(MeasurementRelationship object)
Returns the result of interpreting the object as an instance of 'Measurement Relationship'.
|
T |
caseMeasureRelationship(MeasureRelationship object)
Returns the result of interpreting the object as an instance of 'Measure Relationship'.
|
T |
caseNamedMeasure(NamedMeasure object)
Returns the result of interpreting the object as an instance of 'Named Measure'.
|
T |
caseNamedMeasurement(NamedMeasurement object)
Returns the result of interpreting the object as an instance of 'Named Measurement'.
|
T |
caseObservation(Observation object)
Returns the result of interpreting the object as an instance of 'Observation'.
|
T |
caseObservationScope(ObservationScope object)
Returns the result of interpreting the object as an instance of 'Observation Scope'.
|
T |
caseObservedMeasure(ObservedMeasure object)
Returns the result of interpreting the object as an instance of 'Observed Measure'.
|
T |
caseOCLOperation(OCLOperation object)
Returns the result of interpreting the object as an instance of 'OCL Operation'.
|
T |
caseOperation(Operation object)
Returns the result of interpreting the object as an instance of 'Operation'.
|
T |
caseRanking(Ranking object)
Returns the result of interpreting the object as an instance of 'Ranking'.
|
T |
caseRankingInterval(RankingInterval object)
Returns the result of interpreting the object as an instance of 'Ranking Interval'.
|
T |
caseRankingMeasurementRelationship(RankingMeasurementRelationship object)
Returns the result of interpreting the object as an instance of 'Ranking Measurement Relationship'.
|
T |
caseRankingMeasureRelationship(RankingMeasureRelationship object)
Returns the result of interpreting the object as an instance of 'Ranking Measure Relationship'.
|
T |
caseRatioMeasure(RatioMeasure object)
Returns the result of interpreting the object as an instance of 'Ratio Measure'.
|
T |
caseRatioMeasurement(RatioMeasurement object)
Returns the result of interpreting the object as an instance of 'Ratio Measurement'.
|
T |
caseRecursiveMeasurementRelationship(RecursiveMeasurementRelationship object)
Returns the result of interpreting the object as an instance of 'Recursive Measurement Relationship'.
|
T |
caseRecursiveMeasureRelationship(RecursiveMeasureRelationship object)
Returns the result of interpreting the object as an instance of 'Recursive Measure Relationship'.
|
T |
caseRefinementMeasurementRelationship(RefinementMeasurementRelationship object)
Returns the result of interpreting the object as an instance of 'Refinement Measurement Relationship'.
|
T |
caseRefinementMeasureRelationship(RefinementMeasureRelationship object)
Returns the result of interpreting the object as an instance of 'Refinement Measure Relationship'.
|
T |
caseRescaledMeasure(RescaledMeasure object)
Returns the result of interpreting the object as an instance of 'Rescaled Measure'.
|
T |
caseRescaledMeasurement(RescaledMeasurement object)
Returns the result of interpreting the object as an instance of 'Rescaled Measurement'.
|
T |
caseRescaleMeasurementRelationship(RescaleMeasurementRelationship object)
Returns the result of interpreting the object as an instance of 'Rescale Measurement Relationship'.
|
T |
caseRescaleMeasureRelationship(RescaleMeasureRelationship object)
Returns the result of interpreting the object as an instance of 'Rescale Measure Relationship'.
|
T |
caseScope(Scope object)
Returns the result of interpreting the object as an instance of 'Scope'.
|
T |
caseSmmElement(SmmElement object)
Returns the result of interpreting the object as an instance of 'Element'.
|
T |
caseSmmModel(SmmModel object)
Returns the result of interpreting the object as an instance of 'Model'.
|
T |
caseSmmRelationship(SmmRelationship object)
Returns the result of interpreting the object as an instance of 'Relationship'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
T |
doSwitch(EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
public T doSwitch(EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.public T caseAbstractMeasureElement(AbstractMeasureElement object)
object - the target of the switch.doSwitch(EObject)public T caseAnnotation(Annotation object)
object - the target of the switch.doSwitch(EObject)public T caseArgument(Argument object)
object - the target of the switch.doSwitch(EObject)public T caseAttribute(Attribute object)
object - the target of the switch.doSwitch(EObject)public T caseAggregatedMeasurement(AggregatedMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseBase1MeasurementRelationship(Base1MeasurementRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseBase1MeasureRelationship(Base1MeasureRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseBase2MeasurementRelationship(Base2MeasurementRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseBase2MeasureRelationship(Base2MeasureRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseBaseMeasurementRelationship(BaseMeasurementRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseBaseMeasureRelationship(BaseMeasureRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseBinaryMeasure(BinaryMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseBinaryMeasurement(BinaryMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseCategoryRelationship(CategoryRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseCharacteristic(Characteristic object)
object - the target of the switch.doSwitch(EObject)public T caseCollectiveMeasure(CollectiveMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseCollectiveMeasurement(CollectiveMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseCount(Count object)
object - the target of the switch.doSwitch(EObject)public T caseCounting(Counting object)
object - the target of the switch.doSwitch(EObject)public T caseDimensionalMeasure(DimensionalMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseDimensionalMeasurement(DimensionalMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseDirectMeasure(DirectMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseDirectMeasurement(DirectMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseEquivalentMeasureRelationship(EquivalentMeasureRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseEquivalentMeasurementRelationship(EquivalentMeasurementRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseGrade(Grade object)
object - the target of the switch.doSwitch(EObject)public T caseMeasure(Measure object)
object - the target of the switch.doSwitch(EObject)public T caseMeasureCategory(MeasureCategory object)
object - the target of the switch.doSwitch(EObject)public T caseMeasureLibrary(MeasureLibrary object)
object - the target of the switch.doSwitch(EObject)public T caseMeasureRelationship(MeasureRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseMeasurement(Measurement object)
object - the target of the switch.doSwitch(EObject)public T caseMeasurementRelationship(MeasurementRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseNamedMeasure(NamedMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseNamedMeasurement(NamedMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseObservation(Observation object)
object - the target of the switch.doSwitch(EObject)public T caseObservationScope(ObservationScope object)
object - the target of the switch.doSwitch(EObject)public T caseObservedMeasure(ObservedMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseOCLOperation(OCLOperation object)
object - the target of the switch.doSwitch(EObject)public T caseOperation(Operation object)
object - the target of the switch.doSwitch(EObject)public T caseRanking(Ranking object)
object - the target of the switch.doSwitch(EObject)public T caseRankingInterval(RankingInterval object)
object - the target of the switch.doSwitch(EObject)public T caseRankingMeasureRelationship(RankingMeasureRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseRankingMeasurementRelationship(RankingMeasurementRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseRatioMeasure(RatioMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseRatioMeasurement(RatioMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseRecursiveMeasureRelationship(RecursiveMeasureRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseRecursiveMeasurementRelationship(RecursiveMeasurementRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseRefinementMeasureRelationship(RefinementMeasureRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseRefinementMeasurementRelationship(RefinementMeasurementRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseRescaledMeasure(RescaledMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseRescaleMeasureRelationship(RescaleMeasureRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseRescaledMeasurement(RescaledMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseRescaleMeasurementRelationship(RescaleMeasurementRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseScope(Scope object)
object - the target of the switch.doSwitch(EObject)public T caseSmmElement(SmmElement object)
object - the target of the switch.doSwitch(EObject)public T caseSmmModel(SmmModel object)
object - the target of the switch.doSwitch(EObject)public T caseSmmRelationship(SmmRelationship object)
object - the target of the switch.doSwitch(EObject)public T defaultCase(EObject object)
object - the target of the switch.#doSwitch(org.eclipse.emf.ecore.EObject)