Package it.tidalwave.role
Interface Identifiable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The role of an object that can expose a unique identifier.
- Author:
- Fabrizio Giudici
- Status: stable API
- Stereotype:
- Role
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
Returns the identifier.static Identifiable
Returns a default instance which returns the given idr.
-
Field Details
-
_Identifiable_
-
-
Method Details
-
getId
Returns the identifier.- Returns:
- the id
-
of
Returns a default instance which returns the given idr.- Parameters:
id
- the id- Returns:
- the identifiable
- Since:
- 3.2-ALPHA-6
-