|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.bean.InternalEventPropDescriptor
public class InternalEventPropDescriptor
Encapsulates the event property information available after introspecting an event's class members for getter methods.
Constructor Summary | |
---|---|
InternalEventPropDescriptor(java.lang.String propertyName,
java.lang.reflect.Field accessorField,
EventPropertyType propertyType)
Ctor. |
|
InternalEventPropDescriptor(java.lang.String propertyName,
java.lang.reflect.Method readMethod,
EventPropertyType propertyType)
Ctor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
java.lang.reflect.Field |
getAccessorField()
Returns the accessor field. |
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.Class |
getReturnType()
Returns the type of the underlying method or field of the event property. |
GenericPropertyDesc |
getReturnTypeGeneric()
Returns the type of the underlying method or field of the event property. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InternalEventPropDescriptor(java.lang.String propertyName, java.lang.reflect.Method readMethod, EventPropertyType propertyType)
propertyName
- - name of property, from getter methodreadMethod
- - read method to get valuepropertyType
- - type of propertypublic InternalEventPropDescriptor(java.lang.String propertyName, java.lang.reflect.Field accessorField, EventPropertyType propertyType)
propertyName
- - name of property, from getter methodaccessorField
- - field to get value frompropertyType
- - type of propertyMethod Detail |
---|
public java.lang.String getPropertyName()
public EventPropertyType getPropertyType()
public java.lang.reflect.Method getReadMethod()
public java.lang.reflect.Field getAccessorField()
public java.lang.Class getReturnType()
public GenericPropertyDesc getReturnTypeGeneric()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
© 2006-2015 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 |