#1221 - ENH: Add a merge(bean) and merge(bean, paths)

This commit is contained in:
Rob Bygrave
2018-03-13 23:55:47 +13:00
parent 607cf3156c
commit afead2da41
37 changed files with 1804 additions and 66 deletions
@@ -10,6 +10,7 @@ import io.ebean.bean.EntityBean;
import io.ebeaninternal.server.text.json.SpiJsonWriter;
import java.io.IOException;
import java.util.Collection;
/**
* Helper functions for performing tasks on Lists Sets or Maps.
@@ -21,6 +22,11 @@ public interface BeanCollectionHelp<T> {
*/
void setLoader(BeanCollectionLoader loader);
/**
* Return the underlying collection of beans.
*/
Collection underlying(Object value);
/**
* Return the mechanism to add beans to the underlying collection.
* <p>