01: /*
02: * Created on 09-Jan-2006
03: */
04: package uk.org.ponder.beanutil.entity;
05:
06: /** Interface implemented by an ORM adaptation layer to keep bean values
07: * respresenting entity IDs consistent.
08: * @author Antranig Basman (amb26@ponder.org.uk)
09: *
10: */
11:
12: public interface EntityIDRewriter {
13: /** Called after changes to the object model have been commited to
14: * persistent state - the ID field will need to be adjusted if it referred
15: * to a previously unsaved entity.
16: * @param toadjust
17: */
18: public void postCommit(EntityID toadjust);
19: }
|