@MappedSuperclass public abstract class AbstractEvent extends DomainObject implements DateRange
InheritanceType.TABLE_PER_CLASS
since different event types will be structured around date.Modifier and Type | Field and Description |
---|---|
protected Integer |
bitmask |
protected Date |
endDate |
protected String |
name |
protected Date |
startDate |
protected String |
timeZone
As optional Time Zone specifier
|
protected String |
type
A sub-type
|
protected String |
value
Its own Content
|
Constructor and Description |
---|
AbstractEvent() |
AbstractEvent(String json) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getBitmask() |
Date |
getEndDate() |
abstract Long |
getId() |
String |
getName() |
Date |
getStartDate() |
String |
getTimeZone() |
String |
getType()
A sub-type
|
String |
getValue() |
int |
hashCode() |
void |
setBitmask(Integer bitmask) |
void |
setEndDate(Date endDate) |
abstract void |
setId(Long id) |
void |
setName(String name) |
void |
setStartDate(Date startDate) |
void |
setTimeZone(String timeZone) |
void |
setType(String type)
A sub-type
|
void |
setValue(String value) |
String |
toString() |
protected String name
protected Integer bitmask
protected String value
protected Date startDate
protected Date endDate
protected String type
protected String timeZone
public AbstractEvent()
public AbstractEvent(String json)
public String getName()
public void setName(String name)
public Integer getBitmask()
public void setBitmask(Integer bitmask)
public String getValue()
public void setValue(String value)
public Date getStartDate()
getStartDate
in interface DateRange
public void setStartDate(Date startDate)
public Date getEndDate()
getEndDate
in interface DateRange
public void setEndDate(Date endDate)
public String getType()
public void setType(String type)
public String getTimeZone()
public void setTimeZone(String timeZone)
public abstract Long getId()
public abstract void setId(Long id)
Copyright © 2018. All rights reserved.