uml

is this a flaw?

一曲冷凌霜 提交于 2020-01-06 13:50:51
问题 In Visio I can only alter one side of the relationship. If I want a "1-M" relationship, I have to choose "Identifying", but this automatically makes the FK becomes PK, which doesn't seem right to me. Someone with the same problem said it was a flaw, so there is no way around it in visio? 回答1: Make sure "Required" is checked for the foreign key column(s) in the column list in the child table. If you do that you should see the relationship depicted as: -II--O<-, which I guess is what you want.

Moving in an actor inside system boundary of UML usecase diagram

早过忘川 提交于 2020-01-06 11:25:52
问题 So my question is as follows, is it possible to move an actor inside the system boundary of a use case diagram? Can it be a part of the system. I set a server as an actor, in where a customer interacts with the server in an e-commerce environment. Is it possible or should I move the server inside of the system? Since the server is a part of the system that the customer is interacting with. This server is most likely then going to be used by an admin role. 回答1: TL;DR No, you can't do that,

Generate UML from a conceptual data model

随声附和 提交于 2020-01-06 08:41:46
问题 I have an conceptual data model (Relational model) created using powerAMC for my database but i wanted to generate DAO from it using acceleo and for that i need it in UML , is there a way to generate UML from a conceptual data model model ? 回答1: Acceleo can generate code from any models defined with any EMF based metamodel . The UML project of the Eclipse Foundation defines an UML metamodel based on EMF so that users can create UML models based on EMF and Acceleo can thus generate code from

extends vs include in usecase [duplicate]

♀尐吖头ヾ 提交于 2020-01-06 07:14:55
问题 This question already has answers here : What's is the difference between include and extend in use case diagram? (19 answers) Closed last year . what is the difference between extends and includes in usecase UML? if I hava login usecase and and addGroup usecase, the admin should login to be able to add group , what is the relation here?? 回答1: One means it is done in the context of of another (almost like a function call) and the other means it is done as an alternative as another. Be careful

extends vs include in usecase [duplicate]

女生的网名这么多〃 提交于 2020-01-06 07:14:16
问题 This question already has answers here : What's is the difference between include and extend in use case diagram? (19 answers) Closed last year . what is the difference between extends and includes in usecase UML? if I hava login usecase and and addGroup usecase, the admin should login to be able to add group , what is the relation here?? 回答1: One means it is done in the context of of another (almost like a function call) and the other means it is done as an alternative as another. Be careful

UML Diagram: Reflexive Association with class instance clarification

*爱你&永不变心* 提交于 2020-01-06 06:11:21
问题 I used a plug-in in Eclipse Neon which is called ObjectAid, it's a plug-in that generates a UML Diagram automatically. Now I understand everything in the generated UML except for one thing, which is the label next to the arrow "~class instance". What does that part mean? This is just an identical image, not the real one, of the UML generated so please understand that that's just an example. EDIT: //more codes here static APAGenerator generateAPA = new APAGenerator(); public static void main

UML Diagram: Reflexive Association with class instance clarification

流过昼夜 提交于 2020-01-06 06:10:22
问题 I used a plug-in in Eclipse Neon which is called ObjectAid, it's a plug-in that generates a UML Diagram automatically. Now I understand everything in the generated UML except for one thing, which is the label next to the arrow "~class instance". What does that part mean? This is just an identical image, not the real one, of the UML generated so please understand that that's just an example. EDIT: //more codes here static APAGenerator generateAPA = new APAGenerator(); public static void main

staruml “combined fragment” layout

纵然是瞬间 提交于 2020-01-06 05:36:06
问题 Am facing a bit of trouble getting the 'combined fragment' to sit above an activation (in a sequence diagram). On adding a 'combined fragment' (loop/alt/opt etc) to a section of the sequence diagram, the label and the guard condition appear 'under' the activation block and hence is obscured. Any idea how to fix this? 回答1: Looks like this is 'how it works right now'.. until this is fixed (which I doubt, as the development has been abandoned) I will have to live with this. 来源: https:/

Static List of all Objects of Class

徘徊边缘 提交于 2020-01-06 04:32:12
问题 I wanted to implement a static List for my Class which contains all Objects of the Class like in the following UML approach. Is this the right way to write the UML? There is also a question which uses this UML if you know Kotlin i would be happy if you can help me there too ;) Static List of Objects out Class in Kotlin 回答1: This is almost correct. Instead of List<IMyClass> the regular UML notation is IMyClass[*] . The UML 2.5.1 specification, section 9.5.4 gives the following notation syntax

What is the UML diagram representing for the structure of code?

穿精又带淫゛_ 提交于 2020-01-06 03:16:32
问题 My source code is designed in a MVC structure as follow: project | |-- Model | |- data1, data2, data3, ... | |-- View | |- view1, view2, view3, ... | |-- Controller | |- controller1, controller2, ... | |-- Service | |- webservice, socketservice, ... | |-- Utils | |- customUI, commonLib, XMLHandler, ... | |-- Resources | |- fonts, images, ... | |-- Deployment | |- MSI setup, dependencies, ... | Is there any UML diagram type to represent the above structure? Thanks. 回答1: Site-map diagrams can