|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.event.EventPropertyDescriptor
public class EventPropertyDescriptor
Encapsulates the event property information available after introspecting an event's class members for getter methods.
Constructor Summary | |
---|---|
EventPropertyDescriptor(String propertyName,
String listedName,
Field accessorField,
EventPropertyType propertyType)
Ctor. |
|
EventPropertyDescriptor(String propertyName,
String listedName,
Method readMethod,
EventPropertyType propertyType)
Ctor. |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
Field |
getAccessorField()
Returns the accessor field. |
String |
getListedName()
Returns the listed name, which is the name the property would show up as when asking an event type for the set of valid properties. |
String |
getPropertyName()
Return the property name, for mapped and indexed properties this is just the property name without parantheses or brackets. |
EventPropertyType |
getPropertyType()
Returns an enum indicating the type of property: simple, mapped, indexed. |
Method |
getReadMethod()
Returns the read method. |
Class |
getReturnType()
Returns the type of the underlying method or field of the event property. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EventPropertyDescriptor(String propertyName, String listedName, Method readMethod, EventPropertyType propertyType)
propertyName
- - name of property, from getter methodlistedName
- - name the property may show up when listed as a valid property, such as indexed[], mapped()readMethod
- - read method to get valuepropertyType
- - type of propertypublic EventPropertyDescriptor(String propertyName, String listedName, Field accessorField, EventPropertyType propertyType)
propertyName
- - name of property, from getter methodlistedName
- - name the property may show up when listed as a valid property, such as indexed[], mapped()accessorField
- - field to get value frompropertyType
- - type of propertyMethod Detail |
---|
public String getPropertyName()
public String getListedName()
public EventPropertyType getPropertyType()
public Method getReadMethod()
public Field getAccessorField()
public Class getReturnType()
public String toString()
toString
in class Object
public boolean equals(Object other)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |