@Entity public class MediaItem extends Object implements Serializable
A reference to a media object such as images, sound bites, video recordings, that can be used in the application.
A media item contains the type of the media, which is required to render it correctly, as well as the URL at which the media should be sourced.
Constructor and Description |
---|
MediaItem() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getId() |
MediaType |
getMediaType() |
String |
getUrl() |
int |
hashCode() |
void |
setMediaType(MediaType mediaType) |
void |
setUrl(String url) |
String |
toString() |
Copyright © 2015. All rights reserved.