org.ujoframework.extensions
Interface ValueAgent<UJO,VALUE>

All Known Implementing Classes:
BeanProperty, BeanPropertyList, FactoryProperty, FieldProperty, FieldPropertyList

public interface ValueAgent<UJO,VALUE>

The ValueAgent make reading or writing a property value. The interface is designed for implementation to a UjoProperty.

Author:
Pavel Ponec

Method Summary
 VALUE readValue(UJO bean)
          WARNING: There is recommended to call the method from the method Ujo.readValue(...)
 void writeValue(UJO bean, VALUE value)
          WARNING: There is recommended to call the method from the method Ujo.writeValue(...) only.
 

Method Detail

writeValue

void writeValue(UJO bean,
                VALUE value)
WARNING: There is recommended to call the method from the method Ujo.writeValue(...) only.
A direct call can bypass a important actions implemented in the writeProperty(method).


readValue

VALUE readValue(UJO bean)
WARNING: There is recommended to call the method from the method Ujo.readValue(...) only.
A direct call can bypass a important actions implemented in the readProperty(method).



Copyright © 2010. All Rights Reserved.