| Interface | Description |
|---|---|
| CodecResolver<T> |
This interface can be used to add special handling pojo of certain types.
|
| IdGenerator<T> | |
| ReflectionCodec<T> | |
| SpecialFieldsMap |
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 |
| TypeCodec<T> |
All codecs within polymorphia would implement this interface.
|
| TypeCodecRegistry |
| Class | Description |
|---|---|
| AbstractTypeCodec<T> |
Abstract base class for any type codec.
|
| ArrayCodec | |
| BasicReflectionCodec<T> | |
| CollectionTypeCodec<C extends Collection<V>,V> |
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.
|
| ComplexMapTypeCodec<K,V> | |
| EnumCodec<T extends Enum<T>> |
Codec for enum.
|
| EnumCodecProvider | |
| FieldTypePair | |
| ListTypeCodec<C extends List<V>,V> | |
| MappedField | |
| MapTypeCodec<K,V> | |
| MethodTypePair | |
| ObjectIdGenerator | |
| PojoCodecProvider |
Provides a codec for Pojos
Use the internal builder to register classes and packages that can be handled by the codec
|
| PojoCodecProvider.Builder | |
| PojoContext | |
| PolymorphicReflectionCodec<T> | |
| ReflectionHelper | |
| SetTypeCodec<C extends Set<V>,V> | |
| SimpleMapTypeCodec<V> | |
| SpecialFieldsMapCodec<T extends Map<String,Object>> |
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 |
| TypesModel |
This class holds a list of all classes relevant for the pojo model.
|
| TypesModel.ClassHierarchyNode |
| Exception | Description |
|---|---|
| InstanceCreationException | |
| NonRegisteredModelClassException |
Copyright © 2017 BILD GmbH & Co. KG. All rights reserved.