Interface BinaryValueTranslatorProvider
-
- All Known Implementing Classes:
BinaryValueTranslatorProvider.Default
public interface BinaryValueTranslatorProvider
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BinaryValueTranslatorProvider.Default
-
Method Summary
Modifier and Type Method Description static BinaryValueTranslatorProvider
New(XGettingMap<String,BinaryValueSetter> customTranslatorLookup, XGettingSequence<? extends BinaryValueTranslatorKeyBuilder> translatorKeyBuilders, BinaryValueTranslatorLookupProvider translatorLookupProvider, boolean switchByteOrder)
BinaryValueSetter
provideBinaryValueTranslator(PersistenceTypeDefinition sourceLegacyType, PersistenceTypeDefinitionMember sourceMember, PersistenceTypeHandler<Binary,?> targetCurrentType, PersistenceTypeDefinitionMember targetMember)
Special translator to translate a value from binary form to an intermediate binary form.BinaryValueSetter
provideTargetValueTranslator(PersistenceTypeDefinition sourceLegacyType, PersistenceTypeDefinitionMember sourceMember, PersistenceTypeHandler<Binary,?> targetCurrentType, PersistenceTypeDefinitionMember targetMember)
Normal translator to translate a value from binary form to a target instance.
-
-
-
Method Detail
-
provideTargetValueTranslator
BinaryValueSetter provideTargetValueTranslator(PersistenceTypeDefinition sourceLegacyType, PersistenceTypeDefinitionMember sourceMember, PersistenceTypeHandler<Binary,?> targetCurrentType, PersistenceTypeDefinitionMember targetMember)
Normal translator to translate a value from binary form to a target instance.- Parameters:
sourceMember
-targetMember
-
-
provideBinaryValueTranslator
BinaryValueSetter provideBinaryValueTranslator(PersistenceTypeDefinition sourceLegacyType, PersistenceTypeDefinitionMember sourceMember, PersistenceTypeHandler<Binary,?> targetCurrentType, PersistenceTypeDefinitionMember targetMember)
Special translator to translate a value from binary form to an intermediate binary form.- Parameters:
sourceMember
-targetMember
-
-
New
static BinaryValueTranslatorProvider New(XGettingMap<String,BinaryValueSetter> customTranslatorLookup, XGettingSequence<? extends BinaryValueTranslatorKeyBuilder> translatorKeyBuilders, BinaryValueTranslatorLookupProvider translatorLookupProvider, boolean switchByteOrder)
-
-