Package org.jmolecules.ddd.types
Interface Identifiable<ID>
-
- All Known Subinterfaces:
AggregateRoot<T,ID>,Association<T,ID>,Entity<T,ID>
- All Known Implementing Classes:
SimpleAssociation
public interface Identifiable<ID>An identifiable type, i.e. anything that exposes anIdentifier.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IDgetId()Returns the identifier.
-
-
-
Method Detail
-
getId
ID getId()
Returns the identifier.- Returns:
-
-