|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shindig.social.core.model.MediaItemImpl
public class MediaItemImpl
see opensocial.MediaItem.Field
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.shindig.social.opensocial.model.MediaItem |
|---|
MediaItem.Field, MediaItem.Type |
| Constructor Summary | |
|---|---|
MediaItemImpl()
|
|
MediaItemImpl(String mimeType,
MediaItem.Type type,
String url)
|
|
| Method Summary | |
|---|---|
String |
getAlbumId()
Get the album which the media item belongs to. |
String |
getCreated()
Get the creation time |
String |
getDescription()
Get the description of the media item |
String |
getDuration()
Get the playtime length in seconds of the MediaItem |
String |
getFileSize()
Get the MediaItem's file size |
String |
getId()
Get the MediaItem's id |
String |
getLanguage()
Get the language associated with the media item in ISO 639-3 format |
String |
getLastUpdated()
Get the update time associated with the media item |
Address |
getLocation()
Get the location corresponding to the media item |
String |
getMimeType()
Get the mime type for this Media item. |
String |
getNumComments()
Get the number of comments on the media item |
String |
getNumViews()
Get the number of views for the media item |
String |
getNumVotes()
Get the number of votes received for voting. |
String |
getRating()
Get the average rating of the media item on a scale of 0-10 |
String |
getStartTime()
Get the time when the content is available. |
String |
getTaggedPeople()
Get people tagged in the media item. |
String |
getTags()
Get tags associated with this media item. |
String |
getThumbnailUrl()
Get the thumbnail URL for the media item. |
String |
getTitle()
Get the title for this media item |
MediaItem.Type |
getType()
Get the Type of this media item, either audio, image or video. |
String |
getUrl()
Get a URL for the media item. |
void |
setAlbumId(String albumId)
Set the album id which the media item belongs to. |
void |
setCreated(String created)
Set the creation time |
void |
setDescription(String description)
Set the description of the media item |
void |
setDuration(String duration)
Set the playtime length in seconds of the MediaItem |
void |
setFileSize(String fileSize)
Set the number of bytes for the MediaItem |
void |
setId(String id)
Set the MediaItem's id |
void |
setLanguage(String language)
Set the language associated with the media item in ISO 639-3 format |
void |
setLastUpdated(String lastUpdated)
Set the update time associated with the media item |
void |
setLocation(Address location)
Set the location corresponding to the media item |
void |
setMimeType(String mimeType)
Set the mimetype for this Media Item. |
void |
setNumComments(String numComments)
Set the number of comments on the media item |
void |
setNumViews(String numViews)
Set the number of views for the media item |
void |
setNumVotes(String numVotes)
Set the number of votes received for voting. |
void |
setRating(String rating)
Set the average rating of the media item on a scale of 0-10 |
void |
setStartTime(String startTime)
Set the the time when the content is available. |
void |
setTaggedPeople(String taggedPeople)
Set people tagged in the media item. |
void |
setTags(String tags)
Set tags associated with this media item. |
void |
setThumbnailUrl(String url)
Set a thumbnail URL for the media item. |
void |
setTitle(String title)
Set the title for this media item |
void |
setType(MediaItem.Type type)
Get the Type of this media item, either audio, image or video. |
void |
setUrl(String url)
Set a URL for the media item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MediaItemImpl()
public MediaItemImpl(String mimeType,
MediaItem.Type type,
String url)
| Method Detail |
|---|
public String getMimeType()
MediaItem
getMimeType in interface MediaItempublic void setMimeType(String mimeType)
setMimeType in interface MediaItemmimeType - the mimeTypepublic MediaItem.Type getType()
MediaItem
getType in interface MediaItempublic void setType(MediaItem.Type type)
MediaItem
setType in interface MediaItemtype - the type of this media itempublic String getUrl()
MediaItem
getUrl in interface MediaItempublic void setUrl(String url)
setUrl in interface MediaItemurl - the media item URLpublic String getThumbnailUrl()
MediaItem
getThumbnailUrl in interface MediaItempublic void setThumbnailUrl(String url)
setThumbnailUrl in interface MediaItemurl - the thumbnail URL of the MediaItempublic String getAlbumId()
MediaItem
getAlbumId in interface MediaItempublic void setAlbumId(String albumId)
setAlbumId in interface MediaItemalbumId - the album idpublic String getCreated()
MediaItem
getCreated in interface MediaItempublic void setCreated(String created)
setCreated in interface MediaItemcreated - creation time associated with the media item in UTC.public String getDescription()
MediaItem
getDescription in interface MediaItempublic void setDescription(String description)
setDescription in interface MediaItempublic String getDuration()
MediaItem
getDuration in interface MediaItempublic void setDuration(String duration)
setDuration in interface MediaItempublic String getFileSize()
MediaItem
getFileSize in interface MediaItempublic void setFileSize(String fileSize)
setFileSize in interface MediaItempublic String getId()
MediaItem
getId in interface MediaItempublic void setId(String id)
setId in interface MediaItempublic String getLanguage()
MediaItem
getLanguage in interface MediaItempublic void setLanguage(String language)
setLanguage in interface MediaItempublic String getLastUpdated()
MediaItem
getLastUpdated in interface MediaItempublic void setLastUpdated(String lastUpdated)
setLastUpdated in interface MediaItempublic Address getLocation()
MediaItem
getLocation in interface MediaItempublic void setLocation(Address location)
setLocation in interface MediaItempublic String getNumComments()
MediaItem
getNumComments in interface MediaItempublic void setNumComments(String numComments)
setNumComments in interface MediaItempublic String getNumViews()
MediaItem
getNumViews in interface MediaItempublic void setNumViews(String numViews)
setNumViews in interface MediaItempublic String getNumVotes()
MediaItem
getNumVotes in interface MediaItempublic void setNumVotes(String numVotes)
setNumVotes in interface MediaItempublic String getRating()
MediaItem
getRating in interface MediaItempublic void setRating(String rating)
setRating in interface MediaItempublic String getStartTime()
MediaItem
getStartTime in interface MediaItempublic void setStartTime(String startTime)
setStartTime in interface MediaItempublic String getTaggedPeople()
MediaItem
getTaggedPeople in interface MediaItempublic void setTaggedPeople(String taggedPeople)
setTaggedPeople in interface MediaItempublic String getTags()
MediaItem
getTags in interface MediaItempublic void setTags(String tags)
setTags in interface MediaItempublic String getTitle()
MediaItem
getTitle in interface MediaItempublic void setTitle(String title)
setTitle in interface MediaItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||