Class AttachmentData
- java.lang.Object
-
- org.sakaiproject.tool.assessment.data.dao.assessment.AttachmentData
-
- All Implemented Interfaces:
Serializable,AttachmentIfc
- Direct Known Subclasses:
AssessmentAttachment,ItemAttachment,ItemTextAttachment,SectionAttachment
public class AttachmentData extends Object implements Serializable, AttachmentIfc
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.sakaiproject.tool.assessment.data.ifc.assessment.AttachmentIfc
ACTIVE_STATUS, ASSESSMENT_ATTACHMENT, ASSESSMENTGRADING_ATTACHMENT, INACTIVE_STATUS, ITEM_ATTACHMENT, ITEM_TEXT_ATTACHMENT, ITEMGRADING_ATTACHMENT, SECTION_ATTACHMENT
-
-
Constructor Summary
Constructors Constructor Description AttachmentData()AttachmentData(Long attachmentId, String resourceId, Long attachmentType, String filename, String mimeType, Long fileSize, String description, String location, Boolean isLink, Integer status, String createdBy, Date createdDate, String lastModifiedBy, Date lastModifiedDate)AttachmentData(String resourceId, Long attachmentType, String filename, String mimeType, Long fileSize, String description, String location, Boolean isLink, Integer status, String createdBy, Date createdDate, String lastModifiedBy, Date lastModifiedDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetAttachmentId()LonggetAttachmentType()StringgetCreatedBy()DategetCreatedDate()StringgetDescription()StringgetFilename()LonggetFileSize()BooleangetIsLink()StringgetLastModifiedBy()DategetLastModifiedDate()StringgetLocation()StringgetMimeType()StringgetResourceId()IntegergetStatus()voidsetAttachmentId(Long attachmentId)voidsetAttachmentType(Long attachmentType)voidsetCreatedBy(String createdBy)voidsetCreatedDate(Date createdDate)voidsetDescription(String pdescription)voidsetFilename(String filename)voidsetFileSize(Long fileSize)voidsetIsLink(Boolean isLink)voidsetLastModifiedBy(String lastModifiedBy)voidsetLastModifiedDate(Date lastModifiedDate)voidsetLocation(String location)voidsetMimeType(String mimeType)voidsetResourceId(String resourceId)voidsetStatus(Integer status)
-
-
-
Constructor Detail
-
AttachmentData
public AttachmentData()
-
AttachmentData
public AttachmentData(String resourceId, Long attachmentType, String filename, String mimeType, Long fileSize, String description, String location, Boolean isLink, Integer status, String createdBy, Date createdDate, String lastModifiedBy, Date lastModifiedDate)
-
-
Method Detail
-
getAttachmentId
public Long getAttachmentId()
- Specified by:
getAttachmentIdin interfaceAttachmentIfc
-
setAttachmentId
public void setAttachmentId(Long attachmentId)
- Specified by:
setAttachmentIdin interfaceAttachmentIfc
-
getResourceId
public String getResourceId()
- Specified by:
getResourceIdin interfaceAttachmentIfc
-
setResourceId
public void setResourceId(String resourceId)
- Specified by:
setResourceIdin interfaceAttachmentIfc
-
getFilename
public String getFilename()
- Specified by:
getFilenamein interfaceAttachmentIfc
-
setFilename
public void setFilename(String filename)
- Specified by:
setFilenamein interfaceAttachmentIfc
-
setMimeType
public void setMimeType(String mimeType)
- Specified by:
setMimeTypein interfaceAttachmentIfc
-
getMimeType
public String getMimeType()
- Specified by:
getMimeTypein interfaceAttachmentIfc
-
getFileSize
public Long getFileSize()
- Specified by:
getFileSizein interfaceAttachmentIfc
-
setFileSize
public void setFileSize(Long fileSize)
- Specified by:
setFileSizein interfaceAttachmentIfc
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceAttachmentIfc
-
setDescription
public void setDescription(String pdescription)
- Specified by:
setDescriptionin interfaceAttachmentIfc
-
getLocation
public String getLocation()
- Specified by:
getLocationin interfaceAttachmentIfc
-
setLocation
public void setLocation(String location)
- Specified by:
setLocationin interfaceAttachmentIfc
-
getIsLink
public Boolean getIsLink()
- Specified by:
getIsLinkin interfaceAttachmentIfc
-
setIsLink
public void setIsLink(Boolean isLink)
- Specified by:
setIsLinkin interfaceAttachmentIfc
-
getStatus
public Integer getStatus()
- Specified by:
getStatusin interfaceAttachmentIfc
-
setStatus
public void setStatus(Integer status)
- Specified by:
setStatusin interfaceAttachmentIfc
-
getCreatedBy
public String getCreatedBy()
- Specified by:
getCreatedByin interfaceAttachmentIfc
-
setCreatedBy
public void setCreatedBy(String createdBy)
- Specified by:
setCreatedByin interfaceAttachmentIfc
-
getCreatedDate
public Date getCreatedDate()
- Specified by:
getCreatedDatein interfaceAttachmentIfc
-
setCreatedDate
public void setCreatedDate(Date createdDate)
- Specified by:
setCreatedDatein interfaceAttachmentIfc
-
getLastModifiedBy
public String getLastModifiedBy()
- Specified by:
getLastModifiedByin interfaceAttachmentIfc
-
setLastModifiedBy
public void setLastModifiedBy(String lastModifiedBy)
- Specified by:
setLastModifiedByin interfaceAttachmentIfc
-
getLastModifiedDate
public Date getLastModifiedDate()
- Specified by:
getLastModifiedDatein interfaceAttachmentIfc
-
setLastModifiedDate
public void setLastModifiedDate(Date lastModifiedDate)
- Specified by:
setLastModifiedDatein interfaceAttachmentIfc
-
getAttachmentType
public Long getAttachmentType()
-
setAttachmentType
public void setAttachmentType(Long attachmentType)
-
-