Class EmfmodelAddMeasurementToDataSeriesSwitch


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

      • EmfmodelAddMeasurementToDataSeriesSwitch

        public EmfmodelAddMeasurementToDataSeriesSwitch​(MeasurementsDaoRegistry daoRegistry)
    • Method Detail

      • 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:
        doSwitch(EObject)
      • 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:
        doSwitch(EObject)
      • getMeasurementToAdd

        public Object getMeasurementToAdd()
        Returns:
        the measurementToAdd
      • setMeasurementToAdd

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