Entity vs valueobject

Aug 28, 2013 at 11:58 AM

I'm struggling with the entity and valueobject concept. In particular with the company entity (owner) under the project entity.
I understand that both are entities and both are aggregate roots. But you don’t want to change the name of a company through the project. Instead the whole company entity will be replaced by another companies entity. Now you can change the companies name, but I will not be persistented, because the projects repository doesn’t handle the change of the companies name.
Why not make an valueobject called something like CompanySummary? So it is clear that you cannot change any of the attributes of the company.