All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.avaje.ebean.common.ModifySet Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
package com.avaje.ebean.common;

import java.util.Set;

import com.avaje.ebean.bean.BeanCollection;

/**
 * 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 - 2024 Weber Informatics LLC | Privacy Policy