Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractTypeCodec<T> - Class in de.bild.codec
-
Abstract base class for any type codec.
- AbstractTypeCodec(Type, TypeCodecRegistry) - Constructor for class de.bild.codec.AbstractTypeCodec
- addChild(TypesModel.ClassHierarchyNode) - Method in class de.bild.codec.TypesModel.ClassHierarchyNode
- aliases() - Element in annotation interface de.bild.codec.annotations.Discriminator
- allClasses - Variable in class de.bild.codec.TypesModel
- ArrayCodec<T> - Class in de.bild.codec
-
Codec for multi dimensional
- ArrayCodec(Type, TypeCodecRegistry) - Constructor for class de.bild.codec.ArrayCodec
- asBsonValue(ObjectId, TypeCodecRegistry) - Method in class de.bild.codec.ObjectIdGenerator
- asBsonValue(T, TypeCodecRegistry) - Method in interface de.bild.codec.InstanceAwareIdGenerator
B
- BasicReflectionCodec<T> - Class in de.bild.codec
- BasicReflectionCodec(Type, TypeCodecRegistry, CodecConfiguration) - Constructor for class de.bild.codec.BasicReflectionCodec
- BOOLEAN - Enum constant in enum class de.bild.codec.PrimitiveArrayCodec
- build() - Method in class de.bild.codec.PojoCodecProvider.Builder
- builder() - Static method in class de.bild.codec.PojoCodecProvider
- Builder() - Constructor for class de.bild.codec.PojoCodecProvider.Builder
- BYTE - Enum constant in enum class de.bild.codec.PrimitiveArrayCodec
C
- calculateInferredTypeParameters(Class, Type[]) - Static method in class de.bild.codec.ReflectionHelper
-
Calculates the map of inferred type parameters for the given class based upon the given array of known type parameters from the class hierarchy
- CHARACTER - Enum constant in enum class de.bild.codec.PrimitiveArrayCodec
- classHierarchy - Variable in class de.bild.codec.TypesModel
- ClassHierarchyNode(Class<?>) - Constructor for class de.bild.codec.TypesModel.ClassHierarchyNode
- classResolver - Variable in class de.bild.codec.TypesModel
- ClassResolver - Interface in de.bild.codec
- CODEC - Enum constant in enum class de.bild.codec.annotations.DecodeUndefinedHandlingStrategy.Strategy
- CODEC - Enum constant in enum class de.bild.codec.annotations.EncodeNullHandlingStrategy.Strategy
- CodecConfiguration - Class in de.bild.codec
-
Helper class holding configurations for the PojoCodecProvider
- CodecConfiguration(boolean, EncodeNullHandlingStrategy.Strategy, DecodeUndefinedHandlingStrategy.Strategy, DecodingFieldFailureStrategy.Strategy, DecodingPojoFailureStrategy.Strategy) - Constructor for class de.bild.codec.CodecConfiguration
- CodecResolver<T> - Interface in de.bild.codec
-
This interface can be used to add special handling for pojos of certain types.
- CodecToBeUsed - Annotation Interface in de.bild.codec.annotations
- collectible() - Element in annotation interface de.bild.codec.annotations.Id
- CollectionTypeCodec<C extends Collection<V>,
V> - Class in de.bild.codec -
This codec encodes/decodes any Set and Map (see sub classes) Note that this codec will never persist any addition properties declared in sub classes Solely the collection values itself will be persisted.
- CollectionTypeCodec(Class<C>, Type, TypeCodecRegistry) - Constructor for class de.bild.codec.CollectionTypeCodec
- ComplexMapTypeCodec<K,
V> - Class in de.bild.codec - ComplexMapTypeCodec(Class<Map<K, V>>, Type, Type, TypeCodecRegistry) - Constructor for class de.bild.codec.ComplexMapTypeCodec
D
- de.bild.codec - package de.bild.codec
- de.bild.codec.annotations - package de.bild.codec.annotations
- decode(BsonReader, DecoderContext) - Method in class de.bild.codec.ArrayCodec
- decode(BsonReader, DecoderContext) - Method in class de.bild.codec.CollectionTypeCodec
- decode(BsonReader, DecoderContext) - Method in class de.bild.codec.ComplexMapTypeCodec
- decode(BsonReader, DecoderContext) - Method in class de.bild.codec.EnumCodec
- decode(BsonReader, DecoderContext) - Method in class de.bild.codec.ObjectCodec
- decode(BsonReader, DecoderContext) - Method in interface de.bild.codec.PolymorphicCodec
- decode(BsonReader, DecoderContext) - Method in class de.bild.codec.PolymorphicReflectionCodec
- decode(BsonReader, DecoderContext) - Method in enum class de.bild.codec.PrimitiveArrayCodec
- decode(BsonReader, DecoderContext) - Method in class de.bild.codec.SimpleMapTypeCodec
- decode(BsonReader, DecoderContext) - Method in class de.bild.codec.SpecialFieldsMapCodec
- decode(BsonReader, T, DecoderContext) - Method in class de.bild.codec.MappedField
- decodeFields(BsonReader, DecoderContext, T) - Method in class de.bild.codec.BasicReflectionCodec
- decodeFields(BsonReader, DecoderContext, T) - Method in interface de.bild.codec.PolymorphicCodec
- decodeInternal(BsonReader, DecoderContext) - Method in enum class de.bild.codec.PrimitiveArrayCodec
- decodeUndefinedHandlingStrategy(DecodeUndefinedHandlingStrategy.Strategy) - Method in class de.bild.codec.PojoCodecProvider.Builder
- DecodeUndefinedHandlingStrategy - Annotation Interface in de.bild.codec.annotations
-
This strategy can be used to influence field values while decoding if no value is found in the database.
- DecodeUndefinedHandlingStrategy.Strategy - Enum Class in de.bild.codec.annotations
- decodeWithType(BsonReader, DecoderContext, PolymorphicCodec<T>) - Method in class de.bild.codec.PolymorphicReflectionCodec
- decodingFieldFailureStrategy(DecodingFieldFailureStrategy.Strategy) - Method in class de.bild.codec.PojoCodecProvider.Builder
- DecodingFieldFailureStrategy - Annotation Interface in de.bild.codec.annotations
-
Use this annotation on pjo fields to define the codec behaviour in case of field decoding errors.
- DecodingFieldFailureStrategy.Strategy - Enum Class in de.bild.codec.annotations
- decodingPojoFailureStrategy(DecodingPojoFailureStrategy.Strategy) - Method in class de.bild.codec.PojoCodecProvider.Builder
- DecodingPojoFailureStrategy - Annotation Interface in de.bild.codec.annotations
-
Use this annotation to define the behaviour of the pojo codec in case of exceptions.
- DecodingPojoFailureStrategy.Strategy - Enum Class in de.bild.codec.annotations
- DefaultIdGenerator() - Constructor for class de.bild.codec.annotations.Id.DefaultIdGenerator
- defaultInstance() - Method in class de.bild.codec.CollectionTypeCodec
- defaultInstance() - Method in class de.bild.codec.MapTypeCodec
- defaultInstance() - Method in interface de.bild.codec.TypeCodec
-
Override this method if your Codec needs to supply default values as replacements for null values.
- DelegatingCodec<T> - Interface in de.bild.codec
- Discriminator - Annotation Interface in de.bild.codec.annotations
-
If you want to choose your discriminator manually you can annotate your pojo classes with this annotation.
- DiscriminatorFallback - Annotation Interface in de.bild.codec.annotations
-
This annotation can be used to decode objects from the database that do not provide a discriminator.
- DiscriminatorKey - Annotation Interface in de.bild.codec.annotations
-
A discriminator key is useful if you want to control the property name for which the discriminator is persisted.
- documentHasId(T) - Method in class de.bild.codec.BasicReflectionCodec
- documentHasId(T) - Method in class de.bild.codec.PolymorphicReflectionCodec
- documentHasId(T) - Method in interface de.bild.codec.TypeCodec
- DOUBLE - Enum constant in enum class de.bild.codec.PrimitiveArrayCodec
E
- encode(BsonWriter, C, EncoderContext) - Method in class de.bild.codec.CollectionTypeCodec
- encode(BsonWriter, Object, EncoderContext) - Method in enum class de.bild.codec.PrimitiveArrayCodec
- encode(BsonWriter, Map<String, V>, EncoderContext) - Method in class de.bild.codec.SimpleMapTypeCodec
- encode(BsonWriter, Map<K, V>, EncoderContext) - Method in class de.bild.codec.ComplexMapTypeCodec
- encode(BsonWriter, T, EncoderContext) - Method in class de.bild.codec.ArrayCodec
- encode(BsonWriter, T, EncoderContext) - Method in class de.bild.codec.EnumCodec
- encode(BsonWriter, T, EncoderContext) - Method in class de.bild.codec.MappedField
- encode(BsonWriter, T, EncoderContext) - Method in class de.bild.codec.ObjectCodec
- encode(BsonWriter, T, EncoderContext) - Method in interface de.bild.codec.PolymorphicCodec
- encode(BsonWriter, T, EncoderContext) - Method in class de.bild.codec.PolymorphicReflectionCodec
- encode(BsonWriter, T, EncoderContext) - Method in class de.bild.codec.SpecialFieldsMapCodec
- encodeFields(BsonWriter, T, EncoderContext) - Method in class de.bild.codec.BasicReflectionCodec
- encodeFields(BsonWriter, T, EncoderContext) - Method in interface de.bild.codec.PolymorphicCodec
- encodeInternal(BsonWriter, Object, EncoderContext) - Method in enum class de.bild.codec.PrimitiveArrayCodec
- encodeNullHandlingStrategy(EncodeNullHandlingStrategy.Strategy) - Method in class de.bild.codec.PojoCodecProvider.Builder
- EncodeNullHandlingStrategy - Annotation Interface in de.bild.codec.annotations
-
Use this annotation to specify the handling of null values prior to encoding to the database.
- EncodeNullHandlingStrategy.Strategy - Enum Class in de.bild.codec.annotations
- encodeNulls(boolean) - Method in class de.bild.codec.PojoCodecProvider.Builder
- EncodeNulls - Annotation Interface in de.bild.codec.annotations
-
If you need nulls to be written out to the database, use this annotation either at pojo class level or at field level.
- EnumCodec<T extends Enum<T>> - Class in de.bild.codec
-
Codec for enum.
- EnumCodec(Class<T>) - Constructor for class de.bild.codec.EnumCodec
- EnumCodecProvider - Class in de.bild.codec
- EnumCodecProvider() - Constructor for class de.bild.codec.EnumCodecProvider
- equals(Object) - Method in class de.bild.codec.MappedField
- equals(Object) - Method in class de.bild.codec.ObjectCodecProvider
- extractRawClass(Type) - Static method in class de.bild.codec.ReflectionHelper
F
- FieldMapping - Annotation Interface in de.bild.codec.annotations
-
An entity class that implements
SpecialFieldsMapcan have methods that define the value being encoded/decoded by their return type. - FieldTypePair - Class in de.bild.codec
- FieldTypePair(Field, Type) - Constructor for class de.bild.codec.FieldTypePair
- findInterface(Type, Class) - Static method in class de.bild.codec.ReflectionHelper
-
Example:
- FLOAT - Enum constant in enum class de.bild.codec.PrimitiveArrayCodec
G
- generate() - Method in interface de.bild.codec.IdGenerator
-
Generate id without knowledge of the instance
- generate() - Method in class de.bild.codec.ObjectIdGenerator
- generate(Object) - Method in interface de.bild.codec.IdGenerator
- generate(P) - Method in interface de.bild.codec.InstanceAwareIdGenerator
- generateIdIfAbsentFromDocument(T) - Method in class de.bild.codec.BasicReflectionCodec
- generateIdIfAbsentFromDocument(T) - Method in class de.bild.codec.PolymorphicReflectionCodec
- generateIdIfAbsentFromDocument(T) - Method in interface de.bild.codec.TypeCodec
- get(Class<?>) - Static method in enum class de.bild.codec.PrimitiveArrayCodec
- get(Class<T>, CodecRegistry) - Method in class de.bild.codec.EnumCodecProvider
- get(Class<T>, CodecRegistry) - Method in class de.bild.codec.ObjectCodecProvider
- get(Class<T>, CodecRegistry) - Method in class de.bild.codec.PojoCodecProvider
- get(Class<T>, CodecRegistry) - Method in class de.bild.codec.PojoContext
- get(Type, TypeCodecRegistry) - Method in interface de.bild.codec.TypeCodecProvider
- getAllConcreteChildren() - Method in class de.bild.codec.TypesModel.ClassHierarchyNode
- getAnnotation(Class<T>) - Method in class de.bild.codec.MappedField
- getAnnotations() - Method in class de.bild.codec.MappedField
- getAssignableTypesWithinClassHierarchy(Type) - Method in class de.bild.codec.TypesModel
-
This method is the core functionality to find polymorphic type structures.
- getChildren() - Method in class de.bild.codec.TypesModel.ClassHierarchyNode
- getClassesForPackage(String) - Method in interface de.bild.codec.ClassResolver
- getClassHierarchyNodeForType(Type) - Method in class de.bild.codec.TypesModel
- getClazz() - Method in class de.bild.codec.TypesModel.ClassHierarchyNode
- getCodec() - Method in class de.bild.codec.MappedField
- getCodec(Type) - Method in interface de.bild.codec.TypeCodecRegistry
- getCodec(Type, TypeCodecRegistry) - Method in class de.bild.codec.PojoContext
-
Calculates and returns a codec for the given type, null otherwise
- getCodec(Type, TypeCodecRegistry, CodecConfiguration) - Method in interface de.bild.codec.CodecResolver
- getCodecForClass(Class<?>) - Method in class de.bild.codec.PolymorphicReflectionCodec
-
Walks up class hierarchy until a registered codec (in the context of registered model classes) is found
- getDeclaredAndInheritedFieldTypePair(Type, String) - Static method in class de.bild.codec.ReflectionHelper
-
Finds a field with fully resolved type within the given type
- getDeclaredAndInheritedFieldTypePairs(Type, boolean) - Static method in class de.bild.codec.ReflectionHelper
-
calculates all fields of class hierarchy
- getDeclaredAndInheritedMethods(Type) - Static method in class de.bild.codec.ReflectionHelper
- getDecodeUndefinedHandlingStrategy() - Method in class de.bild.codec.CodecConfiguration
- getDecodingFieldFailureStrategy() - Method in class de.bild.codec.CodecConfiguration
- getDecodingPojoFailureStrategy() - Method in class de.bild.codec.BasicReflectionCodec
- getDecodingPojoFailureStrategy() - Method in class de.bild.codec.CodecConfiguration
- getDecodingPojoFailureStrategy() - Method in interface de.bild.codec.TypeCodec
- getDefaultConstructor(Class<C>) - Method in class de.bild.codec.CollectionTypeCodec
- getDefaultConstructor(Class<C>) - Method in class de.bild.codec.ListTypeCodec
- getDefaultConstructor(Class<C>) - Method in class de.bild.codec.SetTypeCodec
- getDefaultConstructor(Class<Map<K, V>>) - Method in class de.bild.codec.MapTypeCodec
- getDefaultConstructor(Class<T>) - Method in class de.bild.codec.AbstractTypeCodec
- getDelegate() - Method in interface de.bild.codec.DelegatingCodec
- getDocumentId(T) - Method in class de.bild.codec.BasicReflectionCodec
- getDocumentId(T) - Method in class de.bild.codec.PolymorphicReflectionCodec
- getDocumentId(T) - Method in interface de.bild.codec.TypeCodec
- getEncodeNullHandlingStrategy() - Method in class de.bild.codec.CodecConfiguration
- getEncoderClass() - Method in class de.bild.codec.AbstractTypeCodec
- getEncoderClass() - Method in class de.bild.codec.ArrayCodec
- getEncoderClass() - Method in class de.bild.codec.EnumCodec
- getEncoderClass() - Method in class de.bild.codec.MapTypeCodec
- getEncoderClass() - Method in class de.bild.codec.ObjectCodec
- getEncoderClass() - Method in class de.bild.codec.PolymorphicReflectionCodec
- getEncoderClass() - Method in enum class de.bild.codec.PrimitiveArrayCodec
- getField() - Method in class de.bild.codec.FieldTypePair
- getField() - Method in class de.bild.codec.MappedField
- getFieldTypePair() - Method in class de.bild.codec.MappedField
- getFieldValue(T) - Method in class de.bild.codec.MappedField
- getIdFieldIfPresent(Class) - Static method in class de.bild.codec.ReflectionHelper
- getLockingVersionFieldIfPresent(Class) - Static method in class de.bild.codec.ReflectionHelper
- getMappedField(String) - Method in class de.bild.codec.BasicReflectionCodec
- getMappedField(String) - Method in interface de.bild.codec.ReflectionCodec
- getMappedFieldName() - Method in class de.bild.codec.MappedField
- getMethod() - Method in class de.bild.codec.MethodTypePair
- getPersistenceFields() - Method in class de.bild.codec.BasicReflectionCodec
- getPersistenceFields() - Method in interface de.bild.codec.ReflectionCodec
- getRealType() - Method in class de.bild.codec.FieldTypePair
- getRealType() - Method in class de.bild.codec.MethodTypePair
- getRegistry() - Method in interface de.bild.codec.TypeCodecRegistry
- getTypeFilter() - Method in class de.bild.codec.PolymorphicReflectionCodec
-
Example:
Or Filter{ filters=[ Filter{fieldName='_t', value=Square}, Filter{fieldName='_discriminatorKey', value=Circle} ] } - getTypeFilter() - Method in interface de.bild.codec.TypeCodec
- getTypeFilter(Class<?>, CodecRegistry) - Method in class de.bild.codec.PojoCodecProvider
H
- hasAnnotation(Class) - Method in class de.bild.codec.MappedField
-
Indicates whether the annotation is present in the mapping (does not check the java field annotations, just the ones discovered)
- hasChildren() - Method in class de.bild.codec.TypesModel.ClassHierarchyNode
- hashCode() - Method in class de.bild.codec.MappedField
- hashCode() - Method in class de.bild.codec.ObjectCodecProvider
I
- Id - Annotation Interface in de.bild.codec.annotations
-
Use this annotation to mark the id field.
- ID_KEY - Static variable in class de.bild.codec.MappedField
- Id.DefaultIdGenerator - Class in de.bild.codec.annotations
- IdGenerationException - Exception in de.bild.codec
- IdGenerationException(String) - Constructor for exception de.bild.codec.IdGenerationException
- IdGenerationException(String, Throwable) - Constructor for exception de.bild.codec.IdGenerationException
- IdGenerator<T> - Interface in de.bild.codec
-
IdGenerator that has no need to generate ids based on instance internals
- ignoreAnnotations - Variable in class de.bild.codec.TypesModel
- ignoreClasses - Variable in class de.bild.codec.TypesModel
- ignoreClasses(Class<?>...) - Method in class de.bild.codec.PojoCodecProvider.Builder
-
If ypu can point to the classes to be ignored, you can do this here
- IgnoreType - Annotation Interface in de.bild.codec.annotations
- ignoreTypesAnnotatedWith(Class<? extends Annotation>...) - Method in class de.bild.codec.PojoCodecProvider.Builder
- ignoreTypesMatchingClassNamePredicate(Predicate<String>...) - Method in class de.bild.codec.PojoCodecProvider.Builder
-
If you need to exclude private inner classes form the domain model, use a Predicate
- ignoreTypesMatchingClassNamePredicates - Variable in class de.bild.codec.TypesModel
- inferRealType(Type, Map<String, Type>) - Static method in class de.bild.codec.ReflectionHelper
- initializeUndefinedValue(T) - Method in class de.bild.codec.MappedField
- InstanceAwareIdGenerator<T,
P> - Interface in de.bild.codec -
Introducing this super-interface of
IdGeneratorallows for staying backward compatible with existing code. - InstanceCreationException - Exception in de.bild.codec
- InstanceCreationException(String) - Constructor for exception de.bild.codec.InstanceCreationException
- InstanceCreationException(String, Throwable) - Constructor for exception de.bild.codec.InstanceCreationException
- INTEGER - Enum constant in enum class de.bild.codec.PrimitiveArrayCodec
- isCollectible() - Method in class de.bild.codec.BasicReflectionCodec
- isCollectible() - Method in class de.bild.codec.PolymorphicReflectionCodec
- isCollectible() - Method in interface de.bild.codec.TypeCodec
- isEncodeNulls() - Method in class de.bild.codec.CodecConfiguration
- isIdField() - Method in class de.bild.codec.MappedField
- isIgnorable(Field) - Method in class de.bild.codec.BasicReflectionCodec
- isLockingVersionField() - Method in class de.bild.codec.MappedField
- isPolymorphic() - Method in class de.bild.codec.TypesModel.ClassHierarchyNode
K
- KEEP_NULL - Enum constant in enum class de.bild.codec.annotations.EncodeNullHandlingStrategy.Strategy
- KEEP_POJO_DEFAULT - Enum constant in enum class de.bild.codec.annotations.DecodeUndefinedHandlingStrategy.Strategy
L
- ListTypeCodec<C extends List<V>,
V> - Class in de.bild.codec - ListTypeCodec(Class<C>, Type, TypeCodecRegistry) - Constructor for class de.bild.codec.ListTypeCodec
- LockingVersion - Annotation Interface in de.bild.codec.annotations
- LOGGER - Static variable in interface de.bild.codec.PolymorphicCodec
- LONG - Enum constant in enum class de.bild.codec.PrimitiveArrayCodec
M
- MappedField<T,
F> - Class in de.bild.codec - MappedField(FieldTypePair, Class<T>, TypeCodecRegistry, CodecConfiguration) - Constructor for class de.bild.codec.MappedField
- MapTypeCodec<K,
V> - Class in de.bild.codec - MapTypeCodec(Class<Map<K, V>>, Type, TypeCodecRegistry) - Constructor for class de.bild.codec.MapTypeCodec
- MethodTypePair - Class in de.bild.codec
- MethodTypePair(Method, Type) - Constructor for class de.bild.codec.MethodTypePair
N
- newInstance() - Method in class de.bild.codec.AbstractTypeCodec
- newInstance() - Method in class de.bild.codec.CollectionTypeCodec
- newInstance() - Method in interface de.bild.codec.PolymorphicCodec
- NULL - Enum constant in enum class de.bild.codec.annotations.DecodingPojoFailureStrategy.Strategy
O
- ObjectCodec<T> - Class in de.bild.codec
-
transcodes dynamically typed
Objectvalues. - ObjectCodec(Class<T>, CodecRegistry, BsonTypeClassMap) - Constructor for class de.bild.codec.ObjectCodec
- ObjectCodec(Class<T>, CodecRegistry, BsonTypeClassMap, Transformer) - Constructor for class de.bild.codec.ObjectCodec
- ObjectCodecProvider - Class in de.bild.codec
-
transcodes dynamically typed
Objectvalues. - ObjectCodecProvider() - Constructor for class de.bild.codec.ObjectCodecProvider
- ObjectCodecProvider(BsonTypeClassMap) - Constructor for class de.bild.codec.ObjectCodecProvider
- ObjectCodecProvider(BsonTypeClassMap, Transformer) - Constructor for class de.bild.codec.ObjectCodecProvider
- ObjectCodecProvider(Transformer) - Constructor for class de.bild.codec.ObjectCodecProvider
- ObjectIdGenerator - Class in de.bild.codec
- ObjectIdGenerator() - Constructor for class de.bild.codec.ObjectIdGenerator
P
- PojoCodecProvider - Class in de.bild.codec
-
Provides a codec for Pojos Use the internal builder to register classes and packages that can be handled by the codec
- PojoCodecProvider.Builder - Class in de.bild.codec
- PojoContext - Class in de.bild.codec
- Polymorphic - Annotation Interface in de.bild.codec.annotations
-
Use this annotation at classes that you want to declare as polymorphic This is especially useful if at present only one single base class is yet defined for your desired hierarchy
- PolymorphicCodec<T> - Interface in de.bild.codec
-
Provides functionality for handling polymorphic structures.
- PolymorphicReflectionCodec<T> - Class in de.bild.codec
- PolymorphicReflectionCodec(Type, Set<Type>, TypeCodecRegistry, PojoContext) - Constructor for class de.bild.codec.PolymorphicReflectionCodec
- postDecode(T) - Method in class de.bild.codec.BasicReflectionCodec
- postDecode(T) - Method in interface de.bild.codec.ReflectionCodec
-
Called after entity has been decoded
- PostLoad - Annotation Interface in de.bild.codec.annotations
- preEncode(T) - Method in class de.bild.codec.BasicReflectionCodec
- preEncode(T) - Method in interface de.bild.codec.ReflectionCodec
-
Called just before encoding
- PreSave - Annotation Interface in de.bild.codec.annotations
- PrimitiveArrayCodec - Enum Class in de.bild.codec
-
Codecs for primitive arrays
R
- ReflectionCodec<T> - Interface in de.bild.codec
-
Used by Polymorphia internally to tag codecs that use reflection to build a Codec for al properties
- ReflectionHelper - Class in de.bild.codec
- register(TypeCodecProvider...) - Method in class de.bild.codec.PojoCodecProvider.Builder
-
In case you need to register
- register(Class<?>...) - Method in class de.bild.codec.PojoCodecProvider.Builder
- register(String...) - Method in class de.bild.codec.PojoCodecProvider.Builder
- registerClassResolver(ClassResolver) - Method in class de.bild.codec.PojoCodecProvider.Builder
-
If you need to provide a mechanism to scan packages for model classes, register a
ClassResolver - registerCodecResolver(CodecResolver...) - Method in class de.bild.codec.PojoCodecProvider.Builder
-
A CodecResolver is supposed to provide specialized codecs in case the default implementation
BasicReflectionCodecis not sufficient - resolve(Type, TypeCodecRegistry) - Method in class de.bild.codec.PojoContext
-
Iterates over the list of codecResolvers and returns a PolymorphicCodec if match is found.
- RETHROW_EXCEPTION - Enum constant in enum class de.bild.codec.annotations.DecodingFieldFailureStrategy.Strategy
- RETHROW_EXCEPTION - Enum constant in enum class de.bild.codec.annotations.DecodingPojoFailureStrategy.Strategy
S
- SET_TO_NULL - Enum constant in enum class de.bild.codec.annotations.DecodeUndefinedHandlingStrategy.Strategy
- SET_TO_NULL - Enum constant in enum class de.bild.codec.annotations.DecodingFieldFailureStrategy.Strategy
- setFieldValue(T, F) - Method in class de.bild.codec.MappedField
- setPackages(Set<String>) - Method in class de.bild.codec.PojoCodecProvider.Builder
- SetTypeCodec<C extends Set<V>,
V> - Class in de.bild.codec - SetTypeCodec(Class<C>, Type, TypeCodecRegistry) - Constructor for class de.bild.codec.SetTypeCodec
- SHORT - Enum constant in enum class de.bild.codec.PrimitiveArrayCodec
- SimpleMapTypeCodec<V> - Class in de.bild.codec
- SimpleMapTypeCodec(Class<Map<String, V>>, Type, TypeCodecRegistry) - Constructor for class de.bild.codec.SimpleMapTypeCodec
- SKIP - Enum constant in enum class de.bild.codec.annotations.DecodingFieldFailureStrategy.Strategy
- SpecialFieldsMap - Interface in de.bild.codec
-
A marker interface to mark entity classes that are maps with special fields Special fields can be declared by getter methods with a
FieldMappingannotation - SpecialFieldsMapCodec<T extends Map<String,
Object>> - Class in de.bild.codec -
This Codec can be used to decode/encode map-like structures but decode/encode certain properties within the map into specialized types This Codec is mainly inspired by
DocumentCodec - SpecialFieldsMapCodec(Type, TypeCodecRegistry) - Constructor for class de.bild.codec.SpecialFieldsMapCodec
T
- toString() - Method in class de.bild.codec.AbstractTypeCodec
- toString() - Method in class de.bild.codec.FieldTypePair
- Transient - Annotation Interface in de.bild.codec.annotations
- TypeCodec<T> - Interface in de.bild.codec
-
All codecs used within polymorphia need to implement this interface.
- TypeCodecProvider - Interface in de.bild.codec
-
The mongo driver
CodecProviderwas not designed to acceptTypeas parameter ThisTypeCodecProvidercan be used to registerCodecs for any givenTypeRegister yourTypeCodecProviderwhen buildingPojoCodecProvider.Builder.register(TypeCodecProvider...)TypeCodecProvider helps you to handle a given fields within your Pojos as special way. - TypeCodecRegistry - Interface in de.bild.codec
- TypeMismatchException - Exception in de.bild.codec
- TypeMismatchException(String) - Constructor for exception de.bild.codec.TypeMismatchException
- TypeMismatchException(String, Throwable) - Constructor for exception de.bild.codec.TypeMismatchException
- TypesModel - Class in de.bild.codec
-
This class holds a list of all classes relevant for the pojo model.
- TypesModel(Set<Class<?>>, Set<String>, Set<Class<? extends Annotation>>, Set<Predicate<String>>, Set<Class<?>>, ClassResolver) - Constructor for class de.bild.codec.TypesModel
- TypesModel.ClassHierarchyNode - Class in de.bild.codec
U
- unWrapRecursively() - Method in interface de.bild.codec.DelegatingCodec
V
- value() - Element in annotation interface de.bild.codec.annotations.CodecToBeUsed
- value() - Element in annotation interface de.bild.codec.annotations.DecodeUndefinedHandlingStrategy
- value() - Element in annotation interface de.bild.codec.annotations.DecodingFieldFailureStrategy
- value() - Element in annotation interface de.bild.codec.annotations.DecodingPojoFailureStrategy
- value() - Element in annotation interface de.bild.codec.annotations.Discriminator
- value() - Element in annotation interface de.bild.codec.annotations.DiscriminatorKey
- value() - Element in annotation interface de.bild.codec.annotations.EncodeNullHandlingStrategy
- value() - Element in annotation interface de.bild.codec.annotations.EncodeNulls
- value() - Element in annotation interface de.bild.codec.annotations.FieldMapping
- value() - Element in annotation interface de.bild.codec.annotations.Id
- valueOf(String) - Static method in enum class de.bild.codec.annotations.DecodeUndefinedHandlingStrategy.Strategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.bild.codec.annotations.DecodingFieldFailureStrategy.Strategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.bild.codec.annotations.DecodingPojoFailureStrategy.Strategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.bild.codec.annotations.EncodeNullHandlingStrategy.Strategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class de.bild.codec.PrimitiveArrayCodec
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class de.bild.codec.annotations.DecodeUndefinedHandlingStrategy.Strategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.bild.codec.annotations.DecodingFieldFailureStrategy.Strategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.bild.codec.annotations.DecodingPojoFailureStrategy.Strategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.bild.codec.annotations.EncodeNullHandlingStrategy.Strategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class de.bild.codec.PrimitiveArrayCodec
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifyFieldsNotNamedLikeAnyDiscriminatorKey(Set<String>) - Method in interface de.bild.codec.PolymorphicCodec
-
A check for properties with names equal to any of the identified discriminator keys
- verifyFieldsNotNamedLikeAnyDiscriminatorKey(Set<String>) - Method in interface de.bild.codec.ReflectionCodec
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form