Package org.gcube.event.publisher
Class Event
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
org.json.simple.JSONObject
org.gcube.event.publisher.Event
- All Implemented Interfaces:
Serializable,Cloneable,Map,org.json.simple.JSONAware,org.json.simple.JSONStreamAware
public class Event
extends org.json.simple.JSONObject
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()getType()getUUID()protected voidprotected voidvoidvoidvoidsetTimestamp(OffsetDateTime dateTime) voidvoidMethods inherited from class org.json.simple.JSONObject
escape, toJSONString, toJSONString, toString, toString, writeJSONString, writeJSONStringMethods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCodeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Field Details
-
UUID_ENTRY
- See Also:
-
TIMESTAMP_ENTRY
- See Also:
-
NAME_ENTRY
- See Also:
-
TYPE_ENTRY
- See Also:
-
SENDER_ENTRY
- See Also:
-
-
Constructor Details
-
Event
-
Event
-
-
Method Details
-
set
-
setAll
-
setUUID
-
getUUID
-
setTimestamp
-
getTimestamp
-
setName
-
getName
-
setType
-
getType
-
setSender
-
getSender
-