Book a Demo

Author Topic: Deployment Diagrams  (Read 2695 times)

NT

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Deployment Diagrams
« on: June 01, 2008, 08:22:21 pm »
I'm a beginner to EA and would like to know if the following is possible or even make sense in UML/EA?

I've created a Device Node (Linux Server) with a nested Execution Environment (Application Server).
On another diagram, I Ctrl drag the Device Node to create an instance. However, I would like a nested instance of the Execution Environment to be shown as well.

Can this be done automatically, or do I have to re-create the child Nodes in the instance diagram manually?

Thanks

Kevin G. Watson

  • EA User
  • **
  • Posts: 217
  • Karma: +0/-0
  • I love EVERYTHING including Microsoft
    • View Profile
Re: Deployment Diagrams
« Reply #1 on: June 03, 2008, 01:56:54 am »
Hi'ya...

Not sure that I've got your concern.  But..
Wouldn't an instance of a device / node be the hardware, surely it's just the Execution Environment that would be meaningful as an instance in a Deployment 'Instance' Diagram.

You probably need an addin to do the transform... ( template, model to model thingie ... like transform to C# Model).

Kevin [smiley=2vrolijk_08.gif]

NCT

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Deployment Diagrams
« Reply #2 on: June 03, 2008, 11:46:00 pm »
Sorry, not the best explanation. Maybe I can explain it better with respect to classes.

Let's say I create two classes, class A and class B. I make class B an aggregate of class A.

Now I create an object diagram and drag an instance of class A and class B onto it. Can EA create a link between the two objects automatically, as suggested by the class model?

Or do I have to create the links my self - referring back to the class model to check consistency.
In other words, can EA enforce or at least check consistency between class relationships and instance relationships.

Thanks.
« Last Edit: June 03, 2008, 11:48:30 pm by NCT »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8087
  • Karma: +118/-20
    • View Profile
Re: Deployment Diagrams
« Reply #3 on: June 04, 2008, 08:00:53 am »
No, EA doesn't automatically create links between instances of elements that have links between them.  The link between the classifiers only means that the objects could be linked.  (Think of a 1 to 1 relationship between classes A and B.  Now create two instances of A and one of B.  What should EA do?)

NT

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Deployment Diagrams
« Reply #4 on: June 04, 2008, 04:11:33 pm »
Yes, I see your point.

My other question is more 'after the fact'.
Once the instance model has been manually completed, is there any way I could potentially (e.g.) run a script or something, to ensure the instance diagram is consistent with the class diagram?

Thanks


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8087
  • Karma: +118/-20
    • View Profile
Re: Deployment Diagrams
« Reply #5 on: June 05, 2008, 08:19:17 am »
You could run a script...  But you'd have to write one first.