psdi.app.workorder

Class FldWOWarrantyDate

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldWOWarrantyDate
    extends MboValueAdapter
    This field class calculates the value of the nonpersistent Work Order attribute "WarranyExpDate". This field is always read/only, but will change it's value when the work order's EQNum or Location changes. It does this by registering a subclass as a listener on these fields.
    • Constructor Detail

      • FldWOWarrantyDate

        public FldWOWarrantyDate(MboValue mbv)
        Constructor.
        Parameters:
        mbv - The value listened to.
    • Method Detail

      • initValue

        public void initValue()
                       throws MXException,
                              java.rmi.RemoteException
        Upon initialization, this field's value is set to either the Equipment's or Location's Warranty Expiration Date. A listener is attached to the Eqnum and Location attributes to update this attribute when those attributes change.
        Specified by:
        initValue in interface MboValueListener
        Overrides:
        initValue in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException