Interface EntityCodecIndirectBase<T>
- Type Parameters:
T- The entity type on which encoding/decoding operates
- All Superinterfaces:
EntityCodec<T>, EntityCodecDirect<T>, EntityCodecIndirect<T>
- All Known Implementing Classes:
EntityCodecAdapter, EntityCodecImpl
An entity codec provides the metohds getEncoder and getDecoder.
For convenience the interface extends
EntityCodecDirectBase which
provides the simply encode and decode shortcuts.- Author:
- Claus Stadler
-
Method Summary
Methods inherited from interface EntityCodecDirect
decodeOrGetAsGivenMethods inherited from interface EntityCodecIndirect
getDecoder, getEncoder
-
Method Details
-
encode
- Specified by:
encodein interfaceEntityCodecDirect<T>
-
decode
- Specified by:
decodein interfaceEntityCodecDirect<T>
-
canDecode
- Specified by:
canDecodein interfaceEntityCodecDirect<T>
-