io.ebeaninternal.server.persist.MergeNodeAssocOneToMany Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebean Show documentation
Show all versions of ebean Show documentation
composite of common runtime dependencies for all platforms
package io.ebeaninternal.server.persist;
import io.ebean.bean.EntityBean;
import io.ebeaninternal.server.deploy.BeanPropertyAssocMany;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
/**
* Node for processing merge on ToMany properties.
*/
class MergeNodeAssocOneToMany extends MergeNode {
private final BeanPropertyAssocMany> many;
MergeNodeAssocOneToMany(String fullPath, BeanPropertyAssocMany> property) {
super(fullPath, property);
this.many = property;
}
public void merge(MergeRequest request) {
Collection beans = many.getRawCollection(request.getBean());
Collection outlines = many.getRawCollection(request.getOutline());
Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy