Class PropertyAccessors

java.lang.Object
io.beanmapper.core.inspector.PropertyAccessors

public class PropertyAccessors extends Object
Accessor utilities.
Since:
Jun 23, 2015
Author:
Jeroen van Schagen
  • Constructor Details

    • PropertyAccessors

      public PropertyAccessors()
  • Method Details

    • getAll

      public static List<PropertyAccessor> getAll(Class<?> beanClass)
      Retrieve all property accessors that relate to a bean.
      Parameters:
      beanClass - the bean class
      Returns:
      the property accessors of that bean
    • findProperty

      public static PropertyAccessor findProperty(Class<?> beanClass, String propertyName)
      Retrieve a specific property accessor.
      Parameters:
      beanClass - the bean class
      propertyName - the property name
      Returns:
      the accessor that can manage the property