Interface EventPropertyValueGetter

All Known Subinterfaces:
EventPropertyGetter

public interface EventPropertyValueGetter
Get property values from an event instance for a given event property. Instances that implement this interface are usually bound to a particular EventType and cannot be used to access EventBean instances of a different type.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final EPTypeClass
    Type class of EventPropertyValueGetter.class
    static final EPTypeClass
    Type class of EventPropertyValueGetter[].class
  • Method Summary

    Modifier and Type
    Method
    Description
    get(EventBean eventBean)
    Return the value for the property in the event object specified when the instance was obtained.
  • Field Details

    • EPTYPE

      static final EPTypeClass EPTYPE
      Type class of EventPropertyValueGetter.class
    • EPTYPEARRAY

      static final EPTypeClass EPTYPEARRAY
      Type class of EventPropertyValueGetter[].class
  • Method Details

    • get

      Object get(EventBean eventBean) throws PropertyAccessException
      Return the value for the property in the event object specified when the instance was obtained. Useful for fast access to event properties. Throws a PropertyAccessException if the getter instance doesn't match the EventType it was obtained from, and to indicate other property access problems.
      Parameters:
      eventBean - is the event to get the value of a property from
      Returns:
      value of property in event
      Throws:
      PropertyAccessException - to indicate that property access failed