psdi.app.pm

Class FldPMAssetnum

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldPMAssetnum
    extends FldAssetnum
    Behaviour of the Assetnum field in the PM object
    For any given PM, either a 'asset' or 'location' can be entered. So if the user enters a 'asset', the 'location' field gets cleared.

    Last Update: Friday, Oct 06, 2000 - Sudha - Javadocs

    • Constructor Detail

      • FldPMAssetnum

        public FldPMAssetnum(MboValue mbv)
                      throws MXException
        Construct and attach to the mbo value
        Parameters:
        mbv -
        Throws:
        MXExeption
        MXException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Asset field cannot be null, if it is a meter based PM Throws interactive message in case of UI to delete the PM Hierarchy forecast if the field value changes.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class FldAssetnum
        Throws:
        MXException - If it is a meter based PM, then MXApplicationException("PM","AssetRequired")
        java.rmi.RemoteException