RichFaces Photoalbum 4.3.5.Final

org.richfaces.photoalbum.model
Class MediaItem

java.lang.Object
  extended by org.richfaces.photoalbum.model.MediaItem
All Implemented Interfaces:
Serializable

@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.

Author:
Marius Bogoevici, Pete Muir
See Also:
Serialized Form

Constructor Summary
MediaItem()
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getId()
           
 MediaType getMediaType()
           
 String getUrl()
           
 int hashCode()
           
 void setMediaType(MediaType mediaType)
           
 void setUrl(String url)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MediaItem

public MediaItem()
Method Detail

getId

public Long getId()

getMediaType

public MediaType getMediaType()

setMediaType

public void setMediaType(MediaType mediaType)

getUrl

public String getUrl()

setUrl

public void setUrl(String url)

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

RichFaces Photoalbum 4.3.5.Final

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.