com.ibm.tivoli.maximo.skd.app

Class SKDLaborModParam

  • java.lang.Object
    • psdi.mbo.Mbo
      • com.ibm.tivoli.maximo.skd.app.SKDLaborModParam
  • All Implemented Interfaces:
    SKDLaborModParamRemote, java.rmi.Remote, MboConstants, MboRemote, MaxRemoteProxy


    public class SKDLaborModParam
    extends Mbo
    implements SKDLaborModParamRemote
    MBO object to represent SKDLaborModParam.

    This is a system level object.

    The key attributes for this object are Inputname.

    The attributes in this object are as follows:

    INPUTNAMEIdentifies the labor assignment template.
    INPUTDESCRIPTIONDescribes the labor assignment template.
    CMATCHSKILLIndicates that the work's required skills must be met when assigning labor.
    CSKDWINDOWIndicates that the schedule window is considered when assigning labor.
    OMINCOSTIndicates that labor costs should be minimized when assigning labor.
    OMINTASKINTERRUPTIndicates that the interruption of interruptible tasks should be minimized when assigning labor.
    OMAXASSIGNWOMaximize the number of assigned work orders when assigning labor.
    OMAXSUMPRWOMaximize the sum-product of prioritized work orders when assigning labor.
    OMAXCREWLABORWOMaximize the repeatability of crew / labor on dependent work orders when assigning labor.
    OMINTASKTIMEMinimize the task completion time when assigning labor.
    ISTEMPLATESet to 1 if parameters are specified through labor assignment template dialog or the default is set to 0.
    • Constructor Detail

      • SKDLaborModParam

        public SKDLaborModParam(MboSet ms)
                         throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • add

        public void add()
                 throws MXException,
                        java.rmi.RemoteException
        Description copied from class: Mbo
        This is called when a new Mbo is added to the Mboset collection. It is called AFTER user defaults have been set from the data dictionary. Programmer should usually override this to set some defaults. Default behavior is to do nothing.
        Specified by:
        add in interface MboRemote
        Overrides:
        add in class Mbo
        Throws:
        MXException
        java.rmi.RemoteException
      • init

        public void init()
                  throws MXException
        Initialization routine.
        Set record to READONLY when owner is skdprojectscenario and record has istemplate is true
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • 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 do not get copied from the source SKDLaborModParam to the target SKDLaborModParam.
        1. INPUTNAME
        2. INPUTOBJID
        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
      • propagateKeyValue

        public void propagateKeyValue(java.lang.String keyName,
                                      java.lang.String keyValue)
                               throws MXException,
                                      java.rmi.RemoteException
        Set value for NAME.
        Specified by:
        propagateKeyValue in interface MboRemote
        Overrides:
        propagateKeyValue in class Mbo
        Parameters:
        keyName - Should equal "INPUTNAME" or else nothing will be propagated.
        keyValue - The new value of INPUTNAME.
        Throws:
        MXException
        java.rmi.RemoteException