com.ibm.tivoli.maximo.skd.gworkassign.model

Class ActivityBuilder

  • java.lang.Object
    • com.ibm.tivoli.maximo.skd.gworkassign.model.ActivityBuilder


  • public class ActivityBuilder
    extends java.lang.Object
    Builder Factory class for the Activity object.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ActivityBuilder(MXServer mxServer, boolean adjustActivityTimes) 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      Activity build(MboRemote projectMbo, GWASchedule schedule, java.sql.ResultSet resultSet, java.util.Map objectColumnsMap, java.util.Map relPropertyInfoMap, int dbType)
      Builds an Activity object based on the values retrieved from a ResultSet.
      protected void loadActivity(Activity activity, MboRemote projectMbo, java.sql.ResultSet resultSet, GWASchedule schedule, int dbType) 
      static void populatePropertyValue(Activity activity, java.lang.String propertyName, int maxtype, MboRemote assign, java.lang.String attributeName)
      Populate property values
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ActivityBuilder

        public ActivityBuilder(MXServer mxServer,
                               boolean adjustActivityTimes)
    • Method Detail

      • build

        public Activity build(MboRemote projectMbo,
                              GWASchedule schedule,
                              java.sql.ResultSet resultSet,
                              java.util.Map objectColumnsMap,
                              java.util.Map relPropertyInfoMap,
                              int dbType)
                       throws MXException,
                              java.rmi.RemoteException
        Builds an Activity object based on the values retrieved from a ResultSet.
        Parameters:
        resultSet -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • populatePropertyValue

        public static void populatePropertyValue(Activity activity,
                                                 java.lang.String propertyName,
                                                 int maxtype,
                                                 MboRemote assign,
                                                 java.lang.String attributeName)
                                          throws MXException,
                                                 java.rmi.RemoteException
        Populate property values
        Parameters:
        propValue -
        propertyName -
        maxtype -
        mbo -
        attributeName -
        Throws:
        MXException
        java.rmi.RemoteException