Skip navigation links
A B C D E F G H I L M N O P R S T 

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
 
allClasses - Variable in class de.bild.codec.TypesModel
 
ArrayCodec - Class in de.bild.codec
 
ArrayCodec(Type, TypeCodecRegistry) - Constructor for class de.bild.codec.ArrayCodec
 
asBsonValue(T, TypeCodecRegistry) - Method in interface de.bild.codec.IdGenerator
 
asBsonValue(ObjectId, TypeCodecRegistry) - Method in class de.bild.codec.ObjectIdGenerator
 

B

BasicReflectionCodec<T> - Class in de.bild.codec
 
BasicReflectionCodec(Type, TypeCodecRegistry) - Constructor for class de.bild.codec.BasicReflectionCodec
 
BasicReflectionCodec(Type, TypeCodecRegistry, Set<String>) - Constructor for class de.bild.codec.BasicReflectionCodec
 
build() - Method in class de.bild.codec.PojoCodecProvider.Builder
 
builder() - Static method in class de.bild.codec.PojoCodecProvider
 

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
classHierarchy - Variable in class de.bild.codec.TypesModel
 
ClassHierarchyNode(Class<?>) - Constructor for class de.bild.codec.TypesModel.ClassHierarchyNode
 
CodecResolver<T> - Interface in de.bild.codec
This interface can be used to add special handling pojo of certain types.
CodecToBeUsed - Annotation Type in de.bild.codec.annotations
 
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.BasicReflectionCodec
 
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, T, DecoderContext) - Method in class de.bild.codec.MappedField
 
decode(BsonReader, DecoderContext) - Method in class de.bild.codec.PolymorphicReflectionCodec
 
decode(BsonReader, DecoderContext) - Method in class de.bild.codec.SimpleMapTypeCodec
 
decode(BsonReader, DecoderContext) - Method in class de.bild.codec.SpecialFieldsMapCodec
 
decodeFields(BsonReader, DecoderContext, T) - Method in class de.bild.codec.BasicReflectionCodec
 
decodeFields(BsonReader, DecoderContext, T) - Method in interface de.bild.codec.ReflectionCodec
 
decodeWithType(BsonReader, DecoderContext, ReflectionCodec<T>) - Method in class de.bild.codec.PolymorphicReflectionCodec
 
defaultInstance() - Method in class de.bild.codec.CollectionTypeCodec
 
defaultInstance() - Method in class de.bild.codec.MapTypeCodec
 
defaultInstance() - Method in interface de.bild.codec.TypeCodec
 
Discriminator - Annotation Type in de.bild.codec.annotations
If you want to choose your discriminator manually you can annotate your pojo classes with this annotation.
DiscriminatorFallback - Annotation Type in de.bild.codec.annotations
This annotation can be used to decode objects from the database that do not provide a discriminator.
DiscriminatorKey - Annotation Type 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
 

E

encode(BsonWriter, Object, EncoderContext) - Method in class de.bild.codec.ArrayCodec
 
encode(BsonWriter, T, EncoderContext) - Method in class de.bild.codec.BasicReflectionCodec
 
encode(BsonWriter, C, EncoderContext) - Method in class de.bild.codec.CollectionTypeCodec
 
encode(BsonWriter, Map<K, V>, EncoderContext) - Method in class de.bild.codec.ComplexMapTypeCodec
 
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.PolymorphicReflectionCodec
 
encode(BsonWriter, Map<String, V>, EncoderContext) - Method in class de.bild.codec.SimpleMapTypeCodec
 
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.ReflectionCodec
 
encodeType(BsonWriter, T, EncoderContext, ReflectionCodec<T>) - Method in class de.bild.codec.PolymorphicReflectionCodec
 
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
 
extractRawClass(Type) - Static method in class de.bild.codec.ReflectionHelper
 

F

FieldMapping - Annotation Type in de.bild.codec.annotations
An entity class that implements SpecialFieldsMap can 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: static class ValueClass {} static class SomeOtherClass<V extends ValueClass> extends ArrayList<V> implements List<V> {} static class SomeSpecializedList extends SomeOtherClass<ValueClass> {}

G

generate() - Method in interface de.bild.codec.IdGenerator
 
generate() - Method in class de.bild.codec.ObjectIdGenerator
 
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<T>, CodecRegistry) - Method in class de.bild.codec.EnumCodecProvider
 
get(Class<T>, CodecRegistry) - Method in class de.bild.codec.PojoCodecProvider
 
get(Class<T>, CodecRegistry) - Method in class de.bild.codec.PojoContext
 
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
 
getClassHierarchyNodeForType(Type) - Method in class de.bild.codec.TypesModel
 
getClazz() - Method in class de.bild.codec.TypesModel.ClassHierarchyNode
 
getCodec(Type, TypeCodecRegistry) - Method in interface de.bild.codec.CodecResolver
 
getCodec() - Method in class de.bild.codec.MappedField
 
getCodec(Type, TypeCodecRegistry) - Method in class de.bild.codec.PojoContext
Calculates and returns a codec for the given type, null otherwise
getCodec(Type) - Method in interface de.bild.codec.TypeCodecRegistry
 
getCodecIfApplicable(Type, TypeCodecRegistry) - Static method in class de.bild.codec.ListTypeCodec
Tries to find the implemented interface List with the correct argument and if found returns the correct codec
getCodecIfApplicable(Type, TypeCodecRegistry) - Static method in class de.bild.codec.MapTypeCodec
 
getCodecIfApplicable(Type, TypeCodecRegistry) - Static method in class de.bild.codec.SetTypeCodec
Tries to find the implemented interface List with the correct argument and if found returns the correct codec
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
 
getDeclaringClass() - Method in class de.bild.codec.MappedField
 
getDefaultConstructor(Class<T>) - Method in class de.bild.codec.AbstractTypeCodec
 
getDefaultConstructor(Class<C>) - Method in class de.bild.codec.ListTypeCodec
 
getDefaultConstructor(Class<Map<K, V>>) - Method in class de.bild.codec.MapTypeCodec
 
getDefaultConstructor(Class<C>) - Method in class de.bild.codec.SetTypeCodec
 
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
 
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.PolymorphicReflectionCodec
 
getField() - Method in class de.bild.codec.FieldTypePair
 
getField() - Method in class de.bild.codec.MappedField
 
getFieldValue(Object) - Method in class de.bild.codec.MappedField
 
getIdField() - Method in class de.bild.codec.BasicReflectionCodec
 
getIdField() - Method in interface de.bild.codec.ReflectionCodec
 
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
 

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
 

I

Id - Annotation Type in de.bild.codec.annotations
Use this annotation to mark the id field.
ID_KEY - Static variable in class de.bild.codec.MappedField
 
IdGenerator<T> - Interface in de.bild.codec
 
inferRealType(Type, Map<String, Type>) - Static method in class de.bild.codec.ReflectionHelper
 
initializeDefault(T) - Method in class de.bild.codec.MappedField
 
initializeDefaults(T) - Method in class de.bild.codec.BasicReflectionCodec
 
initializeDefaults(T) - Method in interface de.bild.codec.ReflectionCodec
 
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
 
isCollectible() - Method in class de.bild.codec.BasicReflectionCodec
 
isCollectible() - Method in class de.bild.codec.PolymorphicReflectionCodec
 
isCollectible() - Method in interface de.bild.codec.TypeCodec
 
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
 

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 Type in de.bild.codec.annotations
 
logger - Variable in class de.bild.codec.AbstractTypeCodec
 

M

MappedField - Class in de.bild.codec
 
MappedField(FieldTypePair, Class<?>, TypeCodecRegistry) - 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 interface de.bild.codec.TypeCodec
 
NonRegisteredModelClassException - Exception in de.bild.codec
 
NonRegisteredModelClassException(String) - Constructor for exception de.bild.codec.NonRegisteredModelClassException
 
NonRegisteredModelClassException(String, Throwable) - Constructor for exception de.bild.codec.NonRegisteredModelClassException
 

O

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
 
PojoContext(TypesModel, List<CodecResolver>) - Constructor for class de.bild.codec.PojoContext
 
Polymorphic - Annotation Type 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
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
 
PostLoad - Annotation Type in de.bild.codec.annotations
 

R

ReflectionCodec<T> - Interface in de.bild.codec
 
ReflectionHelper - Class in de.bild.codec
 
ReflectionHelper() - Constructor for class de.bild.codec.ReflectionHelper
 
register(String...) - Method in class de.bild.codec.PojoCodecProvider.Builder
 
register(Class<?>...) - Method in class de.bild.codec.PojoCodecProvider.Builder
 
registerCodecResolver(CodecResolver...) - Method in class de.bild.codec.PojoCodecProvider.Builder
A CodecResolver is supposed to provide specialized codecs in case the default implementation BasicReflectionCodec is not sufficient
resolve(Type, TypeCodecRegistry) - Method in class de.bild.codec.PojoContext
Iterates over the list of codecResolvers and returns a ReflectionCodec if match is found.

S

setFieldValue(Object, Object) - 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
 
SimpleMapTypeCodec<V> - Class in de.bild.codec
 
SimpleMapTypeCodec(Class<Map<String, V>>, Type, TypeCodecRegistry) - Constructor for class de.bild.codec.SimpleMapTypeCodec
 
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 FieldMapping annotation
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
 
Transient - Annotation Type in de.bild.codec.annotations
 
TypeCodec<T> - Interface in de.bild.codec
All codecs within polymorphia would implement this interface.
TypeCodecRegistry - Interface in de.bild.codec
 
TypesModel - Class in de.bild.codec
This class holds a list of all classes relevant for the pojo model.
TypesModel(Set<Class<?>>, Set<String>) - Constructor for class de.bild.codec.TypesModel
 
TypesModel.ClassHierarchyNode - Class in de.bild.codec
 
A B C D E F G H I L M N O P R S T 
Skip navigation links

Copyright © 2017 BILD GmbH & Co. KG. All rights reserved.