|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.event.CompositeEventBean
public class CompositeEventBean
Event bean wrapper for events that consists of a Map of name tags as key values and event bean wrappers as value objects, for use by pattern expressions.
Constructor Summary | |
---|---|
CompositeEventBean(Map<String,EventBean> wrappedEvents,
EventType eventType)
Ctor. |
Method Summary | |
---|---|
Object |
get(String property)
Returns the value of an event property. |
EventBean |
getEventBean(String property)
Returns the event for the tag. |
EventType |
getEventType()
Return the EventType instance that describes the set of properties available for this event. |
Object |
getUnderlying()
Get the underlying data object to this event wrapper. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeEventBean(Map<String,EventBean> wrappedEvents, EventType eventType)
wrappedEvents
- is the event properties map with keys being the property name tages
and values the wrapped eventeventType
- is the event type instance for the wrapperMethod Detail |
---|
public EventType getEventType()
EventBean
EventType
instance that describes the set of properties available for this event.
getEventType
in interface EventBean
public Object get(String property) throws 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 accessedpublic Object getUnderlying()
EventBean
getUnderlying
in interface EventBean
public EventBean getEventBean(String property)
TaggedCompositeEventBean
getEventBean
in interface TaggedCompositeEventBean
property
- is the tag name
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |