Interface KeyExtractor<K extends Serializable,V extends Serializable>

All Superinterfaces:
Serializable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface KeyExtractor<K extends Serializable,V extends Serializable> extends Serializable
Generic Adapter definition for extracting the id or primary key from a Data Transfer Object or entity bean.
  • Method Summary

    Modifier and Type
    Method
    Description
    getKey(V value)
     
  • Method Details

    • getKey

      K getKey(V value)