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

io.ebeaninternal.server.query.CQueryCollectionAdd Maven / Gradle / Ivy

There is a newer version: 15.8.1
Show newest version
package io.ebeaninternal.server.query;

import io.ebean.bean.BeanCollection;
import io.ebean.bean.EntityBean;

/**
 * Defines interface for adding beans to the collection which might be a List, Set or Map.
 */
public interface CQueryCollectionAdd {

  /**
   * Create an empty collection.
   */
  BeanCollection createEmptyNoParent();

  /**
   * Add a bean to the List Set or Map.
   */
  void add(BeanCollection collection, EntityBean bean, boolean withCheck);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy