Class EmfmodelAddMeasurementToDataSeriesSwitch

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.palladiosimulator.edp2.models.ExperimentData.util.ExperimentDataSwitch<Boolean>
org.palladiosimulator.edp2.util.visitors.EmfmodelAddMeasurementToDataSeriesSwitch

public class EmfmodelAddMeasurementToDataSeriesSwitch extends ExperimentDataSwitch<Boolean>
Switch class to add a provided measurement to a data series.
  • Constructor Details

    • EmfmodelAddMeasurementToDataSeriesSwitch

      public EmfmodelAddMeasurementToDataSeriesSwitch(MeasurementsDaoRegistry daoRegistry)
  • Method Details

    • caseIdentifierBasedMeasurements

      public Boolean caseIdentifierBasedMeasurements(IdentifierBasedMeasurements object)
      Description copied from class: ExperimentDataSwitch
      Returns the result of interpreting the object as an instance of 'Identifier Based Measurements'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseIdentifierBasedMeasurements in class ExperimentDataSwitch<Boolean>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Identifier Based Measurements'.
      See Also:
    • caseJSXmlMeasurements

      public Boolean caseJSXmlMeasurements(JSXmlMeasurements object)
      Description copied from class: ExperimentDataSwitch
      Returns the result of interpreting the object as an instance of 'JS Xml Measurements'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseJSXmlMeasurements in class ExperimentDataSwitch<Boolean>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'JS Xml Measurements'.
      See Also:
    • caseDoubleBinaryMeasurements

      public <Q extends javax.measure.quantity.Quantity> Boolean caseDoubleBinaryMeasurements(DoubleBinaryMeasurements<Q> object)
      Description copied from class: ExperimentDataSwitch
      Returns the result of interpreting the object as an instance of 'Double Binary Measurements'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseDoubleBinaryMeasurements in class ExperimentDataSwitch<Boolean>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Double Binary Measurements'.
      See Also:
    • caseLongBinaryMeasurements

      public Boolean caseLongBinaryMeasurements(LongBinaryMeasurements object)
      Description copied from class: ExperimentDataSwitch
      Returns the result of interpreting the object as an instance of 'Long Binary Measurements'. This implementation returns null; returning a non-null result will terminate the switch.
      Overrides:
      caseLongBinaryMeasurements in class ExperimentDataSwitch<Boolean>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Long Binary Measurements'.
      See Also:
    • getMeasurementToAdd

      public Object getMeasurementToAdd()
      Returns:
      the measurementToAdd
    • setMeasurementToAdd

      public void setMeasurementToAdd(javax.measure.Measure<?,?> measurementToAdd)
      Parameters:
      measurementToAdd - the measurementToAdd to set