• Post Reply Bookmark Topic Watch Topic
  • New Topic

Domain Modelling Question

Joe Harry
Ranch Hand
Posts: 10128
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let's say I model a banking Account as below:

My understanding of the difference between an Entity and a Value Object is that an Entity actually represents my domain and has a defined lifecycle whereas a Value Object is something that I can share across the Entities. Given this, can I say that Address can be considered as a Value Object?
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!