Book a Demo

Author Topic: Output in UML  (Read 7180 times)

jleppan

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Output in UML
« on: September 02, 2005, 12:07:58 am »
Hi I am new to UML - I would like to know how to represent output - an example would be if a use case produced a text file or an XLS report. What UML element would represent the outputted file or report.


Kevin Brennan

  • EA User
  • **
  • Posts: 95
  • Karma: +0/-0
    • View Profile
Re: Output in UML
« Reply #1 on: September 02, 2005, 07:43:31 am »
UML doesn't have any particular way of modelling output. You might show it as a class, perhaps, but that's a bit of a kludge.
Sr. Consultant at blue sands Inc. and Vice President, Body of Knowledge at the IIBA. All opinions are my own.

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Output in UML
« Reply #2 on: September 02, 2005, 12:10:09 pm »
Output is really a message between two entities.  Ouput reports are the communication of information from the system to an actor.  I think you have a couple of options:

On a Use Case diagram, an association link (or Use) could represent an actor using the system to receive information.

Other possibilities might be the use of an AssociationClass or an Artifact.
Verbal Use Cases aren't worth the paper they are written upon.

thomaskilian

  • Guest
Re: Output in UML
« Reply #3 on: September 05, 2005, 01:26:03 am »
Maybe I'm totally wrong, but I modelled Output in a Use Case Diagram (if appropriate ;)) as an Actor. This one further (if appropriate ;D) can become an Entity in a Robustness Diagram and/or a Class in the Design Model.

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Output in UML
« Reply #4 on: September 05, 2005, 07:55:49 am »
IMHO making an actor the output, not a consumer of the  output, kinda makes the output an end in itself.  It also negates analysis of output requirements and identification of the development project's stakeholders.

From the OMG UML 2.0 Spec. on Actors:
Quote
An Actor models a type of role played by an entity that interacts with the subject (e.g., by exchanging signals and data), but which is external to the subject (i.e., in the sense that an instance of an actor is not a part of the instance of its corresponding subject). Actors may represent roles played by human users, external hardware, or other subjects. Note that an actor does not necessarily represent a specific physical entity but merely a particular facet (i.e., “role”) of some entity that is relevant to the specification of its associated use cases.


I have difficulty thinking of output as a role.  Output is just a highly structured message [signal], perhaps with deep content, from the system to the actor.   I'm sticking with my use of the directed line from the system to the consumer as being the output, just as the information flows along the lines in an activity diagram.

However, another way to think of this is that messages are also objects that normally have structure.  These serialized objects move between systems and actors along the lines of which I speak.

Then, again, all of this discussion, so far, is moot if the question was asked within the context of Business Process Modeling.   Those models have their own diagramming elements...

Verbal Use Cases aren't worth the paper they are written upon.

thomaskilian

  • Guest
Re: Output in UML
« Reply #5 on: September 06, 2005, 03:05:03 am »
Quote
...

You are right :) Probably this Output-Actor thing was some kind of work-around I inventend a long time ago by myself and just kept it. Now I use the BP model to show that, while my UC diagrams don't contain any "Output".