@MappedSuperclass public class Track extends DomainObject implements Chainable<Track>
setEntityId(Long)
.
Track class is for Entity level / analytics ttracking, while {@link TrackInfo} is more for billing type tracking of suage and summary counts.
,
Serialized FormConstructor and Description |
---|
Track() |
Track(String json) |
Track(Track t) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getEntityGUID()
GUID for entity |
Long |
getEntityId()
Local Id for entity
Can be used for ref-integrity (relation) with Token data |
String |
getEventName()
eventName within the namespace
|
Long |
getId() |
String |
getMetaJSON()
Any additional contextual information to attach
as meta data in JSON String format
|
String |
getNamespace()
An optional namespace to categorize our events being tracked
|
Date |
getOccured()
Date time the event occoured |
Date |
getPersistDateTime()
The time when the Token was actually persisted/tracked Vs when functionally the state was modified
|
int |
hashCode() |
void |
setEntityGUID(String entityGUID)
GUID for entity |
void |
setEntityId(Long entityId)
Local Id for entity
Can be used for ref-integrity (relation) with Token data |
void |
setEventName(String eventName)
eventName within the namespace
|
void |
setId(Long id) |
void |
setMetaJSON(String metaJSON)
Any additional contextual information to attach
as meta data in JSON String format
|
void |
setNamespace(String namespace)
An optional namespace to categorize our events being tracked
|
void |
setOccured(Date occured)
Date time the event occoured |
void |
setPersistDateTime(Date persistDateTime)
The time when the Token was actually persisted/tracked Vs when functionally the state was modified
|
protected Long id
public Long getEntityId()
public void setEntityId(Long entityId)
public String getEntityGUID()
GUID
for entitypublic void setEntityGUID(String entityGUID)
GUID
for entitypublic Date getPersistDateTime()
public void setPersistDateTime(Date persistDateTime)
public String getNamespace()
public void setNamespace(String namespace)
public String getEventName()
public void setEventName(String eventName)
public String getMetaJSON()
public void setMetaJSON(String metaJSON)
public Long getId()
public void setId(Long id)
id
- the id to setCopyright © 2018. All rights reserved.