class Projects::Model::Comment

Attributes

addedBy[RW]
addedPerson[RW]
content[RW]
createdTime[RW]
createdTimeFormat[RW]
createdTimeLong[RW]
id[RW]
postDate[RW]
postDateFormat[RW]
postDateLong[RW]
postedBy[RW]
postedPerson[RW]
updatedBy[RW]

Public Instance Methods

getAddedBy() click to toggle source
  • Get the comment added person id.

Returns

  • Id of the person who added the comment.

# File lib/projects/model/Comment.rb, line 129
def getAddedBy
        return @addedBy
end
getAddedPerson() click to toggle source
  • Get the comment added person.

Returns

  • Person who added comment.

# File lib/projects/model/Comment.rb, line 149
def getAddedPerson
        return @addedPerson
end
getContent() click to toggle source
  • Get the comment content.

Returns

# File lib/projects/model/Comment.rb, line 49
def getContent
        return @content
end
getCreatedTime() click to toggle source
  • Get the created time.

Returns

  • Created time.

# File lib/projects/model/Comment.rb, line 69
def getCreatedTime
        return @createdTime
end
getCreatedTimeFormat() click to toggle source
  • Get the created time format.

Returns

  • Created time format.

# File lib/projects/model/Comment.rb, line 89
def getCreatedTimeFormat
        return @createdTimeFormat
end
getCreatedTimeLong() click to toggle source
  • Get the created time long.

Returns

  • Created time.

# File lib/projects/model/Comment.rb, line 109
def getCreatedTimeLong
        return @createdTimeLong
end
getId() click to toggle source
  • Get the comment id.

Returns

# File lib/projects/model/Comment.rb, line 29
def getId
        return @id
end
getPostDate() click to toggle source
  • Get the comment posted date.

Returns

  • Date at which comment is posted.

# File lib/projects/model/Comment.rb, line 230
def getPostDate
        return @postDate
end
getPostDateFormat() click to toggle source
  • Get the comment posted date format.

Returns

  • Date format of the posted comment.

# File lib/projects/model/Comment.rb, line 250
def getPostDateFormat
        return @postDateFormat
end
getPostDateLong() click to toggle source
  • Get the comment posted date long.

Returns

  • The date on which the comment is posted.

# File lib/projects/model/Comment.rb, line 270
def getPostDateLong
        return @postDateLong
end
getPostedBy() click to toggle source
  • Get the comment posted person id.

Returns

  • Id of the person who posted the comment.

# File lib/projects/model/Comment.rb, line 190
def getPostedBy
        return @postedBy
end
getPostedPerson() click to toggle source
  • Get the comment posted person.

Returns

  • Person who posted the comment.

# File lib/projects/model/Comment.rb, line 210
def getPostedPerson
        return @postedPerson
end
getUpdatedBy() click to toggle source
  • Get the comment updated person id.

Returns

  • Id of the person who updated the comment.

# File lib/projects/model/Comment.rb, line 170
def getUpdatedBy
        return @updatedBy
end
setAddedBy(addedBy) click to toggle source
  • Set the id for the comment added person.

Parameters

  • addedBy
    • ID of the person who added the comment.

# File lib/projects/model/Comment.rb, line 119
def setAddedBy(addedBy)
        @addedBy = addedBy
end
setAddedPerson(addedPerson) click to toggle source
  • Set the comment added person.

Parameters

  • addedPerson
    • Person who added comment.

# File lib/projects/model/Comment.rb, line 139
def setAddedPerson(addedPerson)
        @addedPerson = addedPerson
end
setContent(content) click to toggle source
  • Set the comment content.

Parameters

  • content
    • Content for the comment.

# File lib/projects/model/Comment.rb, line 39
def setContent(content)
        @content = content
end
setCreatedTime(createdTime) click to toggle source
  • Set the created time.

Parameters

  • createdTime
    • Created time for the comment.

# File lib/projects/model/Comment.rb, line 59
def setCreatedTime(createdTime)
        @createdTime = createdTime
end
setCreatedTimeFormat(createdTimeFormat) click to toggle source
  • Set the created time format.

Parameters

  • createdTime
    • Created time format for the comment.

# File lib/projects/model/Comment.rb, line 79
def setCreatedTimeFormat(createdTimeFormat)
        @createdTimeFormat = createdTimeFormat
end
setCreatedTimeLong(createdTimeLong) click to toggle source
  • Set the created time long.

Parameters

  • createdTimeLong
    • Created time for the comment.

# File lib/projects/model/Comment.rb, line 99
def setCreatedTimeLong(createdTimeLong)
        @createdTimeLong = createdTimeLong
end
setId(id) click to toggle source
  • Set the comment id.

Parameters

  • id
    • ID of the comment.

# File lib/projects/model/Comment.rb, line 19
def setId(id)
        @id = id
end
setPostDate(postDate) click to toggle source
  • Set the comment posted date.

Parameters

  • postDate
    • Date at which comment is posted.

# File lib/projects/model/Comment.rb, line 220
def setPostDate(postDate)
        @postDate = postDate
end
setPostDateFormat(postDateFormat) click to toggle source
  • Set the comment posted date format.

Parameters

  • postDate
    • Date format of the posted comment.

# File lib/projects/model/Comment.rb, line 240
def setPostDateFormat(postDateFormat)
        @postDateFormat = postDateFormat
end
setPostDateLong(postDateLong) click to toggle source
  • Set the comment posted date long.

Parameters

  • postDateLong
    • Was was the comment posted(date).

# File lib/projects/model/Comment.rb, line 260
def setPostDateLong(postDateLong)
        @postDateLong = postDateLong
end
setPostedBy(postedBy) click to toggle source
  • Set the comment posted person id.

Parameters

  • postedBy
    • Id of the person who posted the comment.

# File lib/projects/model/Comment.rb, line 180
def setPostedBy(postedBy)
        @postedBy = postedBy
end
setPostedPerson(postedPerson) click to toggle source
  • Set the comment posted person.

Parameters

  • postedPerson
    • Person who posted the comment.

# File lib/projects/model/Comment.rb, line 200
def setPostedPerson(postedPerson)
        @postedPerson = postedPerson
end
setUpdatedBy(updatedBy) click to toggle source
  • Set the comment updated person id.

Parameters

  • updatedBy
    • ID of the person who updated the comment.

# File lib/projects/model/Comment.rb, line 160
def setUpdatedBy(updatedBy)
        @updatedBy = updatedBy
end
toParamMAP() click to toggle source
  • Convert the Comment object into HashMap.

Returns

  • HashMap object.

# File lib/projects/model/Comment.rb, line 280
def toParamMAP
        requestBody = Hash.new
        if content != nil
                requestBody["content"] = content
        end
        return requestBody
end