psdi.app.meter

Class FldDelta

    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        makes sure that the reading for this delta value's MBO is not surpassed by the reading previous to and older than it.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MboValueAdapter
        Throws:
        MXApplicationException("meter","updRead_ExceedsPrevRead") - when:
        • a. this value's reading mbo was instanciated from a DeployedMeter and it is NOT to be added (that is, we are in the rolldown/forward phase of a reading modification)
        • b. the reading is an ACTUAL
        • c. the new adjusted delta is less than 0, that is, the current reading would have been surpassed by the previous and older reading.
        MXApplicationException("meter","addRead_ExceedsPrevRead") - when:
        • a. we are in the roll forward phase of a new reading that is not the most recent reading for the DeployedMeter.
        • b. the reading is an ACTUAL
        • c. the new adjusted delta is less than 0, that is, the current reading would have been surpassed by the previous and older reading.
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.DeployedMeter#getIsReadingUpdate()