psdi.app.measurement

Class FldMeasurePointAssetnum

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldMeasurePointAssetnum
    extends FldAssetnum
    MeasurePoint.assetnum validation Class:
    This class validates the combination of assetnum and metername to be unique. If there is already a PM entered then only asset which have a reference to that PM will be allowed.
    See Also:
    FldAssetnum
    • Constructor Detail

      • FldMeasurePointAssetnum

        public FldMeasurePointAssetnum(MboValue mbv)
                                throws MXException
        Construct and attach to the mbo value.
        Parameters:
        mbv - the MboValue this field will attach to.
        Throws:
        MXException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        The combination of assetnum, metername and siteid should be unique and not be used by any other MeasurePoint. The entered asset must have a PM that corresponds to the Lower Limit PM and/or the Upper Limit PM.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class FldAssetnum
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.measurement.checkKey(), psdi.app.measurement.checkPMs()