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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfinal EventBlobgetBlob()getEventAsync(Client c, EventId eventId, Tt tt) static <E extends Event<E>>
EgetEventFromBlob(<any> t, EventBlob eventBlob, EventId eventId, Tt tt) getTt()<any>inthashCode()final voidsetEventId(EventId eventId) final voidfinal voidsetTypeToken(<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:
getEventIdin interfaceEventI<E extends EventI<E>>
-
getTt
-
getTypeToken
public <any> getTypeToken()- Specified by:
getTypeTokenin interfaceEventI<E extends EventI<E>>
-
setTypeToken
public final void setTypeToken(<any> t) -
getBlob
-
getFqn
-
equals
-
hashCode
public int hashCode()