org.richfaces.photoalbum.model
Class Event
java.lang.Object
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()
|
Event
public Event()
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)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.