Package de.vinado.lib.identifier
Interface Identifiable<T,R extends Identifier<T>>
- Type Parameters:
R- the type ofIdentifierT- the type of the typeIdentifierencapsulates.
- All Known Subinterfaces:
NumericIdentifiable<T>,StringIdentifiable<T>,UuidIdentifiable<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Common interface to be used on any
Identifier-identifiable types. E.g. domain entities.- Author:
- Vincent Nadoll
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TextractIdValue(Identifiable<T, ?> identifiable) getId()
-
Method Details
-
getId
R getId() -
getIdValue
-
extractIdValue
-