Class BeanDescription
- java.lang.Object
-
- ch.qos.logback.core.joran.util.beans.BeanDescription
-
public class BeanDescription extends java.lang.Object
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'.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.Method
getAdder(java.lang.String propertyName)
java.lang.Class<?>
getClazz()
java.lang.reflect.Method
getGetter(java.lang.String propertyName)
java.util.Map<java.lang.String,java.lang.reflect.Method>
getPropertyNameToAdder()
java.util.Map<java.lang.String,java.lang.reflect.Method>
getPropertyNameToGetter()
java.util.Map<java.lang.String,java.lang.reflect.Method>
getPropertyNameToSetter()
java.lang.reflect.Method
getSetter(java.lang.String propertyName)
-
-
-
Method Detail
-
getClazz
public java.lang.Class<?> getClazz()
-
getPropertyNameToGetter
public java.util.Map<java.lang.String,java.lang.reflect.Method> getPropertyNameToGetter()
-
getPropertyNameToSetter
public java.util.Map<java.lang.String,java.lang.reflect.Method> getPropertyNameToSetter()
-
getGetter
public java.lang.reflect.Method getGetter(java.lang.String propertyName)
-
getSetter
public java.lang.reflect.Method getSetter(java.lang.String propertyName)
-
getPropertyNameToAdder
public java.util.Map<java.lang.String,java.lang.reflect.Method> getPropertyNameToAdder()
-
getAdder
public java.lang.reflect.Method getAdder(java.lang.String propertyName)
-
-