Class SmmSwitch<T>

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.omg.smm.util.SmmSwitch<T>

public class SmmSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<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.
See Also:
SmmPackage
  • Field Details

    • modelPackage

      protected static SmmPackage modelPackage
      The cached model package
  • Constructor Details

    • SmmSwitch

      public SmmSwitch()
      Creates an instance of the switch.
  • Method Details

    • isSwitchFor

      protected boolean isSwitchFor​(org.eclipse.emf.ecore.EPackage ePackage)
      Checks whether this is a switch for the given package.
      Specified by:
      isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>
      Parameters:
      ePackage - the package in question.
      Returns:
      whether this is a switch for the given package.
    • doSwitch

      protected T doSwitch​(int classifierID, org.eclipse.emf.ecore.EObject theEObject)
      Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
      Overrides:
      doSwitch in class org.eclipse.emf.ecore.util.Switch<T>
      Returns:
      the first non-null result returned by a caseXXX call.
    • caseAbstractMeasureElement

      public T caseAbstractMeasureElement​(AbstractMeasureElement object)
      Returns the result of interpreting the object as an instance of 'Abstract Measure Element'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Abstract Measure Element'.
      See Also:
      doSwitch(EObject)
    • caseAnnotation

      public T caseAnnotation​(Annotation object)
      Returns the result of interpreting the object as an instance of 'Annotation'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Annotation'.
      See Also:
      doSwitch(EObject)
    • caseArgument

      public T caseArgument​(Argument object)
      Returns the result of interpreting the object as an instance of 'Argument'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Argument'.
      See Also:
      doSwitch(EObject)
    • caseAttribute

      public T caseAttribute​(Attribute object)
      Returns the result of interpreting the object as an instance of 'Attribute'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Attribute'.
      See Also:
      doSwitch(EObject)
    • caseBase1MeasureRelationship

      public T caseBase1MeasureRelationship​(Base1MeasureRelationship object)
      Returns the result of interpreting the object as an instance of 'Base1 Measure Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Base1 Measure Relationship'.
      See Also:
      doSwitch(EObject)
    • caseBase1MeasurementRelationship

      public T caseBase1MeasurementRelationship​(Base1MeasurementRelationship object)
      Returns the result of interpreting the object as an instance of 'Base1 Measurement Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Base1 Measurement Relationship'.
      See Also:
      doSwitch(EObject)
    • caseBase2MeasureRelationship

      public T caseBase2MeasureRelationship​(Base2MeasureRelationship object)
      Returns the result of interpreting the object as an instance of 'Base2 Measure Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Base2 Measure Relationship'.
      See Also:
      doSwitch(EObject)
    • caseBase2MeasurementRelationship

      public T caseBase2MeasurementRelationship​(Base2MeasurementRelationship object)
      Returns the result of interpreting the object as an instance of 'Base2 Measurement Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Base2 Measurement Relationship'.
      See Also:
      doSwitch(EObject)
    • caseBaseNMeasureRelationship

      public T caseBaseNMeasureRelationship​(BaseNMeasureRelationship object)
      Returns the result of interpreting the object as an instance of 'Base NMeasure Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Base NMeasure Relationship'.
      See Also:
      doSwitch(EObject)
    • caseBaseNMeasurementRelationship

      public T caseBaseNMeasurementRelationship​(BaseNMeasurementRelationship object)
      Returns the result of interpreting the object as an instance of 'Base NMeasurement Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Base NMeasurement Relationship'.
      See Also:
      doSwitch(EObject)
    • caseBinaryMeasure

      public T caseBinaryMeasure​(BinaryMeasure object)
      Returns the result of interpreting the object as an instance of 'Binary Measure'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Binary Measure'.
      See Also:
      doSwitch(EObject)
    • caseBinaryMeasurement

      public T caseBinaryMeasurement​(BinaryMeasurement object)
      Returns the result of interpreting the object as an instance of 'Binary Measurement'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Binary Measurement'.
      See Also:
      doSwitch(EObject)
    • caseCategoryRelationship

      public T caseCategoryRelationship​(CategoryRelationship object)
      Returns the result of interpreting the object as an instance of 'Category Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Category Relationship'.
      See Also:
      doSwitch(EObject)
    • caseCharacteristic

      public T caseCharacteristic​(Characteristic object)
      Returns the result of interpreting the object as an instance of 'Characteristic'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Characteristic'.
      See Also:
      doSwitch(EObject)
    • caseCollectiveMeasure

      public T caseCollectiveMeasure​(CollectiveMeasure object)
      Returns the result of interpreting the object as an instance of 'Collective Measure'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Collective Measure'.
      See Also:
      doSwitch(EObject)
    • caseCollectiveMeasurement

      public T caseCollectiveMeasurement​(CollectiveMeasurement object)
      Returns the result of interpreting the object as an instance of 'Collective Measurement'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Collective Measurement'.
      See Also:
      doSwitch(EObject)
    • caseDimensionalMeasure

      public T caseDimensionalMeasure​(DimensionalMeasure object)
      Returns the result of interpreting the object as an instance of 'Dimensional Measure'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Dimensional Measure'.
      See Also:
      doSwitch(EObject)
    • caseDimensionalMeasurement

      public T caseDimensionalMeasurement​(DimensionalMeasurement object)
      Returns the result of interpreting the object as an instance of 'Dimensional Measurement'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Dimensional Measurement'.
      See Also:
      doSwitch(EObject)
    • caseDirectMeasure

      public T caseDirectMeasure​(DirectMeasure object)
      Returns the result of interpreting the object as an instance of 'Direct Measure'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Direct Measure'.
      See Also:
      doSwitch(EObject)
    • caseDirectMeasurement

      public T caseDirectMeasurement​(DirectMeasurement object)
      Returns the result of interpreting the object as an instance of 'Direct Measurement'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Direct Measurement'.
      See Also:
      doSwitch(EObject)
    • caseEquivalentMeasureRelationship

      public T caseEquivalentMeasureRelationship​(EquivalentMeasureRelationship object)
      Returns the result of interpreting the object as an instance of 'Equivalent Measure Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Equivalent Measure Relationship'.
      See Also:
      doSwitch(EObject)
    • caseEquivalentMeasurementRelationship

      public T caseEquivalentMeasurementRelationship​(EquivalentMeasurementRelationship object)
      Returns the result of interpreting the object as an instance of 'Equivalent Measurement Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Equivalent Measurement Relationship'.
      See Also:
      doSwitch(EObject)
    • caseGradeMeasurement

      public T caseGradeMeasurement​(GradeMeasurement object)
      Returns the result of interpreting the object as an instance of 'Grade Measurement'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Grade Measurement'.
      See Also:
      doSwitch(EObject)
    • caseMeasure

      public T caseMeasure​(Measure object)
      Returns the result of interpreting the object as an instance of 'Measure'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Measure'.
      See Also:
      doSwitch(EObject)
    • caseMeasureCategory

      public T caseMeasureCategory​(MeasureCategory object)
      Returns the result of interpreting the object as an instance of 'Measure Category'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Measure Category'.
      See Also:
      doSwitch(EObject)
    • caseMeasureLibrary

      public T caseMeasureLibrary​(MeasureLibrary object)
      Returns the result of interpreting the object as an instance of 'Measure Library'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Measure Library'.
      See Also:
      doSwitch(EObject)
    • caseMeasureRelationship

      public T caseMeasureRelationship​(MeasureRelationship object)
      Returns the result of interpreting the object as an instance of 'Measure Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Measure Relationship'.
      See Also:
      doSwitch(EObject)
    • caseMeasurement

      public T caseMeasurement​(Measurement object)
      Returns the result of interpreting the object as an instance of 'Measurement'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Measurement'.
      See Also:
      doSwitch(EObject)
    • caseMeasurementRelationship

      public T caseMeasurementRelationship​(MeasurementRelationship object)
      Returns the result of interpreting the object as an instance of 'Measurement Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Measurement Relationship'.
      See Also:
      doSwitch(EObject)
    • caseNamedMeasure

      public T caseNamedMeasure​(NamedMeasure object)
      Returns the result of interpreting the object as an instance of 'Named Measure'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Named Measure'.
      See Also:
      doSwitch(EObject)
    • caseNamedMeasurement

      public T caseNamedMeasurement​(NamedMeasurement object)
      Returns the result of interpreting the object as an instance of 'Named Measurement'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Named Measurement'.
      See Also:
      doSwitch(EObject)
    • caseOCLOperation

      public T caseOCLOperation​(OCLOperation object)
      Returns the result of interpreting the object as an instance of 'OCL Operation'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'OCL Operation'.
      See Also:
      doSwitch(EObject)
    • caseObservation

      public T caseObservation​(Observation object)
      Returns the result of interpreting the object as an instance of 'Observation'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Observation'.
      See Also:
      doSwitch(EObject)
    • caseObservationScope

      public T caseObservationScope​(ObservationScope object)
      Returns the result of interpreting the object as an instance of 'Observation Scope'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Observation Scope'.
      See Also:
      doSwitch(EObject)
    • caseObservedMeasure

      public T caseObservedMeasure​(ObservedMeasure object)
      Returns the result of interpreting the object as an instance of 'Observed Measure'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Observed Measure'.
      See Also:
      doSwitch(EObject)
    • caseOperation

      public T caseOperation​(Operation object)
      Returns the result of interpreting the object as an instance of 'Operation'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Operation'.
      See Also:
      doSwitch(EObject)
    • caseGradeMeasure

      public T caseGradeMeasure​(GradeMeasure object)
      Returns the result of interpreting the object as an instance of 'Grade Measure'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Grade Measure'.
      See Also:
      doSwitch(EObject)
    • caseGradeInterval

      public T caseGradeInterval​(GradeInterval object)
      Returns the result of interpreting the object as an instance of 'Grade Interval'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Grade Interval'.
      See Also:
      doSwitch(EObject)
    • caseRankingMeasureRelationship

      public T caseRankingMeasureRelationship​(RankingMeasureRelationship object)
      Returns the result of interpreting the object as an instance of 'Ranking Measure Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Ranking Measure Relationship'.
      See Also:
      doSwitch(EObject)
    • caseGradeMeasurementRelationship

      public T caseGradeMeasurementRelationship​(GradeMeasurementRelationship object)
      Returns the result of interpreting the object as an instance of 'Grade Measurement Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Grade Measurement Relationship'.
      See Also:
      doSwitch(EObject)
    • caseRatioMeasure

      public T caseRatioMeasure​(RatioMeasure object)
      Returns the result of interpreting the object as an instance of 'Ratio Measure'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Ratio Measure'.
      See Also:
      doSwitch(EObject)
    • caseRatioMeasurement

      public T caseRatioMeasurement​(RatioMeasurement object)
      Returns the result of interpreting the object as an instance of 'Ratio Measurement'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Ratio Measurement'.
      See Also:
      doSwitch(EObject)
    • caseRefinementMeasureRelationship

      public T caseRefinementMeasureRelationship​(RefinementMeasureRelationship object)
      Returns the result of interpreting the object as an instance of 'Refinement Measure Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Refinement Measure Relationship'.
      See Also:
      doSwitch(EObject)
    • caseRefinementMeasurementRelationship

      public T caseRefinementMeasurementRelationship​(RefinementMeasurementRelationship object)
      Returns the result of interpreting the object as an instance of 'Refinement Measurement Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Refinement Measurement Relationship'.
      See Also:
      doSwitch(EObject)
    • caseRescaledMeasure

      public T caseRescaledMeasure​(RescaledMeasure object)
      Returns the result of interpreting the object as an instance of 'Rescaled Measure'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Rescaled Measure'.
      See Also:
      doSwitch(EObject)
    • caseRescaledMeasureRelationship

      public T caseRescaledMeasureRelationship​(RescaledMeasureRelationship object)
      Returns the result of interpreting the object as an instance of 'Rescaled Measure Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Rescaled Measure Relationship'.
      See Also:
      doSwitch(EObject)
    • caseRescaledMeasurement

      public T caseRescaledMeasurement​(RescaledMeasurement object)
      Returns the result of interpreting the object as an instance of 'Rescaled Measurement'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Rescaled Measurement'.
      See Also:
      doSwitch(EObject)
    • caseRescaledMeasurementRelationship

      public T caseRescaledMeasurementRelationship​(RescaledMeasurementRelationship object)
      Returns the result of interpreting the object as an instance of 'Rescaled Measurement Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Rescaled Measurement Relationship'.
      See Also:
      doSwitch(EObject)
    • caseScope

      public T caseScope​(Scope object)
      Returns the result of interpreting the object as an instance of 'Scope'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Scope'.
      See Also:
      doSwitch(EObject)
    • caseSmmElement

      public T caseSmmElement​(SmmElement object)
      Returns the result of interpreting the object as an instance of 'Element'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Element'.
      See Also:
      doSwitch(EObject)
    • caseSmmModel

      public T caseSmmModel​(SmmModel object)
      Returns the result of interpreting the object as an instance of 'Model'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Model'.
      See Also:
      doSwitch(EObject)
    • caseSmmRelationship

      public T caseSmmRelationship​(SmmRelationship object)
      Returns the result of interpreting the object as an instance of 'Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Relationship'.
      See Also:
      doSwitch(EObject)
    • caseRankingMeasure

      public T caseRankingMeasure​(RankingMeasure object)
      Returns the result of interpreting the object as an instance of 'Ranking Measure'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Ranking Measure'.
      See Also:
      doSwitch(EObject)
    • caseRankingInterval

      public T caseRankingInterval​(RankingInterval object)
      Returns the result of interpreting the object as an instance of 'Ranking Interval'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Ranking Interval'.
      See Also:
      doSwitch(EObject)
    • caseGradeMeasureRelationship

      public T caseGradeMeasureRelationship​(GradeMeasureRelationship object)
      Returns the result of interpreting the object as an instance of 'Grade Measure Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Grade Measure Relationship'.
      See Also:
      doSwitch(EObject)
    • caseScaledBaseMeasureRelationship

      public T caseScaledBaseMeasureRelationship​(ScaledBaseMeasureRelationship object)
      Returns the result of interpreting the object as an instance of 'Scaled Base Measure Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Scaled Base Measure Relationship'.
      See Also:
      doSwitch(EObject)
    • caseInterval

      public T caseInterval​(Interval object)
      Returns the result of interpreting the object as an instance of 'Interval'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Interval'.
      See Also:
      doSwitch(EObject)
    • caseRankingMeasurement

      public T caseRankingMeasurement​(RankingMeasurement object)
      Returns the result of interpreting the object as an instance of 'Ranking Measurement'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Ranking Measurement'.
      See Also:
      doSwitch(EObject)
    • caseRankingMeasurementRelationship

      public T caseRankingMeasurementRelationship​(RankingMeasurementRelationship object)
      Returns the result of interpreting the object as an instance of 'Ranking Measurement Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Ranking Measurement Relationship'.
      See Also:
      doSwitch(EObject)
    • caseUnitOfMeasure

      public T caseUnitOfMeasure​(UnitOfMeasure object)
      Returns the result of interpreting the object as an instance of 'Unit Of Measure'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Unit Of Measure'.
      See Also:
      doSwitch(EObject)
    • caseScaledBaseMeasurementRelationship

      public T caseScaledBaseMeasurementRelationship​(ScaledBaseMeasurementRelationship object)
      Returns the result of interpreting the object as an instance of 'Scaled Base Measurement Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Scaled Base Measurement Relationship'.
      See Also:
      doSwitch(EObject)
    • caseCountingUnit

      public T caseCountingUnit​(CountingUnit object)
      Returns the result of interpreting the object as an instance of 'Counting Unit'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Counting Unit'.
      See Also:
      doSwitch(EObject)
    • caseBaseMeasureRelationship

      public T caseBaseMeasureRelationship​(BaseMeasureRelationship object)
      Returns the result of interpreting the object as an instance of 'Base Measure Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Base Measure Relationship'.
      See Also:
      doSwitch(EObject)
    • caseBaseMeasurementRelationship

      public T caseBaseMeasurementRelationship​(BaseMeasurementRelationship object)
      Returns the result of interpreting the object as an instance of 'Base Measurement Relationship'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Base Measurement Relationship'.
      See Also:
      doSwitch(EObject)
    • defaultCase

      public T defaultCase​(org.eclipse.emf.ecore.EObject object)
      Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.
      Overrides:
      defaultCase in class org.eclipse.emf.ecore.util.Switch<T>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'EObject'.
      See Also:
      Switch.doSwitch(org.eclipse.emf.ecore.EObject)