ENTITY- the entity type
@FunctionalInterface public interface Remover<ENTITY> extends UnaryOperator<ENTITY>, Consumer<ENTITY>
Consumer-interfaces so that it can be used inside a
|Modifier and Type||Method and Description|
Removes the entity from the data store.
Removes the provided entity from the underlying database and returns the provided entity instance.
ENTITY apply(ENTITY entity) throws SpeedmentException
Entities are uniquely identified by their primary key(s).
default void accept(ENTITY entity)
Copyright © 2019 Speedment, Inc.. All rights reserved.