public class InternalEventPropDescriptor
extends java.lang.Object
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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() |
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 propertypublic 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