uml

Difference between instances and roles in UML

佐手、 提交于 2019-12-12 04:18:19
问题 What are differences between instance and role in terms of UML (class diagram, object diagram, sequence diagram) ? 回答1: Roles (e.g., in a composite structure diagram) are another representation of properties shown in a class diagram. On the composite structure diagram one can show a particular configuration of which subtype is used for each property. A role name and type is not underlined. In contrast, an instance specification represents a partial or complete instance. On a class diagram, an

Papyrus install on Eclipse Helios (3.6)

[亡魂溺海] 提交于 2019-12-12 04:17:54
问题 I have just downloaded the latest Eclipse Java EE Helios 3.6.2. When I attempt to install Papyrus using the Eclipse Marketplace through Yoxos, I get the following dependency error: Cannot complete the install because of a conflicting dependency. Software being installed: Papyrus UML Modeler 1.12.3.200912231359 (com.cea.papyrus.feature.feature.group 1.12.3.200912231359) Software currently installed: Eclipse IDE for Java EE Developers 1.3.2.20110218-0812 (epp.package.jee 1.3.2.20110218-0812)

Which UML diagrams may I need to conceptualize background desktop apps?

為{幸葍}努か 提交于 2019-12-12 04:09:52
问题 I'm trying to develop a web-app and some desktop apps, all of these apps communicates via database or socket tcp. These desktop apps are running in background so, there is no use cases and the web-app is only used by remote users. And, these desktop apps communicates with the web-app via the DB and vis versa. Which UML diagrams may help me to conceptualize the work of the desktop apps, please? I've tried to conceptualize this thing using the deploiement diagram, but, I think that it's

1 to many relationship in OOP PHP in code?

耗尽温柔 提交于 2019-12-12 03:57:09
问题 This is the class diagram implemented, but what would a 1-to-many relationship look like in code? This is a text please stackoverflow accept my question class Customer { public $name; public $location; public function sendOrder(){ //method here } public function receiveOrder(){ //method here } } class Order { public $date; public $number; public function sendOrder(){ //method here } public function receiveOrder(){ //method here } } class SpecialOrder Extends Order{ public function dispatch(){

is UML class diagram necessary to design the UI?

老子叫甜甜 提交于 2019-12-12 03:06:27
问题 I am trying to design a UI based on Use cases, activity diagrams and sequence diagrams. is it necessary to design the Class diagrams for the UI design? 回答1: No diagrams are needed to write the code, but it would make the life hell for a 3rd person to understand the application and work on it. As famous English proverb, images are better than 1000 words. UML diagrams are one of the easy and standard ways to document the application architecture. If you are building the application for your own

Class Diagram - How to describe a graph datatype?

99封情书 提交于 2019-12-12 02:18:24
问题 How do I represent a graph data-type in a class diagram Class Diagram: http://www.uml-diagrams.org/class-diagrams.html Do I have to specify how graph data-type is implemented? Or is there a symbol to denote a graph? 回答1: UML itself includes diagrams that are graphs (state machine diagrams, activity diagrams) but will not provide what you are expecting. UML is originally conceived for object-oriented programming, not programming in general. It will allow you to represent object-oriented

Use case diagram about System Hotel

喜夏-厌秋 提交于 2019-12-12 02:09:33
问题 I would like to show use case diagram me.What is correct use case diagram me about system hotel? http://i.stack.imgur.com/KPsZU.png Note : - outside of system boundary is comment, Not use case sorry don't have reputation 10. Don't show image this. 回答1: After a short review I would say that your use cases don't seem to be cut the right way. You are using <<include>> and <<extend>> in order to perform a functional analysis. This is not what use cases are all about. Each use case must show a

how to represent “sub-sequences” in uml sequence diagrams?

拟墨画扇 提交于 2019-12-12 02:09:09
问题 In activity diagrams, you can have a top level activity diagram that contains a sub-activity diagram. This is useful where the sub-activity contains lots of details that you don't want to show in the top level activity diagram. Is a similar concept available for sequence diagrams? Basically, I have a sequence diagram where I want to hide some of the details in the diagram by moving those details to another sequence diagram. 回答1: This can be achieved by using a <<ref>> fragment in your

Having graphs in main page of doxygen

旧城冷巷雨未停 提交于 2019-12-12 01:27:19
问题 I have used the following code to have a graph in main page of doxygen /*! \mainpage \dot digraph example{ node[shape=record, fontname=Helvetica, fontsize=10]; b [label="class cell_deinterleaver" URL= "\ref Cell_deinterleaver" ]; c [label="class freq_deinterleaver" URL= "\ref freq_deinterleaver" ]; b -> c [arrowhead= "open", style = "dashed"]; } \endot */ But I get the following message "reached end of file while inside a dot block! The command that should end the block seems to be missing!"

Examples of domain models that most people don't understand. Usage: create requirements

蹲街弑〆低调 提交于 2019-12-12 01:04:59
问题 I'm looking for domain models in which most people don't know or understand very good. I have chosen one domain, health insurance policy, and I'm making requirements (user stories) for that domain. Later I will do some testing with users to investigate domain understanding. This is an perfect example, and I'm looking for more of these: http://www.uml-diagrams.org/examples/health-insurance-policy-domain-diagram-example.html Since I have limited knowledge with the domains as well, I find the