Interface IdFactory<I,​V extends Comparable<?>,​ID extends AbstractId<?,​I,​V>>

    • Method Detail

      • getIdClass

        Class<ID> getIdClass()
        Returns:
        the Class of the managed Id implementation.
      • create

        <E> AbstractId<E,​I,​V> create​(Class<E> type,
                                                 I id,
                                                 V version)
        Type Parameters:
        E - type of the identified entity.
        Parameters:
        type - the entity type.
        id - the primary key.
        version - the version. May be null.
        Returns:
        the Id for the given values.