Package com.twicedb.client.api
Class Event<E extends EventI<E>>
java.lang.Object
com.twicedb.client.api.Event<E>
- All Implemented Interfaces:
EventI<E>
- Direct Known Subclasses:
PlainEvent
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
final EventBlob
getBlob()
getEventAsync
(Client c, EventId eventId, Tt tt) static <E extends Event<E>>
EgetEventFromBlob
(<any> t, EventBlob eventBlob, EventId eventId, Tt tt) getTt()
<any>
int
hashCode()
final void
setEventId
(EventId eventId) final void
final void
setTypeToken
(<any> t)
-
Field Details
-
gson
public static final Gson gson -
t
protected volatile <any> t
-
-
Constructor Details
-
Event
public Event()
-
-
Method Details
-
generateEventId
-
getEventId
- Specified by:
getEventId
in interfaceEventI<E extends EventI<E>>
-
getTt
-
getTypeToken
public <any> getTypeToken()- Specified by:
getTypeToken
in interfaceEventI<E extends EventI<E>>
-
setTypeToken
public final void setTypeToken(<any> t) -
getBlob
-
getFqn
-
equals
-
hashCode
public int hashCode()