org.sakaiproject.tool.assessment.data.dao.grading
Class MediaData
java.lang.Object
org.sakaiproject.tool.assessment.data.dao.grading.MediaData
- All Implemented Interfaces:
- Serializable, MediaIfc
public class MediaData
- extends Object
- implements Serializable, MediaIfc
- See Also:
- Serialized Form
|
Constructor Summary |
MediaData()
|
MediaData(byte[] media,
String mimeType)
|
MediaData(ItemGradingIfc itemGradingData,
byte[] media,
Long fileSize,
String mimeType,
String description,
String location,
String filename,
boolean isLink,
boolean isHtmlInline,
Integer status,
String createdBy,
Date createdDate,
String lastModifiedBy,
Date lastModifiedDate,
String duration)
|
MediaData(Long mediaId,
ItemGradingIfc itemGradingData,
Long fileSize,
String mimeType,
String description,
String location,
String filename,
boolean isLink,
boolean isHtmlInline,
Integer status,
String createdBy,
Date createdDate,
String lastModifiedBy,
Date lastModifiedDate,
String duration)
|
MediaData(Long mediaId,
String filename,
Long fileSize,
String duration,
Date createdDate)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaData
public MediaData()
MediaData
public MediaData(ItemGradingIfc itemGradingData,
byte[] media,
Long fileSize,
String mimeType,
String description,
String location,
String filename,
boolean isLink,
boolean isHtmlInline,
Integer status,
String createdBy,
Date createdDate,
String lastModifiedBy,
Date lastModifiedDate,
String duration)
MediaData
public MediaData(Long mediaId,
ItemGradingIfc itemGradingData,
Long fileSize,
String mimeType,
String description,
String location,
String filename,
boolean isLink,
boolean isHtmlInline,
Integer status,
String createdBy,
Date createdDate,
String lastModifiedBy,
Date lastModifiedDate,
String duration)
MediaData
public MediaData(byte[] media,
String mimeType)
MediaData
public MediaData(Long mediaId,
String filename,
Long fileSize,
String duration,
Date createdDate)
getMediaId
public Long getMediaId()
- Specified by:
getMediaId in interface MediaIfc
setMediaId
public void setMediaId(Long mediaId)
- Specified by:
setMediaId in interface MediaIfc
getItemGradingData
public ItemGradingIfc getItemGradingData()
- Specified by:
getItemGradingData in interface MediaIfc
setItemGradingData
public void setItemGradingData(ItemGradingIfc itemGradingData)
- Specified by:
setItemGradingData in interface MediaIfc
getMedia
public byte[] getMedia()
- Specified by:
getMedia in interface MediaIfc
setMedia
public void setMedia(byte[] media)
- Specified by:
setMedia in interface MediaIfc
getFileSize
public Long getFileSize()
- Specified by:
getFileSize in interface MediaIfc
getFileSizeKBFormat
public String getFileSizeKBFormat()
setFileSize
public void setFileSize(Long fileSize)
- Specified by:
setFileSize in interface MediaIfc
setMimeType
public void setMimeType(String mimeType)
- Specified by:
setMimeType in interface MediaIfc
getMimeType
public String getMimeType()
- Specified by:
getMimeType in interface MediaIfc
getDescription
public String getDescription()
- Specified by:
getDescription in interface MediaIfc
setDescription
public void setDescription(String pdescription)
- Specified by:
setDescription in interface MediaIfc
getLocation
public String getLocation()
- Specified by:
getLocation in interface MediaIfc
setLocation
public void setLocation(String location)
- Specified by:
setLocation in interface MediaIfc
getFilename
public String getFilename()
- Specified by:
getFilename in interface MediaIfc
setFilename
public void setFilename(String filename)
- Specified by:
setFilename in interface MediaIfc
getIsLink
public boolean getIsLink()
- Specified by:
getIsLink in interface MediaIfc
setIsLink
public void setIsLink(boolean isLink)
- Specified by:
setIsLink in interface MediaIfc
getIsHtmlInline
public boolean getIsHtmlInline()
- Specified by:
getIsHtmlInline in interface MediaIfc
setIsHtmlInline
public void setIsHtmlInline(boolean isHtmlInline)
- Specified by:
setIsHtmlInline in interface MediaIfc
getStatus
public Integer getStatus()
- Specified by:
getStatus in interface MediaIfc
setStatus
public void setStatus(Integer status)
- Specified by:
setStatus in interface MediaIfc
getCreatedBy
public String getCreatedBy()
- Specified by:
getCreatedBy in interface MediaIfc
setCreatedBy
public void setCreatedBy(String createdBy)
- Specified by:
setCreatedBy in interface MediaIfc
getCreatedDate
public Date getCreatedDate()
- Specified by:
getCreatedDate in interface MediaIfc
setCreatedDate
public void setCreatedDate(Date createdDate)
- Specified by:
setCreatedDate in interface MediaIfc
getLastModifiedBy
public String getLastModifiedBy()
- Specified by:
getLastModifiedBy in interface MediaIfc
setLastModifiedBy
public void setLastModifiedBy(String lastModifiedBy)
- Specified by:
setLastModifiedBy in interface MediaIfc
getLastModifiedDate
public Date getLastModifiedDate()
- Specified by:
getLastModifiedDate in interface MediaIfc
setLastModifiedDate
public void setLastModifiedDate(Date lastModifiedDate)
- Specified by:
setLastModifiedDate in interface MediaIfc
getDuration
public String getDuration()
- Specified by:
getDuration in interface MediaIfc
setDuration
public void setDuration(String duration)
- Specified by:
setDuration in interface MediaIfc
getDurationIsOver
public boolean getDurationIsOver()
- Specified by:
getDurationIsOver in interface MediaIfc
setDurationIsOver
public void setDurationIsOver(boolean durationIsOver)
- Specified by:
setDurationIsOver in interface MediaIfc
getTimeAllowed
public String getTimeAllowed()
- Specified by:
getTimeAllowed in interface MediaIfc
setTimeAllowed
public void setTimeAllowed(String timeAllowed)
- Specified by:
setTimeAllowed in interface MediaIfc
Copyright © 2005-2012 Sakai Project. All Rights Reserved.