xmolecules / jmolecules

Libraries to help developers express architectural abstractions in Java code
http://jmolecules.org
Apache License 2.0
1.26k stars 105 forks source link

Identifiable::getId doesn't return an Identifier #130

Closed xenoterracide closed 2 months ago

xenoterracide commented 2 months ago

Identifiable::getId doesn't return an Identifier.

Seems odd that the interface isn't Identifiable<ID extends Identifier>

xenoterracide commented 2 months ago

oh, I just realized why this might not work, although it's not unreasonable to argue that DDD would encourage a type other than uuid/long