public class InternalEventPropDescriptor extends Object
Constructor and Description |
---|
InternalEventPropDescriptor(String propertyName,
Field accessorField,
EventPropertyType propertyType)
Ctor.
|
InternalEventPropDescriptor(String propertyName,
Method readMethod,
EventPropertyType propertyType)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Field |
getAccessorField()
Returns the accessor field.
|
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.
|
GenericPropertyDesc |
getReturnTypeGeneric()
Returns the type of the underlying method or field of the event property.
|
int |
hashCode() |
String |
toString() |
public InternalEventPropDescriptor(String propertyName, Method readMethod, EventPropertyType propertyType)
propertyName
- - name of property, from getter methodreadMethod
- - read method to get valuepropertyType
- - type of propertypublic InternalEventPropDescriptor(String propertyName, Field accessorField, EventPropertyType propertyType)
propertyName
- - name of property, from getter methodaccessorField
- - field to get value frompropertyType
- - type of propertypublic String getPropertyName()
public EventPropertyType getPropertyType()
public Method getReadMethod()
public Field getAccessorField()
public Class getReturnType()
public GenericPropertyDesc getReturnTypeGeneric()