Interface Field<E,V>

All Superinterfaces:
Function<E,V>, Serializable
All Known Subinterfaces:
FieldReference<T,R>
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 Field<E,V> extends Function<E,V>, Serializable
A compiler-checked reference to one Java bean property.

Use an ordinary getter reference such as Order::getCustomer. The framework resolves the Java property name once and maps it to the appropriate metadata/API column at the boundary. The declaring entity and value type remain available to Java's type checker.