org.apache.tapestry5
Interface PropertyConduit

All Superinterfaces:
AnnotationProvider
All Known Subinterfaces:
InternalPropertyConduit
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
 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.



Copyright © 2003-2012 The Apache Software Foundation.