intarsys runtime library

de.intarsys.tools.reflect
Interface IBasicAccessSupport

All Known Implementing Classes:
PreferencesAdapter

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
 Object basicGetValue(String name)
          Make a reflective get access to name.
 Object basicSetValue(String name, Object value)
          Make a reflective set access to name.
 

Method Detail

basicGetValue

Object basicGetValue(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

Object basicSetValue(String name,
                     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

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.