Package de.intarsys.tools.reflect
Interface IBasicAccessSupport
-
public interface IBasicAccessSupportAn object supporting reflective get operations.This is a basic support interface used in
ObjectToolsto support reflective operations. You MUST NOT implement this interface in terms ofObjectToolsmethods!
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectbasicGetValue(java.lang.String name)Make a reflective get access toname.java.lang.ObjectbasicSetValue(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 FieldExceptionMake 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 FieldExceptionMake 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
-
-