Interface BeanDescriptor


  • public interface BeanDescriptor
    Contains information on a java bean.

    The supported properties are:

    • public getters and setters. For example getSomeVar/setSomeVar correspond to "someVar" property name
    • public fields. The name of the property is the name of the field.
    Since:
    2.0M2
    Version:
    $Id: 74433940ccef81acd24f19274f3dfdbd56a7cb4a $
    • Method Detail

      • getBeanClass

        Class<?> getBeanClass()
        Returns:
        the class of the JAVA bean containing.
      • getProperty

        PropertyDescriptor getProperty​(String propertyName)
        Return descriptor for the provided property name. The property name is case sensitive.
        Parameters:
        propertyName - the name of the property
        Returns:
        the descriptor of the property.