com.ibm.tivoli.maximo.skd.model

Class SKDWorkTimeInfo

  • java.lang.Object
    • com.ibm.tivoli.maximo.skd.model.SKDWorkTimeInfo
  • All Implemented Interfaces:
    java.io.Serializable


    public class SKDWorkTimeInfo
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • SKDWorkTimeInfo

        public SKDWorkTimeInfo()
    • Method Detail

      • setStartTime

        public void setStartTime(java.util.Date starTime)
        Sets the start time
        Parameters:
        starTime -
      • setEndTime

        public void setEndTime(java.util.Date endTime)
        Set end time
        Parameters:
        endTime -
      • setWorkHour

        public void setWorkHour(double workHour)
        Set work hour
        Parameters:
        workHour -
      • setPatternApplied

        public void setPatternApplied(boolean isPatternApplied)
        Set flag to indicate if pattern applied or not
        Parameters:
        isPatternApplied -
      • getStartTime

        public java.util.Date getStartTime()
        Get start time
        Returns:
        start time
      • getEndTime

        public java.util.Date getEndTime()
        Get end time
        Returns:
        end time
      • getWorkHour

        public double getWorkHour()
        Get work hour
        Returns:
        work hour
      • isPatternApplied

        public boolean isPatternApplied()
        Get flag to indicate if pattern applied or not
        Returns:
        true if applied else false
      • isInPattern

        public boolean isInPattern()
        Return flag to indicate if the work date is in pattern or not
        Returns:
        true if the date is in pattern else false
      • setInPattern

        public void setInPattern(boolean inPattern)
        Set the flag to indicate the date is in pattern
        Parameters:
        inPattern -
      • isNullWorkHour

        public boolean isNullWorkHour()
        Get the flag to indicate if work hour is null
        Returns:
        true if work hour is null else false
      • setNullWorkHour

        public void setNullWorkHour(boolean nullWorkHour)
        Set the flag to indicate if work hour is null
        Parameters:
        nullWorkHour -
      • getPatternStartDayAsInt

        public int getPatternStartDayAsInt()
        Get the pattern start day
        Returns:
        pattern start day
      • setPatternStartDayAsInt

        public void setPatternStartDayAsInt(int dayInt)
        Set pattern start day
        Parameters:
        dayInt -
      • getPatternIndexForWorkDay

        public int getPatternIndexForWorkDay()
        Get pattern index for the work day
        Returns:
        pattern index for the work day
      • setPatternIndexForWorkDay

        public void setPatternIndexForWorkDay(int dayInt)
        Set pattern index for the work day
        Parameters:
        dayInt -
      • setPatternEndDayAsInt

        public void setPatternEndDayAsInt(int dayInt)
        Set pattern start day
        Parameters:
        dayInt -
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object