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 of ObjectTools methods!


Method Summary
 java.lang.Object basicGetValue(java.lang.String name)
          Make a reflective get access to name.
 java.lang.Object basicSetValue(java.lang.String name, java.lang.Object value)
          Make a reflective set access to name.
 

Method Detail

basicGetValue

java.lang.Object basicGetValue(java.lang.String name)
                               throws FieldException
Make a reflective get access to name.

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 to name.

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