psdi.app.calendar

Class FldWorkperiodShiftNum

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldWorkperiodShiftNum
    extends MAXTableDomain
    Common Validation Class for: Shiftnum identifiers Since there aren't any selection criteria's for shiftnum, this object doesn't use them. This class uses the error key invalidcalendar from the calendar message file.
    • Constructor Detail

      • FldWorkperiodShiftNum

        public FldWorkperiodShiftNum(MboValue mbv)
                              throws MXException
        Construct and attach to the mbo value. Sets up the valdation information.
        Throws:
        MXException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Description copied from class: MAXTableDomain
        Validate that the MboSet returned used using either the relationship, or the where clause is not empty. If it is empty, throw an MXAPPLICATIONEXception. If there are attributes as part of the foreign key that don't allow null when this attribute is set, exception will be thrown if the value is empty.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        List returned has available shifts Flag to indicate whether this mbo is zombie or not. A zombie mbo is created for the purpose of QBE and does not really have any data associated with it.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException