public class MetricSpecSwitch<T> extends Switch<T>
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.
MetricSpecPackage
Constructor and Description |
---|
MetricSpecSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAggregationFunctionDescription(AggregationFunctionDescription object)
Returns the result of interpreting the object as an instance of '
Aggregation Function Description'.
|
T |
caseBaseMetricDescription(BaseMetricDescription object)
Returns the result of interpreting the object as an instance of '
Base Metric Description'.
|
T |
caseDescription(Description object)
Returns the result of interpreting the object as an instance of 'Description'.
|
T |
caseIdentifier_Identifier(de.uka.ipd.sdq.identifier.Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'.
|
T |
caseIdentifier(Identifier object)
Returns the result of interpreting the object as an instance of 'Identifier'.
|
T |
caseIJSQuantity(javax.measure.quantity.Quantity object)
Returns the result of interpreting the object as an instance of 'IJS Quantity'.
|
T |
caseMetricDescription(MetricDescription object)
Returns the result of interpreting the object as an instance of 'Metric Description
'.
|
T |
caseMetricDescriptionRepository(MetricDescriptionRepository object)
Returns the result of interpreting the object as an instance of '
Metric Description Repository'.
|
T |
caseMetricSetDescription(MetricSetDescription object)
Returns the result of interpreting the object as an instance of '
Metric Set Description'.
|
T |
caseNumericalBaseMetricDescription(NumericalBaseMetricDescription object)
Returns the result of interpreting the object as an instance of '
Numerical Base Metric Description'.
|
T |
caseTextualBaseMetricDescription(TextualBaseMetricDescription object)
Returns the result of interpreting the object as an instance of '
Textual Base Metric Description'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public MetricSpecSwitch()
public T caseIdentifier(Identifier object)
object
- the target of the switch.doSwitch(EObject)
public T caseTextualBaseMetricDescription(TextualBaseMetricDescription object)
object
- the target of the switch.doSwitch(EObject)
public T caseBaseMetricDescription(BaseMetricDescription object)
object
- the target of the switch.doSwitch(EObject)
public T caseMetricDescription(MetricDescription object)
object
- the target of the switch.doSwitch(EObject)
public T caseDescription(Description object)
object
- the target of the switch.doSwitch(EObject)
public T caseAggregationFunctionDescription(AggregationFunctionDescription object)
object
- the target of the switch.doSwitch(EObject)
public T caseMetricSetDescription(MetricSetDescription object)
object
- the target of the switch.doSwitch(EObject)
public T caseNumericalBaseMetricDescription(NumericalBaseMetricDescription object)
object
- the target of the switch.doSwitch(EObject)
public T caseIJSQuantity(javax.measure.quantity.Quantity object)
object
- the target of the switch.doSwitch(EObject)
public T caseMetricDescriptionRepository(MetricDescriptionRepository object)
object
- the target of the switch.doSwitch(EObject)
public T caseIdentifier_Identifier(de.uka.ipd.sdq.identifier.Identifier object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(EObject object)
defaultCase
in class Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)