English 中文(简体)
原标题:Threads in Class Diagram (UML)
  • 时间:2011-05-04 09:19:38
  •  标签:
  • uml

我们如何展示透镜,并且以UML Diagram语援引其他线索。 这更像工作论坛。 有可能代表尼共(马列)

问题回答

UML is a language with a very structured syntax and semantics. See the UML specification at http://www.omg.org/spec/UML

To answer your question consider that in UML a Thread is an active class. The UML Class meta-class in fact owns a boolean attribute named isActive with the semantics you need. An active class owns a classifier behavior which is the behavior that will be atuomatically executed, for each object, as soon as the class is instantiated. If the behavior is modeled by means of an activity or an interaction in which other active classes are instantiated (Create action) then this is semantically similar to a thread spawning other threads.





相关问题
Understanding UML of DoFactory Design Pattern - Decorator

I am trying to understand UML diagram describing Decorator Pattern at link below http://www.dofactory.com/Patterns/PatternDecorator.aspx I don t understand why there is a "Aggregation" relation ...

UML Code generation tool in C# [closed]

Please suggest me any opensource tool to generate C# code from UML designer,Or any plugin to generate code from visualstudio. My requirement is to have a code generation tool for C#.

How to design/plan for web application development?

I m interested in learning how to design/plan for web application development, in a multiple developer team scenario. Assuming the role of "Project Manager/Lead": What "documents" are needed for ...

Software for Sequence Diagrams? [closed]

I ve been using NClass for object/class modeling in class thus far. However, I do not believe that it is capable of sequence diagrams, which is my next task. I would prefer not to use Visio. Is ...

UML Diagram to Model API

I need to create a diagram to document a RESTFul API that build, which UML diagram should I use? Thanks in advance,

Where could I find some UML samples? [closed]

I need a punch of samples of UML diagrams to get an start point to develop my own diagrams. Does anyone know about a good website where I could find it? Thanks!

热门标签