io.ebeaninternal.server.persist.MergeNodeAssocOneToMany Maven / Gradle / Ivy
package io.ebeaninternal.server.persist;
import io.ebean.bean.EntityBean;
import io.ebeaninternal.server.deploy.BeanPropertyAssocMany;
import java.util.Collection;
import java.util.Map;
/**
* Node for processing merge on ToMany properties.
*/
final class MergeNodeAssocOneToMany extends MergeNode {
private final BeanPropertyAssocMany> many;
MergeNodeAssocOneToMany(String fullPath, BeanPropertyAssocMany> property) {
super(fullPath, property);
this.many = property;
}
@Override
public void merge(MergeRequest request) {
Collection beans = many.rawCollection(request.getBean());
Collection outlines = many.rawCollection(request.getOutline());
Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy