mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
23 lines
395 B
Java
23 lines
395 B
Java
package io.ebean.bean;
|
|
|
|
/**
|
|
* Visitor for collecting new/old values for a bean update.
|
|
*/
|
|
public interface BeanDiffVisitor {
|
|
|
|
/**
|
|
* Collect a new/old value pair.
|
|
*/
|
|
void visit(int position, Object newVal, Object oldVal);
|
|
|
|
/**
|
|
* Start processing an associated bean.
|
|
*/
|
|
void visitPush(int position);
|
|
|
|
/**
|
|
* Stop processing an associated bean.
|
|
*/
|
|
void visitPop();
|
|
}
|