|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmt.modisco.omg.smm.util.SmmSwitch<T>
public class SmmSwitch<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.
SmmPackage
Constructor Summary | |
---|---|
SmmSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SmmSwitch()
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |