Package org.bson.codecs
Interface OverridableUuidRepresentationCodec<T>
-
- Type Parameters:
T
- the value type
- All Known Implementing Classes:
DBObjectCodec
,DocumentCodec
,IterableCodec
,MapCodec
,OverridableUuidRepresentationUuidCodec
@Deprecated(since="2022-10-31") public interface OverridableUuidRepresentationCodec<T>
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.A marker interface forCodec
implementations that can derive a new instance that overrides theUuidRepresentation
.- Since:
- 3.12
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Codec<T>
withUuidRepresentation(UuidRepresentation uuidRepresentation)
Deprecated.Implementations must return a new instance with theUuidRepresentation
overridden with the given value.
-
-
-
Method Detail
-
withUuidRepresentation
Codec<T> withUuidRepresentation(UuidRepresentation uuidRepresentation)
Deprecated.Implementations must return a new instance with theUuidRepresentation
overridden with the given value.- Parameters:
uuidRepresentation
- the UuidRepresentation- Returns:
- a new instance equivalent to this but with the given UuidRepresentation
-
-