Class PropertyAdapterImpl

java.lang.Object
org.apache.tapestry5.beanmodel.internal.services.PropertyAdapterImpl
All Implemented Interfaces:
AnnotationProvider, PropertyAdapter

public class PropertyAdapterImpl extends Object implements PropertyAdapter
  • Method Summary

    Modifier and Type
    Method
    Description
    get(Object instance)
    Reads the property value.
    <T extends Annotation>
    T
    getAnnotation(Class<T> annotationClass)
    Searches for the specified annotation, returning the matching annotation instance.
    Returns the type of bean to which this property belongs.
    Returns the ClassPropertyAdapter that provides access to other properties defined by the same class.
    The class in which the property (or public field) is defined.
    Returns the field if the property is a public field or null if the property is accessed via the read method.
    Returns the name of the property (or public field).
    Returns the method used to read the property, or null if the property is not readable (or is a public field).
    Returns the type of the property.
    Returns the method used to update the property, or null if the property is not writeable (or a public field).
    boolean
    Returns true if the return type of the read method is not the same as the property type.
    boolean
    Returns true if the property is actually a public field (possibly, a public static field).
    boolean
    Returns true if the property is readable (i.e., has a getter method or is a public field).
    boolean
    Returns true if the property is writeable (i.e., has a setter method or is a non-final field).
    void
    set(Object instance, Object value)
    Updates the property value.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait