custom field mappers
and provides the corresponding lookup and caching of lookup results.Annotation
and and a
compatible mapper
.AnnotatedElement
.NestedMappingSupport.endRecordingMappings()
is invoked.removes
already existing elements from the underlying collection prior to value insertion.mappable field
of a
ResourceModel
,
convert
it to the suitable field type
and inject it into the corresponding field.Type
of the lower, or, if no lower bound is present, the upper bound of a single type argument of a
ParameterizedType
.console plugin
.adapter factories
for adapting a resource to resource models, i.e.resource model cache API
as well as the default resource model cache implementation, the
configurable RequestScopedResourceModelCache
.ResourceModel
, exported by bundles which feature the "Neba-Packages" header.Resource
to ResourceModel
mapper implementation.resource model metadata
created during both resource model registration and usage.ModelRegistrar
.Children
annotation.Collection
.Lazy
fields, thus enabling declaration of lazy fields that are only loaded
when a model is serialized to JSON.assignable to
the target type.accessible
only if it is not.accessible
only if it is not.ResourceModel
may apply.resource model
field.resource path -> model
.MatchedBundlesPredicate.evaluate(Object)
returns false
if the bundle matches to
signal
CollectionUtils.filter(java.util.Collection, Predicate)
to remove the element it.ResourceModel
.post-mapping methods
after the ResourceModel
's mapping is complete.ModelRegistry
and the resource to model adapter factory
provided by NEBA.model sources
associated to
mappable types
and the corresponding logic to
lookup these relationships.ResourceModel
metadata,
i.e.ModelFactory
service via every bundle that has a Neba-Packages
header
and contains resource models
within the respective packages.resource models
.node type
hierarchy of a Node
.JCR nodes
.ResourceModelFactory
provided
by a Bundle
.ValueMap
decorator converts primitive types passed to PrimitiveAndEnumSupportingValueMap.get(String, Class)
or
PrimitiveAndEnumSupportingValueMap.get(String, Object)
to their boxed equivalents prior to their retrieval from the
wrapped value map, as the standard value map does not support primitive type retrieval.ResourceModelMetaData
for the model represented
by the provided model source.ResourceModel
for
a Resource
.ResourceModel
.ResourceModelMetaData
for each ResourceModel
.Resource
to a ResourceModel
if a model is registered for the resource type
.ResourceModel
.${name}
which can be resolved via ResourcePaths.ResourcePath.resolve(Function)
.resources
in the most straightforward manner available: By providing the
resource path
.Resource
to it's ResourceModel
using the
ModelRegistry
to lookup and the ResourceToModelMapper
to map the model.AdapterFactory
provides the type(s) it adapts from
and the types it can adapt to
as OSGi service
properties.Resource
starting with the resource's
"sling:resourceType".LogFiles
.Copyright © 2024. All rights reserved.