public class Event extends java.lang.Object implements java.lang.Cloneable, java.lang.Comparable<Event>, java.io.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(java.lang.Object obj) |
java.util.Map<java.lang.String,Variant> |
getAttributes() |
java.util.Date |
getEntryTimestamp() |
Variant |
getField(Event.Fields field) |
java.util.UUID |
getId() |
java.util.Date |
getSourceTimestamp() |
int |
hashCode() |
void |
setField(Event.Fields field,
Variant value) |
java.lang.String |
toString() |
public static final Event.EventComparator comparator
public static final Event NULL_EVENT
public java.util.UUID getId()
public java.util.Date getSourceTimestamp()
public java.util.Date getEntryTimestamp()
public java.util.Map<java.lang.String,Variant> getAttributes()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic static Event.EventBuilder create()
public Event clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(Event o)
compareTo in interface java.lang.Comparable<Event>public Variant getField(Event.Fields field)
public void setField(Event.Fields field, Variant value)
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0