Code example for EmptyInterceptor

 * recurse on lists of OpenmrsObjects. 
 * @since 1.9 
public class AuditableInterceptor extends EmptyInterceptor {
	private static final Log log = LogFactory.getLog(AuditableInterceptor.class);
	private static final long serialVersionUID = 1L;
	 * This method is only called when inserting new objects. 
	 * @should return true if dateCreated was null 
	 * @should return true if creator was null 
	 * @should return false if dateCreated and creator was not null 
	 * @should be called when saving OpenmrsObject 
	 * @return true if the object got the dateCreated and creator fields set 
	 * @see org.hibernate.EmptyInterceptor#onSave(java.lang.Object,, 
	 *      java.lang.Object[], java.lang.String[], org.hibernate.type.Type[])