org.springframework.richclient.widget.table
Interface Accessor

Show UML class diagram
All Known Subinterfaces:
Writer
All Known Implementing Classes:
NestedAccessor, NestedWriter, SimpleAccessor, SimpleWriter

public interface Accessor

Accessor interface: defines a way to access a value and it's type.

Since:
0.5.0
Author:
Jan Hoskens

Method Summary
 Class<?> getPropertyType()
          Returns the property type of the value that can be obtained through this accessor.
 Object getValue(Object fromEntity)
          Get the value from the given target entity.
 

Method Detail

getValue

Object getValue(Object fromEntity)
                throws IllegalAccessException,
                       InvocationTargetException
Get the value from the given target entity.

Parameters:
fromEntity - the entity from which the value should be obtained.
Returns:
the value.
Throws:
IllegalAccessException
InvocationTargetException

getPropertyType

Class<?> getPropertyType()
Returns the property type of the value that can be obtained through this accessor.



Copyright © 2004-2009 The Spring Framework. All Rights Reserved.