psdi.app.labor

Class FldLaborcode

  • All Implemented Interfaces:
    MboConstants, MboValueListener
    Direct Known Subclasses:
    FldAssignCraft, FldLaborCraft, FldPurSupervisor, FldSiteLaborcode


    public class FldLaborcode
    extends MAXTableDomain
    Common Validation Class for: laborcode identifiers The constructor takes a name of a labor criteria - as defined in LaborService.initCriteriaList. If null is passed to the constructor, then no criteria will be used and the laborcode will only be validated against the labor 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 one of NotValid laborcodes if the criteria used is one of: null, "isCraft=yes", "isCraft=no"
    See Also:
    LaborService.initCriteriaList(java.util.Hashtable)
    • Constructor Detail

      • FldLaborcode

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