Reputation: 23
I have a Text class. Objects of this class will have many versions. So there will be history of text changes. How to indicate this on class diagram properly? I need to show when it was changed and by who? Create class for text change? It is littlebit strange. Generalization?
Thanks for answer.
Upvotes: 1
Views: 78
Reputation: 332
How's this diagram below? (I'm sorry if I am misunderstanding your description.) Also, the Memento design pattern may help you.
Upvotes: 2