@Entity public class EventEntity extends ResourceSupport
Modifier and Type | Field and Description |
---|---|
private java.time.LocalDateTime |
createdOn
The date and time when the event was created.
|
private java.lang.Object |
entity |
private GUID |
eventId |
private EventType |
eventType |
private GUID |
objectGuid |
private GUID |
shopGuid |
static java.lang.String |
TABLENAME |
Constructor and Description |
---|
EventEntity() |
Modifier and Type | Method and Description |
---|---|
java.time.LocalDateTime |
getCreatedOn() |
java.lang.Object |
getEntity() |
GUID |
getEventId() |
EventType |
getEventType() |
GUID |
getObjectGuid() |
GUID |
getShopGuid() |
(package private) void |
prePersist() |
void |
setCreatedOn(java.time.LocalDateTime createdOn) |
void |
setEntity(java.lang.Object entity) |
void |
setEventId(GUID eventId) |
void |
setEventType(EventType entityType) |
void |
setObjectGuid(GUID objectGuid) |
void |
setShopGuid(GUID shopGuid) |
java.lang.String |
toString() |
add, add, equals, getLink, getLinks, getSelfLinkUri, hashCode, hasLink, hasLinks, removeLinks
public static final java.lang.String TABLENAME
private GUID eventId
private GUID shopGuid
private GUID objectGuid
private java.time.LocalDateTime createdOn
private EventType eventType
private java.lang.Object entity
void prePersist()
public GUID getEventId()
public void setEventId(GUID eventId)
public GUID getShopGuid()
public void setShopGuid(GUID shopGuid)
public GUID getObjectGuid()
public void setObjectGuid(GUID objectGuid)
public java.time.LocalDateTime getCreatedOn()
public void setCreatedOn(java.time.LocalDateTime createdOn)
public EventType getEventType()
public void setEventType(EventType entityType)
public java.lang.Object getEntity()
public void setEntity(java.lang.Object entity)
public java.lang.String toString()
toString
in class ResourceSupport