net.esper.event.property
Class DynamicSimpleProperty

java.lang.Object
  extended by net.esper.event.property.PropertyBase
      extended by net.esper.event.property.DynamicSimpleProperty
All Implemented Interfaces:
DynamicProperty, Property

public class DynamicSimpleProperty
extends PropertyBase
implements DynamicProperty

Represents a dynamic simple property of a given name.

Dynamic properties always exist, have an Object type and are resolved to a method during runtime.


Field Summary
 
Fields inherited from class net.esper.event.property.PropertyBase
propertyName
 
Constructor Summary
DynamicSimpleProperty(String propertyName)
          Ctor.
 
Method Summary
 EventPropertyGetter getGetter(BeanEventType eventType)
          Returns value getter for the property of an event of the given event type.
 EventPropertyGetter getGetterMap()
          Returns the getter-method for use with Map event representations.
 Class getPropertyType(BeanEventType eventType)
          Returns the property type.
 Class getPropertyTypeMap()
          Returns the property type for use with Map event representations.
 
Methods inherited from class net.esper.event.property.PropertyBase
getPropertyName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicSimpleProperty

public DynamicSimpleProperty(String propertyName)
Ctor.

Parameters:
propertyName - is the property name
Method Detail

getGetter

public EventPropertyGetter getGetter(BeanEventType eventType)
Description copied from interface: Property
Returns value getter for the property of an event of the given event type.

Specified by:
getGetter in interface Property
Parameters:
eventType - is the type of event to make a getter for
Returns:
fast property value getter for property

getPropertyType

public Class getPropertyType(BeanEventType eventType)
Description copied from interface: Property
Returns the property type.

Specified by:
getPropertyType in interface Property
Parameters:
eventType - is the event type representing the JavaBean
Returns:
property type class

getPropertyTypeMap

public Class getPropertyTypeMap()
Description copied from interface: Property
Returns the property type for use with Map event representations.

Specified by:
getPropertyTypeMap in interface Property
Returns:
property type

getGetterMap

public EventPropertyGetter getGetterMap()
Description copied from interface: Property
Returns the getter-method for use with Map event representations.

Specified by:
getGetterMap in interface Property
Returns:
getter for maps

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com