io.ebean.common.ModifySet 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.ebean.common;
import io.ebean.bean.BeanCollection;
import java.util.Set;
/**
* Wraps a Set for the purposes of notifying removals and additions to the
* BeanCollection owner.
*
* This is required for persisting ManyToMany objects. Additions and removals
* become inserts and deletes to the intersection table.
*
*/
class ModifySet extends ModifyCollection implements Set {
/**
* Create with an Owner that is notified of any additions or deletions.
*/
public ModifySet(BeanCollection owner, Set s) {
super(owner, s);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy