psdi.app.pm

Class FldPMExtdate

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldPMExtdate
    extends MboValueAdapter
    Behaviour of the extdate field in the PM object Extdate is the extended time used to do a one-time extension of a PM's next due date. An extended date overrides dates in the Active Season, Next Due Date and Estimated Next Due Date fields. After PM generates the work orders, this field gets cleared.

    • Constructor Detail

    • Method Detail

      • init

        public void init()
                  throws MXException,
                         java.rmi.RemoteException
        Extdate is read-only when next date is null. Set the Extdate to read only and set it to null if the forecast exists or else make it editable Calibration roll-in comments There is no sense in setting extdate as readonly when such date is replaced by MasterPM.UpdateAssociatedPms process End of Calibration roll-in comments
        Specified by:
        init in interface MboValueListener
        Overrides:
        init in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException
      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Show Message dialog if extDate is after the cycleDate
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MboValueAdapter
        Parameters:
        extDate -
        cycleDate - This date is the next date plus the frequency cycle
        Throws:
        MXException
        java.rmi.RemoteException
      • action

        public void action()
                    throws MXException,
                           java.rmi.RemoteException
        If this field is null, AdjNextDue flag is set to false. *** Calibration roll-in comment This flag, pluscpmextdate, will be set to 1 when the PM Extend Date has been populated for an Asset *** End of Calibration roll-in comment
        Specified by:
        action in interface MboValueListener
        Overrides:
        action in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException