Class BeanDescription
java.lang.Object
ch.qos.logback.core.joran.util.beans.BeanDescription
Lightweight pendant to the java.beans.BeanInfo class. An instance of this
class encapsulates the properties of a certain class. The properties are the
public setters and getters. In addition the 'add-er'-methods are included,
which are the public methods which start with the prefix 'add'.
- Author:
- urechm
-
Constructor Summary
ModifierConstructorDescriptionprotected
BeanDescription
(Class<?> clazz, Map<String, Method> propertyNameToGetter, Map<String, Method> propertyNameToSetter, Map<String, Method> propertyNameToAdder) Scope protected since only theBeanDescriptionFactory
must create BeanDescriptions in order to guarantee consistency between the given parameters. -
Method Summary
-
Constructor Details
-
BeanDescription
protected BeanDescription(Class<?> clazz, Map<String, Method> propertyNameToGetter, Map<String, Method> propertyNameToSetter, Map<String, Method> propertyNameToAdder) Scope protected since only theBeanDescriptionFactory
must create BeanDescriptions in order to guarantee consistency between the given parameters.- Parameters:
clazz
- of the bean.propertyNameToGetter
- map of property names to the associated getter.propertyNameToSetter
- map of property names to the associated setter.propertyNameToAdder
- map of property names to the associated adder.
-
-
Method Details
-
getClazz
-
getPropertyNameToGetter
-
getPropertyNameToSetter
-
getGetter
-
getSetter
-
getPropertyNameToAdder
-
getAdder
-