psdi.app.masterpm

Class MasterPMSeq

  • java.lang.Object
  • All Implemented Interfaces:
    java.rmi.Remote, MasterPMSeqRemote, MboConstants, MboRemote, MaxRemoteProxy


    public class MasterPMSeq
    extends Mbo
    implements MasterPMSeqRemote
    MBO object to represent MasterPMSeq. See the MasterPM package description for details.

    This is a system level object.

    The key attributes for this object are masterPmnum and interval

    The attributes in this object are as follows:

    Attribute NameDescription
    IntervalIndicates the period or index at which the jobplan will be used.
    JpnumThe jobplan which will be assigned to the work oder generated by the PM.
    MasterPMNumIdentifier for the Master Preventive Maintenance record.

    • Constructor Detail

      • MasterPMSeq

        public MasterPMSeq(MboSet ms)
                    throws MXException,
                           java.rmi.RemoteException
        Construct the MasterPMSeq object
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Sets default values for a new MasterPMSeq object.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • skipCopyField

        protected boolean skipCopyField(MboValueInfo mvi)
                                 throws java.rmi.RemoteException,
                                        MXException
        This method overrides the skipCopyField() in the Mbo. This method takes the MboValueInfo as its parameter to see if this field needs to be copied or skipped.If this field does not need to be copied, it returns true. The following fields donot get copied from the source MasterPMSequence to the target MasterPMSequence.
        1. masterpmnum
        Overrides:
        skipCopyField in class Mbo
        Parameters:
        mvi - The MboValueInfo object of the MboValue that needs to be copied.
        Returns:
        True,if the field does not need to be copied.In all other cases return false.
        Throws:
        MXException
        java.rmi.RemoteException