Package de.bild.codec
Interface InstanceAwareIdGenerator<T,P>
- Type Parameters:
T- type of the id classP- type of the entity instance class
- All Known Subinterfaces:
IdGenerator<T>
- All Known Implementing Classes:
Id.DefaultIdGenerator,ObjectIdGenerator
public interface InstanceAwareIdGenerator<T,P>
Introducing this super-interface of
IdGenerator allows for staying backward compatible with existing code.-
Method Summary
Modifier and TypeMethodDescriptiondefault org.bson.BsonValueasBsonValue(T id, TypeCodecRegistry typeCodecRegistry)
-
Method Details
-
generate
-
asBsonValue
-