Class: Projects::Model::Timelog

Inherits:
Object
  • Object
show all
Defined in:
lib/projects/model/Timelog.rb

Overview

  • This class is used to make an object for Timelog.

Instance Method Summary collapse

Instance Method Details

#getBuglogsObject

  • Get the bug logs.

Returns

  • List of Buglog object.



89
90
91
# File 'lib/projects/model/Timelog.rb', line 89

def getBuglogs
  return @buglogs
end

#getDateLongObject

  • Get the date long of the time log.

Returns

  • date of the time log.



29
30
31
# File 'lib/projects/model/Timelog.rb', line 29

def getDateLong
  return @dateLong
end

#getDisplayFormatObject

  • Get the display format of the date.

Returns

  • display format of the date.



49
50
51
# File 'lib/projects/model/Timelog.rb', line 49

def getDisplayFormat
  return @displayFormat
end

#getGenerallogsObject

  • Get the general logs.

Returns

  • List of Generallog object.



129
130
131
# File 'lib/projects/model/Timelog.rb', line 129

def getGenerallogs
  return @generallogs
end

#getTasklogsObject

  • Get the task logs.

Returns

  • List of Tasklog object.



109
110
111
# File 'lib/projects/model/Timelog.rb', line 109

def getTasklogs
  return @tasklogs
end

#getTotalHoursObject

  • Get the total hours of the time log.

Returns

  • total hours of the time log.



69
70
71
# File 'lib/projects/model/Timelog.rb', line 69

def getTotalHours
  return @totalHours
end

#setBuglogs(buglogs) ⇒ Object

  • Set the bug logs.

Parameters

  • buglogs
    • List of Buglog object.



79
80
81
# File 'lib/projects/model/Timelog.rb', line 79

def setBuglogs(buglogs)
  @buglogs = buglogs
end

#setDateLong(dateLong) ⇒ Object

  • Set the date for the time log.

Parameters

  • dateLong
    • Date for the time log.



19
20
21
# File 'lib/projects/model/Timelog.rb', line 19

def setDateLong(dateLong)
  @dateLong = dateLong
end

#setDisplayFormat(displayFormat) ⇒ Object

  • Set the display format for the date.

Parameters

  • displayFormat
    • Display format for the date.



39
40
41
# File 'lib/projects/model/Timelog.rb', line 39

def setDisplayFormat(displayFormat)
  @displayFormat = displayFormat
end

#setGenerallogs(generallogs) ⇒ Object

  • Set the general logs.

Parameters

  • generallogs
    • List of Generallog object.



119
120
121
# File 'lib/projects/model/Timelog.rb', line 119

def setGenerallogs(generallogs)
  @generallogs = generallogs
end

#setTasklogs(tasklogs) ⇒ Object

  • Set the task logs.

Parameters

  • tasklogs
    • List of Tasklog object.



99
100
101
# File 'lib/projects/model/Timelog.rb', line 99

def setTasklogs(tasklogs)
  @tasklogs = tasklogs
end

#setTotalHours(totalHours) ⇒ Object

  • Set the total hours for the time log.

Parameters

  • totalHours
    • Total hours for the time log.



59
60
61
# File 'lib/projects/model/Timelog.rb', line 59

def setTotalHours(totalHours)
  @totalHours = totalHours
end