@ParametersAreNonnullByDefault public class ContainerCachingStore extends AbstractCachingStore<Id,Optional<SingleFeatureBean>>
Store wrapper that caches containers.cache| Constructor and Description | 
|---|
| ContainerCachingStore() | 
| 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. | 
closebackend, compareTo, equals, hashCode, next, toStringaddAllReferences, addAllValues, addReference, addValue, allInstancesOf, allInstancesOf, allReferencesOf, allValuesOf, appendAllReferences, appendAllValues, appendReference, appendValue, copyTo, metaClassFor, metaClassOf, next, referenceFor, referenceFor, referenceOf, referenceOf, removeAllReferences, removeAllValues, removeReference, removeReference, removeValue, removeValue, save, sizeOfReference, sizeOfValue, valueFor, valueFor, valueOf, valueOfclone, finalize, getClass, notify, notifyAll, wait, wait, waitallInstancesOf, allInstancesOf, metaClassFor, metaClassOfaddAllValues, addValue, allValuesOf, appendAllValues, appendValue, removeAllValues, removeValue, sizeOfValue, valueFor, valueOfremoveValue, valueFor, valueOfaddAllReferences, addReference, allReferencesOf, appendAllReferences, appendReference, referenceFor, referenceOf, removeAllReferences, removeReference, sizeOfReferencereferenceFor, referenceOf, removeReference@Nonnull public Optional<SingleFeatureBean> containerOf(Id id)
ContainerMapperid.containerOf in interface ContainerMappercontainerOf in class AbstractDataMapperChain<Store>id - the Id of the contained elementOptional containing the container, or Optional.empty() if the id has no
 defined container.public void containerFor(Id id, SingleFeatureBean container)
ContainerMappercontainer for the specified id.containerFor in interface ContainerMappercontainerFor in class AbstractDataMapperChain<Store>id - the Id of the contained elementcontainer - the containing element's container information to storepublic void removeContainer(Id id)
ContainerMapperid.
 
 The container must be completely removed, so that a call to ContainerMapper.containerOf(Id) returns Optional.empty().
removeContainer in interface ContainerMapperremoveContainer in class AbstractDataMapperChain<Store>id - the Id of the contained elementCopyright © 2013–2019 Atlanmod. All rights reserved.