blob: 21c4fc811a567d35c5bb15ad7157f9c935f4ad39 [file] [log] [blame]
package org.eclipse.osbp.dsl.dto.lib;
import java.util.List;
import java.util.function.Consumer;
public interface IEntityMappingList<D> extends List<D> {
/**
* Maps the content of this list to entities list using the adder and
* remover consumer instance.
*
* @param childMapper
* @param oppositeAdder
* @param oppositeRemover
*/
public abstract <E> void mapToEntity(IMapper<D, E> childMapper,
Consumer<E> oppositeAdder, Consumer<E> oppositeRemover);
public List<D> getAdded();
public List<D> getRemoved();
public List<D> getUpdated();
}