|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.vaevent.VariantEventType
public class VariantEventType
Event type for variant event streams.
Caches properties after having resolved a property via a resolution strategy.
Constructor Summary | |
---|---|
VariantEventType(VariantSpec variantSpec,
VariantPropResolutionStrategy propertyResStrategy)
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 property)
Get the getter for a specified event property. |
String[] |
getPropertyNames()
Get all valid property names for the event type. |
Class |
getPropertyType(String property)
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 property)
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 VariantEventType(VariantSpec variantSpec, VariantPropResolutionStrategy propertyResStrategy)
variantSpec
- the variant specificationpropertyResStrategy
- stragegy for resolving propertiesMethod Detail |
---|
public Class getPropertyType(String property)
EventType
getPropertyType
in interface EventType
property
- is the property name
public Class getUnderlyingType()
EventType
getUnderlyingType
in interface EventType
public EventPropertyGetter getGetter(String property)
EventType
getGetter
in interface EventType
property
- is the property name
public String[] getPropertyNames()
EventType
getPropertyNames
in interface EventType
public boolean isProperty(String property)
EventType
isProperty
in interface EventType
property
- is the property to check
public EventType[] getSuperTypes()
EventType
For 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 EventType
public Iterator<EventType> getDeepSuperTypes()
EventType
getDeepSuperTypes
in interface EventType
|
© 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 |