intarsys runtime library

de.intarsys.tools.reflect
Interface IAccessSupport

All Known Implementing Classes:
PojoReflector

public interface IAccessSupport

An object supporting reflective calls to its fields.


Method Summary
 Object getValue(String name)
          Make a reflective get access to the field name.
 Object setValue(String name, Object value)
          Make a reflective set access to the field name.
 

Method Detail

getValue

Object getValue(String name)
                throws FieldException
Make a reflective get access to the field name.

Parameters:
name - The name of the field to get.
Returns:
The field value
Throws:
FieldException

setValue

Object setValue(String name,
                Object value)
                throws FieldException
Make a reflective set access to the field 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.