org.springframework.richclient.widget.table
Class SimpleWriter
java.lang.Object
org.springframework.richclient.widget.table.SimpleAccessor
org.springframework.richclient.widget.table.SimpleWriter
- All Implemented Interfaces:
- Accessor, Writer
public class SimpleWriter
- extends SimpleAccessor
- implements Writer
Basic implementation of a Writer
.
- Since:
- 0.5.0
- Author:
- Jan Hoskens
Method Summary |
void |
setValue(Object toEntity,
Object newValue)
Set the value on a specific target entity. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleWriter
public SimpleWriter(Class<?> beanClass,
String propertyName)
- Constructor. Uses the return type of the getter to find a matching setter.
- Parameters:
beanClass
- the type of the bean.propertyName
- name of the property.- See Also:
SimpleAccessor.SimpleAccessor(Class, String)
setValue
public void setValue(Object toEntity,
Object newValue)
throws IllegalAccessException,
InvocationTargetException
- Set the value on a specific target entity.
- Specified by:
setValue
in interface Writer
- Parameters:
toEntity
- the entity on which the property has to be changed.newValue
- the new value of the property.
- Throws:
IllegalAccessException
InvocationTargetException
Copyright © 2004-2009 The Spring Framework. All Rights Reserved.