class Projects::Model::Version

Attributes

description[RW]
fileSize[RW]
id[RW]
uploadedBy[RW]
uploadedDate[RW]
uploadedDateFormat[RW]
uploadedDateLong[RW]
uploadedOn[RW]
version[RW]

Public Instance Methods

getDescription() click to toggle source
  • Get the version description.

Returns

# File lib/projects/model/Version.rb, line 69
def getDescription
        return @description
end
getFileSize() click to toggle source
  • Get the file size.

Returns

  • File size.

# File lib/projects/model/Version.rb, line 129
def getFileSize
        return @fileSize
end
getId() click to toggle source
  • Get the version id.

Returns

# File lib/projects/model/Version.rb, line 29
def getId
        return @id
end
getUploadedBy() click to toggle source
  • Get the id of the person who has uploaded.

Returns

  • Id of the user who has uploaded.

# File lib/projects/model/Version.rb, line 49
def getUploadedBy
        return @uploadedBy
end
getUploadedDate() click to toggle source
  • Get the uploaded date.

Returns

  • Uploaded date.

# File lib/projects/model/Version.rb, line 149
def getUploadedDate
        return @uploadedDate
end
getUploadedDateFormat() click to toggle source
  • Get the uploaded date format.

Returns

  • Uploaded date format.

# File lib/projects/model/Version.rb, line 169
def getUploadedDateFormat
        return @uploadedDateFormat
end
getUploadedDateLong() click to toggle source
  • Get the document uploaded date long.

Returns

  • document uploaded date long.

# File lib/projects/model/Version.rb, line 189
def getUploadedDateLong
        return @uploadedDateLong
end
getUploadedOn() click to toggle source
  • Get when the document was uploaded on.

Returns

  • Time of uploading the document.

# File lib/projects/model/Version.rb, line 109
def getUploadedOn
        return @uploadedOn
end
getVersion() click to toggle source
  • Get the version.

Returns

# File lib/projects/model/Version.rb, line 89
def getVersion
        return @version
end
setDescription(description) click to toggle source
  • Set the version description.

Parameters

  • description
    • Description for the version.

# File lib/projects/model/Version.rb, line 59
def setDescription(description)
        @description = description
end
setFileSize(fileSize) click to toggle source
  • Set the file size.

Parameters

  • fileSize
    • Size of the file.

# File lib/projects/model/Version.rb, line 119
def setFileSize(fileSize)
        @fileSize = fileSize
end
setId(id) click to toggle source
  • Set the version id.

Parameters

  • id
    • ID of the version.

# File lib/projects/model/Version.rb, line 19
def setId(id)
        @id = id
end
setUploadedBy(uploadedBy) click to toggle source
  • Set the id of the person who has uploaded.

Parameters

  • uploadedBy
    • Id of the person who has uploaded.

# File lib/projects/model/Version.rb, line 39
def setUploadedBy(uploadedBy)
        @uploadedBy = uploadedBy
end
setUploadedDate(uploadedDate) click to toggle source
  • Set the uploaded date.

Parameters

# File lib/projects/model/Version.rb, line 139
def setUploadedDate(uploadedDate)
        @uploadedDate = uploadedDate
end
setUploadedDateFormat(uploadedDateFormat) click to toggle source
  • Set the uploaded date format.

Parameters

  • uploadedDate
# File lib/projects/model/Version.rb, line 159
def setUploadedDateFormat(uploadedDateFormat)
        @uploadedDateFormat = uploadedDateFormat
end
setUploadedDateLong(uploadedDateLong) click to toggle source
  • Set the uploaded date long.

Parameters

  • uploadedDateLong
# File lib/projects/model/Version.rb, line 179
def setUploadedDateLong(uploadedDateLong)
        @uploadedDateLong = uploadedDateLong
end
setUploadedOn(uploadedOn) click to toggle source
  • Set when was the document uploaded on.

Parameters

  • uploadedOn
    • When was the document uploaded on.

# File lib/projects/model/Version.rb, line 99
def setUploadedOn(uploadedOn)
        @uploadedOn = uploadedOn
end
setVersion(version) click to toggle source
  • Set the version.

Parameters

# File lib/projects/model/Version.rb, line 79
def setVersion(version)
        @version = version
end