Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: TrtnJohn on November 09, 2005, 05:16:22 pm
-
When using a class that doesn't have specific getter and setter methods for a property. (Such as VB.NET). How do you show setting a property value as a message in a sequence diagram?
-
Sequence diagram only show messages. If you want to show an assignement to a property you have to use setters. Why not use a setter in the diagram? You could use a certain stereotype to indicate direct use.
-
Sequence diagram only show messages. If you want to show an assignement to a property you have to use setters. Why not use a setter in the diagram? You could use a certain stereotype to indicate direct use.
I can add a specific setter method in the class for the sequence diagram. But, then I need to change it back to a single method when I generate the code. Won't this mess up my original sequence diagram if I remove the setter method later?
-
As far as I remember you can use also non-existant methods (by writing plain text) for method calls in seq.-diagrams. Maybe that could be a way to handle it ???
-
As far as I remember you can use also non-existant methods (by writing plain text) for method calls in seq.-diagrams. Maybe that could be a way to handle it ???
Thanks Thomas. That's what I was doing. I was just hoping there was some tricky EA setting I overlooked. I am always amazed by the things I don't know about EA.