Tag Info

New answers tagged

1

Ideally there should not be a difference. That is, different parts of model might be elaborated in more detail for test, others might be elaborated in more detail for development. However, the scenario in which the test team goes off to make its own sequence diagram which is ignored by the development team is problematic to say the least. A recipe for ...


2

I work at a Fortune 100 company as a Senior Architect. We're about as uptight about UML as you find in the industry, and we don't worry about these kinds of things. Basically, if including an external system (typically using a separate package notation) helps explain something, then include it. If it is just there for some insignificant corner case that ...


2

If the relations with the classes from the external system are relevant for what you want to show in the class diagram, then you should show them by all means. The standard UML way to show that some classes belong to a different module/system/whatever is to put them in a different package. In your diagram, you can either draw the classes within a package ...


3

Your external API (the connection to the content management system) is not a class, it's an interface. As illustrated in this Stack Overflow question, it would look something like this:


3

I've made a simple class diagram that describes your domain: Each Animal has a Habitat it messes up. The Habitat does not care what or how many animals it has (unless it is fundamentally part of your design which in this case you described it is not). But the Animal does care, because it will behave differently in every Habitat. This diagram is similar ...


2

I would go with 1, but I would make the parent-child relationship along with notification logic into separate wrapper. This removes the dependency of Animal on Zoo and allows automatic management of parent-child relationships. But this requires you to remake the objects in the hierarchy into interfaces/abstract classes first and write a specific wrapper for ...



Top 50 recent answers are included