psdi.app.report

Class FldReportSchedType

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldReportSchedType
    extends MboValueAdapter
    Validation for Type in ReportSched object to clear fields of unselected schedule types when a new type is selected.
    • Constructor Detail

      • FldReportSchedType

        public FldReportSchedType(MboValue mbv)
                           throws MXException,
                                  java.rmi.RemoteException
        Construct and attach to the mbo value
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        When a schedule type radio button is selected, null out the fields for the other schedule types. Use "NOACCESSCHECK | NOVALIDATION_AND_NOACTION" so that no validation is attempted as we know from Mbo classes we want to do this work. Not putting this can cause readonly errors on the Mbo at runtime.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MboValueAdapter
        Throws:
        MXException
        java.rmi.RemoteException