@ParametersAreNonnullByDefault public class ClassCachingStore extends AbstractCachingStore<Id,Optional<ClassBean>>
cache| Constructor and Description |
|---|
ClassCachingStore() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
metaClassFor(Id id,
ClassBean metaClass)
Stores the
metaClass for the specified id. |
Optional<ClassBean> |
metaClassOf(Id id)
Retrieves the meta-class for the specified
id. |
closebackend, compareTo, equals, hashCode, next, toStringaddAllReferences, addAllValues, addReference, addValue, allInstancesOf, allInstancesOf, allReferencesOf, allValuesOf, appendAllReferences, appendAllValues, appendReference, appendValue, containerFor, containerOf, copyTo, next, referenceFor, referenceFor, referenceOf, referenceOf, removeAllReferences, removeAllValues, removeContainer, removeReference, removeReference, removeValue, removeValue, save, sizeOfReference, sizeOfValue, valueFor, valueFor, valueOf, valueOfclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontainerFor, containerOf, removeContainerallInstancesOf, allInstancesOfaddAllValues, 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<ClassBean> metaClassOf(Id id)
ClassMapperid.metaClassOf in interface ClassMappermetaClassOf in class AbstractDataMapperChain<Store>id - the Id of the elementOptional containing the meta-class, or Optional.empty() if the id has no
defined meta-class.public boolean metaClassFor(Id id, ClassBean metaClass)
ClassMappermetaClass for the specified id.metaClassFor in interface ClassMappermetaClassFor in class AbstractDataMapperChain<Store>id - the Id of the elementmetaClass - the containing element's meta-class information to storetrue if the meta-class has been defined, false if the id already has a meta-classCopyright © 2013–2019 Atlanmod. All rights reserved.