uml

What does the dot mean at the end of an association?

情到浓时终转凉″ 提交于 2019-12-10 15:33:26
问题 I reversed some Java code to get a uml class diagram using Visual Paradigm. The diagram shows some associations with little black circles on one end, which I never saw before. Image It's definitely not a composition and not a containment! Can anybody explain to me, what kind of association this is? Here's the related code: public class DataAdapter extends RecyclerView.Adapter<DataAdapter.ViewHolder> { public static final String TAG = DataAdapter.class.getSimpleName(); private static Context

Does UML have an XSD for it's XMI?

微笑、不失礼 提交于 2019-12-10 15:28:53
问题 Is there a XSD for UML XMI files? The header just contains namespace references. <xmi:XMI xmi:version="2.1" xmlns:uml="http://schema.omg.org/spec/UML/2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:thecustomprofile="http://www.sparxsystems.com/profiles/thecustomprofile/1.0"> The only file I've managed to track down is this http://www.omg.org/spec/XMI/20131001/XMI.xsd however this is just description of the XMI itself (Difference/Documentation), but not the UML. That means that I

Representation of Actor that is primary and secondary

做~自己de王妃 提交于 2019-12-10 15:26:59
问题 how can we represent an actor that his type primary and secondary in the same time. example an actor who will launch the application and he will attend for a result how can i REPRESENT that ? 回答1: The difference between a primary actor and the secondary actor is that the first one has a goal with the use case and the second one is needed to accomplish that, but the second actor does not have a goal within the use case. Therefor are those definitions mutually exclusive and can a primary actor

required interface vs interface realization vs <<use>> dependency

≡放荡痞女 提交于 2019-12-10 15:14:55
问题 As the title suggest what is the difference between the three and when should one use one of the three instead of the other two? The internet is filled with their definition but i couldn't find any text or explanation on when and where to use required interface or the <<use>> dependency. 回答1: There are only two cases in fact: realize/use on the one hand, and provided/required on the other. They essentially describe the same thing, but with different emphasis. With realize/use you draw visible

Associations' traversal direction

南楼画角 提交于 2019-12-10 14:55:44
问题 I'm reading the book on Domain Driven Design of Eric Evans - Chapter 5 , concerning associations . One of his advices to reduce complexity of a model is to impose a traversal direction for the associations. I quote: It is important to constrain relationships as much as possible. A bidirectional association means that both objects can be understood only together. When application requirements do not call for traversal in both directions, adding a traversal direction reduces interdependence and

Can a use case be without an actor?

让人想犯罪 __ 提交于 2019-12-10 13:35:29
问题 I am working on a use case diagram of a fully automated system. An external system will trigger just one use case of this system. Most of the other use cases are scheduled tasks and invoked by the timer. I have a use case that is invoked by the timer and it includes and extends two other use cases. When I write the use case discriptions, who will be the actor for UC-2 and UC-3. Can a use case exists without an actor? I have seen lot of use case diagrams which has included or extended use

UML tool for php

烂漫一生 提交于 2019-12-10 11:55:47
问题 Can anyone suggest UML tool for php i.e if i import a file then it will produce its UML Duplicate: PHP UML Generator 回答1: Same as PHP UML Generator ? Also have a look at: http://www.gammelsaeter.com/blog/php-to-uml/ 回答2: Check out BOUML, it supports PHP as well. It can importing and exporting PHP source code, and creating UMLs. It also supports PHP5.3. 回答3: DIA for PHP (Software) DIA is free. It will generate basic php file structure from your UML diagram with phpDocs documentation blocks in

“Action State” vs “State” in UML Activity diagram

和自甴很熟 提交于 2019-12-10 11:23:20
问题 I'm a newbie with UML and Microsoft Visio. Today, I have a homework which I need to draw an activity diagram in an UML project. My team use Visio 2003 to draw these diagrams. When I open Visio and seek for Activity Diagram I see both Action State and State icon in the left panel, I'm very confused with the difference between them, then I post this question. Sorry for my bad English 回答1: From the UML 1.4.2 specification (section 4.13.2.1): An action state represents the execution of an atomic

Automatically Create UML diagrams from Visual Studio 2008

允我心安 提交于 2019-12-10 10:59:19
问题 Is there any tool\Software that make automatically UML diagrams from an existing visual studio 2008 project (C#). (Tools work with Visual Studio 2010 also appreciated.) *UML Diagrams may be all types eg, object, class, domain, collaboration, componant, state, deployment etc and test cases etc I currently used .net framework 3.5. I have Visual studio 2008 professional. Thanks in advance. 回答1: In Visual Studio, you can create a Class Diagram model, which gets you started in the direction of a

How to categorized the UML diagrams based on priorities/ levels?

时间秒杀一切 提交于 2019-12-10 10:57:33
问题 I am new to UML. I have studied more tutorials.I learned two broad categories like, UML Diagrams: 1. Structural Diagrams Class diagram Object diagram Component diagram Deployment diagram 2. Behavioral Diagrams Use case diagram Sequence diagram Collaboration diagram Statechart diagram Activity diagram But I dont know which one is high level design and low design. Anyone list out the UML diagram types based on priorities. (high-level diagrams to low level) 回答1: There is not really a well