Book a Demo

Author Topic: Newbie UML question: configuration parameters?  (Read 14169 times)

gecko

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Newbie UML question: configuration parameters?
« on: June 23, 2011, 05:42:15 pm »
I have a number of Components, whose runtime behaviour depends on configuration parameters. The parameter values are specified in text files, which are read by the components at start-up.

How do i illustrate this in UML?

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: Newbie UML question: configuration parameters?
« Reply #1 on: June 24, 2011, 02:43:02 am »
Do you want to model the configuration file data, the initialization behavior, or both?

gecko

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Newbie UML question: configuration parameters?
« Reply #2 on: June 27, 2011, 04:21:19 pm »
I would like to model - in a Component diagram(?) - the fact that there are configuration files, which are used for initialization of my Components.

(Modeling of configuration file data is not important right now.)

Thanks.
« Last Edit: June 27, 2011, 05:08:15 pm by gecko »

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: Newbie UML question: configuration parameters?
« Reply #3 on: June 29, 2011, 04:01:25 am »
Well, one can show files as artifacts in a deployment diagram.

What we do:
On our statemachine diagrams I make a note that we read initialization files on a transition between two specific states.
We don't show the files directly, but we include descriptions of the data structures in the configuration files as classes (well, in our case we are modeling something that isn't exactly a class, but that's not important here) in the model.

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: Newbie UML question: configuration parameters?
« Reply #4 on: June 29, 2011, 04:04:14 am »
Oh, and the classes that use a configuration have an attribute for that configuration.

gecko

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Newbie UML question: configuration parameters?
« Reply #5 on: June 29, 2011, 04:24:54 pm »
Thanks