class Projects::Model::Activity

Attributes

activityBy[RW]
activityFor[RW]
displayTime[RW]
id[RW]
name[RW]
state[RW]
time[RW]
timeLong[RW]

Public Instance Methods

getActivityBy() click to toggle source
  • Get who posted the activity.

Returns

  • User who posted the activity.

# File lib/projects/model/Activity.rb, line 88
def getActivityBy
        return @activityBy
end
getActivityFor() click to toggle source
  • Get the activity for which topic.

Returns

  • Th topic of the activity.

# File lib/projects/model/Activity.rb, line 168
def getActivityFor
        return @activityFor
end
getDisplayTime() click to toggle source
  • Get the display time for the activity.

Returns

  • Display time for the activity.

# File lib/projects/model/Activity.rb, line 128
def getDisplayTime
        return @displayTime
end
getId() click to toggle source
  • Get the activity id.

Returns

# File lib/projects/model/Activity.rb, line 28
def getId
        return @id
end
getName() click to toggle source
  • Get the activity name.

Returns

# File lib/projects/model/Activity.rb, line 48
def getName
        return @name
end
getState() click to toggle source
  • Get the activity state.

Returns

# File lib/projects/model/Activity.rb, line 68
def getState
        return @state
end
getTime() click to toggle source
  • Get the time for the activity done.

Returns

  • Time for the activity done.

# File lib/projects/model/Activity.rb, line 148
def getTime
        return @time
end
getTimeLong() click to toggle source
  • Get the time long.

Returns

  • Time for the activity.

# File lib/projects/model/Activity.rb, line 108
def getTimeLong
        return timeLong
end
setActivityBy(activityBy) click to toggle source
  • Set who posted the activity.

Parameters

  • activityBy
    • User who posted the activity.

# File lib/projects/model/Activity.rb, line 78
def setActivityBy(activityBy)
        @activityBy = activityBy
end
setActivityFor(activityFor) click to toggle source
  • Set the activity for which topic.

Parameters

# File lib/projects/model/Activity.rb, line 158
def setActivityFor(activityFor)
        @activityFor = activityFor
end
setDisplayTime(displayTime) click to toggle source
  • Set the display time for the activity.

Parameters

  • displayTime
    • Display time for the activity.

# File lib/projects/model/Activity.rb, line 118
def setDisplayTime(displayTime)
        @displayTime = displayTime
end
setId(id) click to toggle source
  • Set the id of the activity.

Parameters

  • id
    • ID of the activity.

# File lib/projects/model/Activity.rb, line 18
def setId(id)
        @id = id
end
setName(name) click to toggle source
  • Set the name of the activity.

Parameters

  • name
    • Name of the activity.

# File lib/projects/model/Activity.rb, line 38
def setName(name)
        @name = name
end
setState(state) click to toggle source
  • Set the state of the activity.

Parameters

  • state
    • State of the activity.

# File lib/projects/model/Activity.rb, line 58
def setState(state)
        @state = state
end
setTime(time) click to toggle source
  • Set the time for the activity done.

Parameters

  • time
    • Time for the activity done.

# File lib/projects/model/Activity.rb, line 138
def setTime(time)
        @time = time
end
setTimeLong(timeLong) click to toggle source
  • Set the time long.

Parameters

  • timeLong
    • Time for the activity.

# File lib/projects/model/Activity.rb, line 98
def setTimeLong(timeLong)
        @timeLong = timeLong
end