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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
get(java.lang.Object instance)
Reads the property from the instance.java.lang.Class
getPropertyType()
Returns the type of the property read or updated by the conduit.void
set(java.lang.Object instance, java.lang.Object value)
Changes the current value of the property.-
Methods inherited from interface org.apache.tapestry5.commons.AnnotationProvider
getAnnotation
-
-
-
-
Method Detail
-
get
java.lang.Object get(java.lang.Object instance)
Reads the property from the instance.- Parameters:
instance
- object containing the property- Returns:
- the current value of the property
-
set
void set(java.lang.Object instance, java.lang.Object value)
Changes the current value of the property.- Parameters:
instance
- object containing the propertyvalue
- to change the property to
-
getPropertyType
java.lang.Class getPropertyType()
Returns the type of the property read or updated by the conduit.
-
-