com.ibatis.common.beans
public interface Probe
| Method Summary | |
|---|---|
| Object | getObject(Object object, String name)
Gets an Object property from another object
|
| Class | getPropertyTypeForGetter(Object object, String name)
Returns the class that the getter will return when reading a property
|
| Class | getPropertyTypeForSetter(Object object, String name)
Returns the class that the setter expects when setting a property
|
| boolean | hasReadableProperty(Object object, String propertyName)
Checks to see if an object has a readable property by a given name
|
| boolean | hasWritableProperty(Object object, String propertyName)
Checks to see if an object has a writable property by a given name
|
| void | setObject(Object object, String name, Object value)
Sets the value of a property on an object
|
Parameters: object - the object name - the property name
Returns: The property value (as an Object)
Parameters: object - the object to check name - the name of the property
Returns: The type of the property
Parameters: object - the object to check name - the name of the property
Returns: The type of the property
Parameters: object - the object to check propertyName - the property to check for
Returns: True if the property exists and is readable
Parameters: object - the object to check propertyName - the property to check for
Returns: True if the property exists and is writable
Parameters: object - the object to change name - the name of the property to set value - the new value to set