psdi.app.meter

Class FldDeployedMeterNewReadingDate

    • Constructor Detail

      • FldDeployedMeterNewReadingDate

        public FldDeployedMeterNewReadingDate(MboValue mbv)
        Construct and attach to the specified mbo value
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Checks to make sure that the new meter reading date is not a future date. Historic dates are allowed. A historic date is not only a date that is in the past, but also a date that is less than at least one already recorded meter reading for this value's DeployedMeter object.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MboValueAdapter
        Throws:
        MXApplicationException("asset","nofuturereadings") - when the current new meter reading date is in the future.
        MXException
        java.rmi.RemoteException