@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.
Constructor and Description |
---|
Event() |
Modifier and Type | Method and Description |
---|---|
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() |
public Long getId()
public void setId(Long id)
public String getName()
public void setName(String name)
public MediaItem getMediaItem()
public void setMediaItem(MediaItem picture)
public EventCategory getCategory()
public void setCategory(EventCategory category)
public String getDescription()
public void setDescription(String description)
public String getFbAlbumIdString()
public Shelf getShelf()
public void setShelf(Shelf shelf)
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.