Class: Projects::Model::Generallog

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

Overview

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

Instance Method Summary collapse

Methods inherited from Log

#getBillStatus, #getDate, #getHours, #getHoursDisplay, #getId, #getLogDate, #getLogDateFormat, #getLogDateLong, #getMinutes, #getNotes, #getOwnerId, #getOwnerName, #getProjectId, #getProjectName, #getTotalMinutes, #getURL, #setBillStatus, #setDate, #setHours, #setHoursDisplay, #setId, #setLogDate, #setLogDateFormat, #setLogDateLong, #setMinutes, #setNotes, #setOwnerId, #setOwnerName, #setProjectId, #setProjectName, #setTotalMinutes, #setURL, #toParamMAP

Instance Method Details

#getNameObject

  • Get the name of the general log.

Returns

  • General log name.



31
32
33
# File 'lib/projects/model/Generallog.rb', line 31

def getName
  return @name
end

#setName(name) ⇒ Object

  • Set the name fo the general log.

Parameters

  • name
    • Name of the general log.



21
22
23
# File 'lib/projects/model/Generallog.rb', line 21

def setName(name)
  @name = name
end