psdi.app.pm

Class FldPMNum

  • All Implemented Interfaces:
    MboConstants, MboValueListener
    Direct Known Subclasses:
    FldPMNum, FldPMParent, PlusCFldPMNum


    public class FldPMNum
    extends MAXTableDomain
    Common Validation Class for: Preventive Maintenance identifiers - pmnum.
    The constructor takes a name of a PM criteria - as defined in PMService.initCriteriaList. If null is passed to the constructor, then no criteria will be used and the PM number will only be validated against the PM 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 PM if the criteria used is one of: null.
    • Constructor Detail

      • FldPMNum

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