@ParametersAreNonnullByDefault public interface ContainerMapper
SingleFeatureBean| Modifier and Type | Method and Description | 
|---|---|
| void | containerFor(Id id,
            SingleFeatureBean container)Stores the  containerfor the specifiedid. | 
| Optional<SingleFeatureBean> | containerOf(Id id)Retrieves the container for the specified  id. | 
| void | removeContainer(Id id)Removes the container of the specified  id. | 
@Nonnull Optional<SingleFeatureBean> containerOf(Id id)
id.id - the Id of the contained elementOptional containing the container, or Optional.empty() if the id has no
 defined container.NullPointerException - if any parameter is nullvoid containerFor(Id id, SingleFeatureBean container)
container for the specified id.id - the Id of the contained elementcontainer - the containing element's container information to storeNullPointerException - if the id is nullvoid removeContainer(Id id)
id.
 
 The container must be completely removed, so that a call to containerOf(Id) returns Optional.empty().
id - the Id of the contained elementNullPointerException - if the id is nullCopyright © 2013–2019 Atlanmod. All rights reserved.