@Entity public class Event extends AbstractEvent
InheritanceType.SINGLE_TABLE, however any project using multiple type of events should consider extending directly from AbstractEvent
and using InheritanceType.TABLE_PER_CLASS since different event types will be structured around date and it will be more efficient.| Modifier and Type | Method and Description |
|---|---|
Long |
getId() |
void |
setId(Long id) |
equals, getBitmask, getEndDate, getName, getStartDate, getTimeZone, getType, getValue, hashCode, setBitmask, setEndDate, setName, setStartDate, setTimeZone, setType, setValue, toStringpublic Event()
public Event(String json)
public Long getId()
getId in class AbstractEventpublic void setId(Long id)
setId in class AbstractEventCopyright © 2018. All rights reserved.