psdi.app.jobplan

Class FldJpnum

  • All Implemented Interfaces:
    MboConstants, MboValueListener
    Direct Known Subclasses:
    FldApptAssignJobplan, FldJpnum, FldJPNum, FldPMJpnum, FldPMSeqJpnum, FldRouteStopJPNum, FldWOJobPlan


    public class FldJpnum
    extends MAXTableDomain
    Common Validation Class for: job plan identifiers - jpnum.
    The constructor takes a name of a job plan criteria - as defined in JobPlanService.initCriteriaList. If null is passed to the constructor, then no criteria will be used and the job number will only be validated against the job plan table. The constructor will throw an exception if the criteria is not found. The error message will be set if this class recognizes the criteria used. The constructor will set the error key to NotValid[Aaaa]jp if the criteria used is one of: null.
    • Constructor Detail

      • FldJpnum

        public FldJpnum(MboValue mbv,
                        java.lang.String criteriaName)
                 throws MXException
        Construct and attach to the mbo value.
        Sets up the valdation information.
        Throws:
        MXException
    • Method Detail

      • smartFind

        public MboSetRemote smartFind(java.lang.String sourceObj,
                                      java.lang.String value,
                                      boolean exact)
                               throws MXException,
                                      java.rmi.RemoteException
        Get the list based on the qbe value of the attribute. This normally is used by applink. The list criteria of the field is ignored.
        Specified by:
        smartFind in interface MboValueListener
        Overrides:
        smartFind in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException