Package de.bild.codec

Interface IdGenerator<T>

All Superinterfaces:
InstanceAwareIdGenerator<T,Object>
All Known Implementing Classes:
Id.DefaultIdGenerator, ObjectIdGenerator

public interface IdGenerator<T> extends InstanceAwareIdGenerator<T,Object>
IdGenerator that has no need to generate ids based on instance internals
  • Method Summary

    Modifier and Type
    Method
    Description
    Generate id without knowledge of the instance
    default T
    generate(Object instance)
     

    Methods inherited from interface de.bild.codec.InstanceAwareIdGenerator

    asBsonValue