T - public interface ReflectionCodec<T> extends PolymorphicCodec<T>
LOGGER| Modifier and Type | Method and Description |
|---|---|
MappedField |
getMappedField(String mappedFieldName) |
Map<String,MappedField> |
getPersistenceFields() |
void |
postDecode(T instance)
Called after entity has been decoded
|
void |
preEncode(T instance)
Called just before encoding
|
default void |
verifyFieldsNotNamedLikeAnyDiscriminatorKey(Set<String> propertyNames)
A check for properties with names equal to any of the identified discriminator keys
|
decode, decodeFields, encode, encodeFields, newInstancedefaultInstance, documentHasId, generateIdIfAbsentFromDocument, getDocumentId, isCollectibleMap<String,MappedField> getPersistenceFields()
MappedField getMappedField(String mappedFieldName)
void postDecode(T instance)
instance - void preEncode(T instance)
instance - default void verifyFieldsNotNamedLikeAnyDiscriminatorKey(Set<String> propertyNames) throws IllegalArgumentException
PolymorphicCodecverifyFieldsNotNamedLikeAnyDiscriminatorKey in interface PolymorphicCodec<T>propertyNames - the identified discriminator keys
throws an IllegalArgumentException if a name of an internally used property is equal to one of the discriminator keysIllegalArgumentExceptionCopyright © 2018 BILD GmbH & Co. KG. All rights reserved.