org.apache.tapestry5

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `get(Object instance)` Reads the property from the instance.
    `Class` | `getPropertyType()` 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.ioc.AnnotationProvider

      `getAnnotation`

- - ### Method Detail

    - #### 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

          Class getPropertyType()

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

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.