01: /*
02: * Created on Nov 22, 2004
03: */
04: package uk.org.ponder.mapping;
05:
06: import uk.org.ponder.beanutil.BeanModelAlterer;
07:
08: /**
09: * Implemented by a bean which wishes to take full manual control of application
10: * of {@link DataAlterationRequest} values, rather than having these applied
11: * immediately and reflectively. These may be pent up, and then applied later
12: * using a {@link BeanModelAlterer}, or filtered and introspected in some other
13: * manner.
14: *
15: * @author Antranig Basman (antranig@caret.cam.ac.uk)
16: *
17: */
18: public interface DARReceiver {
19: /** Adds the supplied AlterationRequest into the target's collection
20: * (probably for later replay).
21: * @return <code>false</code> if the DAR was NOT added, but should be
22: * applied directly to the target.
23: */
24: public boolean addDataAlterationRequest(DataAlterationRequest toadd);
25: }
|