org.ujoframework.extensions.ValueAgent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ujo-orm Show documentation
Show all versions of ujo-orm Show documentation
Quick ORM implementation based on the UJO objects.
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.ujoframework.extensions;
/**
* The ValueAgent make reading or writing a property value.
* The interface is designed for implementation to a UjoProperty.
* @author Pavel Ponec
*/
public interface ValueAgent {
/** 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).
*/
public void writeValue(final UJO bean, final VALUE value);
/** 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)
.
*/
public VALUE readValue(final UJO bean);
}