Package org.apache.tapestry5.beanmodel

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

    Class getPropertyType()
    Returns the type of the property read or updated by the conduit.