psdi.app.pm

Class FldPMSeqInterval

  • All Implemented Interfaces:
    MboConstants, MboValueListener


    public class FldPMSeqInterval
    extends MboValueAdapter
    Behaviour of the 'interval' field in the PMSEQUENCE object
    Duplicate intervals are not allowed in a jobplan sequence set. When a jobplan is added to the jobplan sequence, updateJPFields() is called to update the jobplan related attributes if they are null.
    Also the interval should be a number greater than zero.
    PM.updateJPFields

    • Constructor Detail

      • FldPMSeqInterval

        public FldPMSeqInterval(MboValue mbv)
                         throws MXException
        Construct and attach to the mbo value
        Parameters:
        mbv -
        Throws:
        MXException
    • Method Detail

      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        Checks the interval which should be greater than zero for a jobplan sequence. Also checks for duplicate intervals in a jobplan sequnece. Duplicate intervals are not allowed within a jobplan sequence set.
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MboValueAdapter
        Throws:
        MXException -
        If interval is less than or equal to zero then MXApplicationException("PM","IntervalGreaterThanZero") OR
        If duplicate interval is encountered then MXApplicationException("PM","IntervalExists")
        java.rmi.RemoteException