com.ibm.tivoli.maximo.skd.app

Class SKDSpatialParam

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


    public class SKDSpatialParam
    extends Mbo
    implements SKDSpatialParamRemote
    MBO object to represent SKDSpatialParam.

    This is a system level object.

    The key attributes for this object are Inputname.

    The attributes in this object are as follows:

    INPUTNAMEIdentifies the spatial scheduling template.
    INPUTDESCRIPTIONDescribes the spatial scheduling template.
    CMATCHSKILLIndicates that the work's required skills must be met when assigning labor and crew based on there location and work location.
    CSKDWINDOWIndicates that the schedule window is considered when when assigning labor and crew based on there location and work location.
    OMINCOSTIndicates that labor costs should be minimized when assigning labor and crew based on there location and work location.
    OMINTASKINTERRUPTIndicates that the interruption of interruptible tasks should be minimized when assigning labor and crew based on there location and work location.
    OMAXASSIGNWOMaximize the number of assigned work orders when assigning labor and crew based on there location and work location.
    OMAXSUMPRWOMaximize the sum-product of prioritized work orders when assigning labor and crew based on there location and work location.
    OMAXCREWLABORWOMaximize the repeatability of crew / labor on dependent work orders when assigning labor and crew based on there location and work location.
    OMINTASKTIMEMinimize the task completion time when assigning labor and crew based on there location and work location.
    OMINTRAVELTIMEIndicates that travel time should be minimized when assigning labor and crew based on there location and work location.
    OSCHEDWORKFARIndicates that schedule work from farthest workorder when assigning labor and crew based on there location and work location.
    OMINCREWOVERLAPIndicates that crew overlap should be minimized when assigning labor and crew based on there location and work location.
    CINCLUDETRAVELTIMEIndicates that travel time is considered when assigning labor and crew based on there location and work location.
    CPERCTBUFFERIndicates the percentage of additional travel / work time per work order.
    VENFORCEAMSIndicates whether the spatial scheduling model should enforce the asset maintenance schedule when assigning labor and crew based on there location and work location. Select Enforce to schedule work during the asset maintenance schedule. Select Ignore to schedule work at the earliest available time. Select Consider to allow the model to schedule work outside of the maintenance schedule if necessary.
    VENFORCEAOSIndicates whether the spatial scheduling model should enforce the asset operating schedule when assigning labor and crew based on there location and work location. Select Enforce to schedule work when the asset is not operating. Select Ignore to schedule work at the earliest available time. Select Consider to allow the model to schedule work during asset operation if necessary.
    VENFORCELMSIndicates whether the spatial scheduling model should enforce the location maintenance schedule when assigning labor and crew based on there location and work location. Select Enforce to schedule work during the location maintenance schedule. Select Ignore to schedule work at the earliest available time. Select Consider to allow the model to schedule work outside of the maintenance schedule if necessary.
    VENFORCELOSIndicates whether the spatial scheduling model should enforce the location operating schedule when assigning labor and crew based on there location and work location. Select Enforce to schedule work when the location is not operating. Select Ignore to schedule work at the earliest available time. Select Consider to allow the model to schedule work during location operation if necessary.
    ISTEMPLATESet to 1 if parameters are specified through labor assignment template dialog or the default is set to 0.
    • Constructor Detail

      • SKDSpatialParam

        public SKDSpatialParam(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