|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.esper.event.CompositeEventType
public class CompositeEventType
Event type for events that itself have event properties that are event wrappers.
For use in pattern expression statements in which multiple events match a pattern. There the composite event indicates that the whole patterns matched, and indicates the individual events that caused the pattern as event properties to the event.
| Constructor Summary | |
|---|---|
CompositeEventType(Map<String,EventType> taggedEventTypes)
Ctor. |
|
| Method Summary | |
|---|---|
Iterator<EventType> |
getDeepSuperTypes()
Returns iterator over all super types to event type, going up the hierarchy and including all Java interfaces (and their extended interfaces) and superclasses as EventType instances. |
EventPropertyGetter |
getGetter(String propertyName)
Get the getter for a specified event property. |
String[] |
getPropertyNames()
Get all valid property names for the event type. |
Class |
getPropertyType(String propertyName)
Get the type of an event property as returned by the "getter" method for that property. |
EventType[] |
getSuperTypes()
Returns an array of event types that are super to this event type, from which this event type inherited event properties. |
Class |
getUnderlyingType()
Get the class that represents the Java type of the event type. |
boolean |
isProperty(String propertyName)
Check that the given property name is valid for this event type, ie. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeEventType(Map<String,EventType> taggedEventTypes)
taggedEventTypes - is a map of name tags and event type per tag| Method Detail |
|---|
public Class getPropertyType(String propertyName)
EventType
getPropertyType in interface EventTypepropertyName - is the property name
public Class getUnderlyingType()
EventType
getUnderlyingType in interface EventTypepublic EventPropertyGetter getGetter(String propertyName)
EventType
getGetter in interface EventTypepropertyName - is the property name
public String[] getPropertyNames()
EventType
getPropertyNames in interface EventTypepublic boolean isProperty(String propertyName)
EventType
isProperty in interface EventTypepropertyName - is the property to check
public EventType[] getSuperTypes()
EventTypeFor Java bean instances underlying the event this method returns the event types for all superclasses extended by the Java bean and all interfaces implemented by the Java bean.
getSuperTypes in interface EventTypepublic Iterator<EventType> getDeepSuperTypes()
EventType
getDeepSuperTypes in interface EventType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||