Package io.beanmapper.core.inspector
Class PropertyAccessors
java.lang.Object
io.beanmapper.core.inspector.PropertyAccessors
Accessor utilities.
- Since:
- Jun 23, 2015
- Author:
- Jeroen van Schagen
-
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyAccessor
findProperty
(Class<?> beanClass, String propertyName) Retrieve a specific property accessor.static List<PropertyAccessor>
Retrieve all property accessors that relate to a bean.
-
Method Details
-
getAll
Retrieve all property accessors that relate to a bean.- Parameters:
beanClass
- the bean class- Returns:
- the property accessors of that bean
-
findProperty
Retrieve a specific property accessor.- Parameters:
beanClass
- the bean classpropertyName
- the property name- Returns:
- the accessor that can manage the property
-