Package de.intarsys.tools.reflect
Interface IBasicAccessSupport
-
public interface IBasicAccessSupport
An object supporting reflective get operations.This is a basic support interface used in
ObjectTools
to support reflective operations. You MUST NOT implement this interface in terms ofObjectTools
methods!
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
basicGetValue(java.lang.String name)
Make a reflective get access toname
.java.lang.Object
basicSetValue(java.lang.String name, java.lang.Object value)
Make a reflective set access toname
.
-
-
-
Method Detail
-
basicGetValue
java.lang.Object basicGetValue(java.lang.String name) throws FieldException
Make a reflective get access toname
.- Parameters:
name
- The name of the field to get.- Returns:
- The field value
- Throws:
FieldException
-
basicSetValue
java.lang.Object basicSetValue(java.lang.String name, java.lang.Object value) throws FieldException
Make a reflective set access toname
.- Parameters:
name
- The name of the field to get.value
- The new value for the field- Returns:
- The previous field value. This is an optional feature.
- Throws:
FieldException
-
-