psdi.app.workorder

Class FldWOWarrantyExist

  • All Implemented Interfaces:
    MboConstants, MboValueListener


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

      • FldWOWarrantyExist

        public FldWOWarrantyExist(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 true or false based on wocontract records for the the Equipment or Location of this work order. A listener is attached to the Eqnum, Location ,reportdate,actstart 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