uml - Sequence Diagram with lifeline of type not modeled in class diagram -


i'm architecting design application communicates inventory system. don't need design class in class diagram inventory system, class has communicate inventory system in sequence diagram. can model lifeline inventory system without having modeled in class diagram?

my short answer yes, can include in sequence diagram doesn't appear in class diagrams.

my long answer is: making uml diagrams not modeling, it's way of illustrating how plan model; it's tool communicating ideas. comprehensive, complete set of uml diagrams won't translate working system meets customer's needs, because while system being built customer change mind want, , you're discover things didn't know front force of carefully-diagrammed plans change.

with in mind, use uml tool idea across particular audience @ particular time. such, consider isn't vital illuminating particular concept or part of system i'm looking @ at time irrelevant. includes whether uml diagram covers every part of system, whether every entity in sequence diagram has corresponding symbol in class diagram, etc. i'd measure of whether uml diagram 'correct' if helps illustrate part of model intend - if don't spend time worrying details.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -