Interface PropertyConduit

All Superinterfaces:
AnnotationProvider
All Known Subinterfaces:
InternalPropertyConduit, PropertyConduit2
All Known Implementing Classes:
CoercingPropertyConduitWrapper, LiteralPropertyConduit

public interface PropertyConduit extends AnnotationProvider
Used to read or update the value associated with a property. A PropertyConduit provides access to the annotations on the underlying getter and/or setter methods.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(Object instance)
    Reads the property from the instance.
    Returns the type of the property read or updated by the conduit.
    void
    set(Object instance, Object value)
    Changes the current value of the property.

    Methods inherited from interface org.apache.tapestry5.commons.AnnotationProvider

    getAnnotation
  • Method Details

    • get

      Object get(Object instance)
      Reads the property from the instance.
      Parameters:
      instance - object containing the property
      Returns:
      the current value of the property
    • set

      void set(Object instance, Object value)
      Changes the current value of the property.
      Parameters:
      instance - object containing the property
      value - to change the property to
    • getPropertyType

      Returns the type of the property read or updated by the conduit.