|
||||||||||
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(java.lang.String propertyName,
java.lang.String listedName,
java.lang.reflect.Method readMethod,
EventPropertyType propertyType)
Ctor. |
Method Summary | |
---|---|
java.lang.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. |
java.lang.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. |
java.lang.reflect.Method |
getReadMethod()
Returns the read method. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EventPropertyDescriptor(java.lang.String propertyName, java.lang.String listedName, java.lang.reflect.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 propertyMethod Detail |
---|
public java.lang.String getPropertyName()
public java.lang.String getListedName()
public EventPropertyType getPropertyType()
public java.lang.reflect.Method getReadMethod()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |