| Access | Constructor and Description |
|---|---|
| public | BooleanGetExecutor(Introspector
the introspector is, Class<?> the class to introspect clazz, String the property to get key)Creates an instance by attempting discovery of the get method. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Method | Returns: the method if found, null otherwisethe introspector is, final Class<?> the class to find the get method from clazz, String the the property name property)Discovers the method for a |
| public Object | execute(Object
The object to get the property from. obj)Implements abstract org. |
| public Object | getTargetProperty()
Overrides org. |
| public Object | tryExecute(Object
The object to get the property from. obj, Object The property to get from the object. key)Overrides org. |
| property | back to summary |
|---|---|
| private final String property The property. | |
| BooleanGetExecutor | back to summary |
|---|---|
| public BooleanGetExecutor(Introspector is, Class<?> clazz, String key) Creates an instance by attempting discovery of the get method.
| |
| discover | back to summary |
|---|---|
| pack-priv static Method discover(Introspector is, final Class<?> clazz, String property) Discovers the method for a The method to be found should be named "is{P,p}property and return a boolean.
| |
| execute | back to summary |
|---|---|
| public Object execute(Object obj) throws IllegalAccessException, InvocationTargetException Implements abstract org. Doc from org. Gets the property value from an object.
| |
| getTargetProperty | back to summary |
|---|---|
| public Object getTargetProperty() Overrides org. Doc from org. Gets the property targeted by this executor. | |
| tryExecute | back to summary |
|---|---|
| public Object tryExecute(Object obj, Object key) Overrides org. Doc from org. Tries to reuse this executor, checking that it is compatible with the actual set of arguments. Compatibility means that:
| |