| java.lang.Object com.ibatis.common.beans.BaseProbe com.ibatis.common.beans.GenericProbe
GenericProbe | public class GenericProbe extends BaseProbe (Code) | | StaticBeanProbe provides methods that allow simple, reflective access to
JavaBeans style properties. Methods are provided for all simple types as
well as object types.
Examples:
StaticBeanProbe.setObject(object, propertyName, value);
Object value = StaticBeanProbe.getObject(object, propertyName);
|
Method Summary | |
public Object | getObject(Object object, String name) | protected Object | getProperty(Object object, String property) | public Class | getPropertyTypeForGetter(Object object, String name) Returns the class that the getter will return when reading a property value. | public Class | getPropertyTypeForSetter(Object object, String name) Returns the class that the setter expects to receive as a parameter when
setting a property value. | public String[] | getReadablePropertyNames(Object object) | public String[] | getWriteablePropertyNames(Object object) | public boolean | hasReadableProperty(Object object, String propertyName) | public boolean | hasWritableProperty(Object object, String propertyName) | public void | setObject(Object object, String name, Object value) | protected void | setProperty(Object object, String property, Object value) |
GenericProbe | protected GenericProbe()(Code) | | |
|
|