RichFaces Photoalbum 4.3.5.Final

org.richfaces.photoalbum.model
Class Event

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

@Entity
public class Event
extends Object
implements Serializable

Represents an event, which may have multiple performances with different dates and venues.

Event's principle members are it's relationship to EventCategory - specifying the type of event it is - and MediaItem - providing the ability to add media (such as a picture) to the event for display. It also contains meta-data about the event, such as it's name and a description.

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

Constructor Summary
Event()
           
 
Method Summary
 boolean equals(Object o)
           
 EventCategory getCategory()
           
 String getDescription()
           
 List<String> getFacebookAlbumIds()
           
 String getFbAlbumIdString()
           
 List<String> getGooglePlusAlbumIds()
           
 Long getId()
           
 MediaItem getMediaItem()
           
 String getName()
           
 List<String> getRemoteAlbumIds()
           
 Shelf getShelf()
           
 int hashCode()
           
 void setCategory(EventCategory category)
           
 void setDescription(String description)
           
 void setId(Long id)
           
 void setMediaItem(MediaItem picture)
           
 void setName(String name)
           
 void setRemoteAlbumIds(List<String> remoteAlbumIds)
           
 void setShelf(Shelf shelf)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Event

public Event()
Method Detail

getId

public Long getId()

setId

public void setId(Long id)

getName

public String getName()

setName

public void setName(String name)

getMediaItem

public MediaItem getMediaItem()

setMediaItem

public void setMediaItem(MediaItem picture)

getCategory

public EventCategory getCategory()

setCategory

public void setCategory(EventCategory category)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getRemoteAlbumIds

public List<String> getRemoteAlbumIds()

setRemoteAlbumIds

public void setRemoteAlbumIds(List<String> remoteAlbumIds)

getFacebookAlbumIds

public List<String> getFacebookAlbumIds()

getGooglePlusAlbumIds

public List<String> getGooglePlusAlbumIds()

getFbAlbumIdString

public String getFbAlbumIdString()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

getShelf

public Shelf getShelf()

setShelf

public void setShelf(Shelf shelf)

RichFaces Photoalbum 4.3.5.Final

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