psdi.app.jobplan

Class JpTaskRelationSet

    • Constructor Detail

      • JpTaskRelationSet

        public JpTaskRelationSet(MboServerInterface ms)
                          throws MXException,
                                 java.rmi.RemoteException
        Construct the set.
        Parameters:
        ms - The MboServerInterface JpTaskRelationSet used to access internals of the MXServer.
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Generates a new JpTaskRelation object.
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - the JpTaskRelation MboSet.
        Returns:
        a new JpTaskRelation Mbo.
        Throws:
        MXException
        java.rmi.RemoteException
      • canAdd

        public void canAdd()
                    throws MXException
        If this object is being added to a newly created Job Plan then validate the Job Plan Key. Do not allow an object to be added to this set if the Job Plan key is invalid
        If the job plan has no tasks then we can't add a predessor row
        Overrides:
        canAdd in class MboSet
        Throws:
        MXException