Class PropertyStem
java.lang.Object
com.espertech.esper.common.internal.event.bean.core.PropertyStem
Encapsulates the event property information available after introspecting an event's class members
for getter methods.
-
Constructor Summary
ConstructorDescriptionPropertyStem
(String propertyName, Field accessorField, EventPropertyType propertyType) Ctor.PropertyStem
(String propertyName, Method readMethod, EventPropertyType propertyType) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the accessor field.Return the property name, for mapped and indexed properties this is just the property name without parantheses or brackets.Returns an enum indicating the type of property: simple, mapped, indexed.Returns the read method.getReturnType
(EPTypeClass underlyingEPType) Returns the type of the underlying method or field of the event property.int
hashCode()
toString()
-
Constructor Details
-
PropertyStem
Ctor.- Parameters:
propertyName
- - name of property, from getter methodreadMethod
- - read method to get valuepropertyType
- - type of property
-
PropertyStem
Ctor.- Parameters:
propertyName
- - name of property, from getter methodaccessorField
- - field to get value frompropertyType
- - type of property
-
-
Method Details
-
getPropertyName
Return the property name, for mapped and indexed properties this is just the property name without parantheses or brackets.- Returns:
- property name
-
getPropertyType
Returns an enum indicating the type of property: simple, mapped, indexed.- Returns:
- enum with property type info
-
getReadMethod
Returns the read method. Can return null if the property is backed by a field..- Returns:
- read method of null if field property
-
getAccessorField
Returns the accessor field. Can return null if the property is backed by a method.- Returns:
- accessor field of null if method property
-
getReturnType
Returns the type of the underlying method or field of the event property.- Parameters:
underlyingEPType
- underlying type- Returns:
- return type
-
toString
-
equals
-
hashCode
public int hashCode()
-