public class Event extends Object implements Cloneable, Comparable<Event>, Serializable
Keys and values of the events attributes must not be null. If null is inserted it will simply be ignored.
Modifier and Type | Class and Description |
---|---|
static class |
Event.EventBuilder |
static class |
Event.EventComparator |
static class |
Event.Fields |
Modifier and Type | Field and Description |
---|---|
static Event.EventComparator |
comparator |
static Event |
NULL_EVENT |
Modifier and Type | Method and Description |
---|---|
Event |
clone() |
int |
compareTo(Event o) |
static Event.EventBuilder |
create() |
boolean |
equals(Object obj) |
Map<String,Variant> |
getAttributes() |
Date |
getEntryTimestamp() |
Variant |
getField(Event.Fields field) |
UUID |
getId() |
Date |
getSourceTimestamp() |
int |
hashCode() |
void |
setField(Event.Fields field,
Variant value) |
String |
toString() |
public static final Event.EventComparator comparator
public static final Event NULL_EVENT
public UUID getId()
public Date getSourceTimestamp()
public Date getEntryTimestamp()
public static Event.EventBuilder create()
public int compareTo(Event o)
compareTo
in interface Comparable<Event>
public Variant getField(Event.Fields field)
public void setField(Event.Fields field, Variant value)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.