@ParametersAreNonnullByDefault public final class BoundInMemoryBackend extends AbstractInMemoryBackend
InMemoryBackend, bound to a unique Id, that stores all elements in
 Maps.
 
 This Backend is fully transient and used when a PersistentEObject is not owned by a Resource,
 persistent or not.
 
 For performance reason, each instance is bound to a unique Id, but data are stored in maps shared between all
 instances.
AbstractInMemoryBackend.SizesSERIALIZER_FACTORY| Constructor and Description | 
|---|
| BoundInMemoryBackend(Id owner)Constructs a new  BoundInMemoryBackendwith the givenowner. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | checkFeature(FeatureBean feature)Checks the specified  featurebefore using it. | 
| protected Map<Id,SingleFeatureBean> | containers()Returns the map that holds all containers. | 
| void | copyTo(DataMapper target) | 
| boolean | equals(Object o) | 
| protected Map<SingleFeatureBean,Object> | features()Returns the map that holds single-features. | 
| int | hashCode() | 
| protected Map<Id,ClassBean> | instances()Returns the map that holds all instances. | 
| protected void | internalClose()Cleanly closes the database, and releases any system resources associated with it. | 
| void | removeValue(SingleFeatureBean feature)Removes the value of the specified  feature. | 
| <V> Optional<V> | valueFor(SingleFeatureBean feature,
        V value)Defines the  valueof the specifiedfeature. | 
allInstancesOf, containerFor, containerOf, internalSave, metaClassFor, metaClassOf, referenceConverter, removeContainer, valueOfallInstancesOf, close, internalCopyTo, save, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisDistributed, isPersistentallInstancesOfaddAllValues, addValue, allValuesOf, appendAllValues, appendValue, removeAllValues, removeValue, sizeOfValue, valueFor, valueOfaddAllReferences, addReference, allReferencesOf, appendAllReferences, appendReference, referenceFor, referenceOf, removeAllReferences, removeReference, sizeOfReferencereferenceFor, referenceOf, removeReferenceaddAllValues, addValue, allValuesOf, getOrCreateList, removeAllValues, removeValue, sizeOfValue, valueFor, valueOfmanyReferenceConverterreferenceFor, referenceOf, removeReferenceaddAllReferences, addReference, allReferencesOf, appendAllReferences, appendReference, referenceFor, referenceOf, removeAllReferences, removeReference, sizeOfReferencepublic BoundInMemoryBackend(Id owner)
BoundInMemoryBackend with the given owner.owner - the identifier of the owner of this back-endprotected void internalClose()
AbstractBackendinternalClose in class AbstractBackendpublic void copyTo(DataMapper target)
copyTo in interface Copiable<DataMapper>copyTo in class AbstractBackend@Nonnull protected Map<Id,SingleFeatureBean> containers()
AbstractInMemoryBackendcontainers in class AbstractInMemoryBackend@Nonnull protected Map<Id,ClassBean> instances()
AbstractInMemoryBackendinstances in class AbstractInMemoryBackend@Nonnull protected Map<SingleFeatureBean,Object> features()
AbstractInMemoryBackendfeatures in class AbstractInMemoryBackendprotected void checkFeature(FeatureBean feature)
AbstractInMemoryBackendfeature before using it.checkFeature in class AbstractInMemoryBackendfeature - the feature to check@Nonnull public <V> Optional<V> valueFor(SingleFeatureBean feature, V value)
ValueMappervalue of the specified feature.valueFor in interface ValueMappervalueFor in class AbstractInMemoryBackendV - the type of valuefeature - the bean identifying the valuevalue - the value to setOptional containing the previous value of the feature, or Optional.empty() if
 the feature has no value beforepublic void removeValue(SingleFeatureBean feature)
ValueMapperfeature.removeValue in interface ValueMapperremoveValue in class AbstractInMemoryBackendfeature - the bean identifying the valueCopyright © 2013–2019 Atlanmod. All rights reserved.