|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.event.MapEventBean
public class MapEventBean
Wrapper for events represented by a Map of key-value pairs that are the event properties.
MapEventBean instances are equal if they have the same EventType
and all property names
and values are reference-equal.
Constructor Summary | |
---|---|
|
MapEventBean(EventType eventType)
Constructor for the mutable functions, e.g. |
protected |
MapEventBean(EventType eventType,
java.util.Map<java.lang.String,EventBean> events)
Constructor for initialization with existing values. |
protected |
MapEventBean(java.util.Map<java.lang.String,java.lang.Object> properties,
EventType eventType)
Constructor for initialization with existing values. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object otherObject)
|
java.lang.Object |
get(java.lang.String property)
Returns the value of an event property. |
EventType |
getEventType()
Return the EventType instance that describes the set of properties available for this event. |
java.lang.Object |
getUnderlying()
Get the underlying data object to this event wrapper. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected MapEventBean(java.util.Map<java.lang.String,java.lang.Object> properties, EventType eventType)
properties
- are the event property valueseventType
- is the type of the event, i.e. describes the map entriesprotected MapEventBean(EventType eventType, java.util.Map<java.lang.String,EventBean> events)
eventType
- is the type of the event, i.e. describes the map entriesevents
- are the event property constisting of eventspublic MapEventBean(EventType eventType)
eventType
- is the type of the event, i.e. describes the map entriesMethod Detail |
---|
public EventType getEventType()
EventBean
EventType
instance that describes the set of properties available for this event.
getEventType
in interface EventBean
public java.lang.Object get(java.lang.String property) throws java.lang.IllegalArgumentException, PropertyAccessException
EventBean
get
in interface EventBean
property
- - name of the property whose value is to be retrieved
PropertyAccessException
- - if there is no property of the specified name, or the property cannot be accessed
java.lang.IllegalArgumentException
public java.lang.Object getUnderlying()
EventBean
getUnderlying
in interface EventBean
public boolean equals(java.lang.Object otherObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |