001package io.ebean.bean;
002
003/**
004 * Interface to define the addition of a bean to the underlying collection.
005 * <p>
006 * For maps this takes into account the map key. For List and Set this simply
007 * adds the bean to the underlying list or set.
008 * </p>
009 */
010public interface BeanCollectionAdd {
011
012  /**
013   * Add a loaded bean to the collection.
014   */
015  void addEntityBean(EntityBean bean);
016}