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 |
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 |
caseAttribute(Attribute object)
Returns the result of interpreting the object as an instance of 'Attribute'.
|
T |
caseBinaryMeasure(BinaryMeasure object)
Returns the result of interpreting the object as an instance of 'Binary Measure'.
|
T |
caseCategory(Category object)
Returns the result of interpreting the object as an instance of 'Category'.
|
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 |
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 |
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 |
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 |
caseRatioMeasure(RatioMeasure object)
Returns the result of interpreting the object as an instance of 'Ratio Measure'.
|
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 'Re Scaled Measurement'.
|
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 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 caseCategoryRelationship(CategoryRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseCategory(Category object)
object - the target of the switch.doSwitch(EObject)public T caseMeasure(Measure object)
object - the target of the switch.doSwitch(EObject)public T caseMeasurement(Measurement object)
object - the target of the switch.doSwitch(EObject)public T caseObservation(Observation object)
object - the target of the switch.doSwitch(EObject)public T caseMeasureRelationship(MeasureRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseDimensionalMeasure(DimensionalMeasure 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 caseCharacteristic(Characteristic object)
object - the target of the switch.doSwitch(EObject)public T caseScope(Scope object)
object - the target of the switch.doSwitch(EObject)public T caseBinaryMeasure(BinaryMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseDirectMeasure(DirectMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseCollectiveMeasure(CollectiveMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseNamedMeasure(NamedMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseRescaledMeasure(RescaledMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseRatioMeasure(RatioMeasure object)
object - the target of the switch.doSwitch(EObject)public T caseCounting(Counting object)
object - the target of the switch.doSwitch(EObject)public T caseDimensionalMeasurement(DimensionalMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseGrade(Grade object)
object - the target of the switch.doSwitch(EObject)public T caseMeasurementRelationship(MeasurementRelationship object)
object - the target of the switch.doSwitch(EObject)public T caseDirectMeasurement(DirectMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseCount(Count object)
object - the target of the switch.doSwitch(EObject)public T caseCollectiveMeasurement(CollectiveMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseAggregatedMeasurement(AggregatedMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseNamedMeasurement(NamedMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseReScaledMeasurement(ReScaledMeasurement object)
object - the target of the switch.doSwitch(EObject)public T caseAttribute(Attribute object)
object - the target of the switch.doSwitch(EObject)public T caseAnnotation(Annotation 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)