public class AnnotatedFieldMappers extends Object
custom field mappers
and provides the corresponding lookup and caching of lookup results.Modifier and Type | Class and Description |
---|---|
static class |
AnnotatedFieldMappers.AnnotationMapping<FieldType,AnnotationType extends Annotation>
Represents the relation of an
Annotation and and a
compatible mapper . |
Constructor and Description |
---|
AnnotatedFieldMappers() |
Modifier and Type | Method and Description |
---|---|
protected void |
bind(io.neba.api.spi.AnnotatedFieldMapper<?,?> mapper) |
Collection<AnnotatedFieldMappers.AnnotationMapping<?,?>> |
get(MappedFieldMetaData metaData) |
protected void |
unbind(io.neba.api.spi.AnnotatedFieldMapper<?,?> mapper) |
protected void bind(io.neba.api.spi.AnnotatedFieldMapper<?,?> mapper)
protected void unbind(io.neba.api.spi.AnnotatedFieldMapper<?,?> mapper)
mapper
- must not be null
.public Collection<AnnotatedFieldMappers.AnnotationMapping<?,?>> get(MappedFieldMetaData metaData)
metaData
- must not be null
.null
but rather an empty collection.Copyright © 2024. All rights reserved.