class-diagram

E-commerce Domain Model Feedback

故事扮演 提交于 2019-12-11 04:08:47
问题 I've been working on putting together a rough conceptual model of an E-commerce website that basically allows users to resell concert tickets. It's purely conceptual and not something i'm actually making! Anyway I've put together a domain model and I was hoping for some feedback. I've made class model before and modelled databases but found it quite difficult differentiating between them. I've seen the words rich and anaemic thrown around a lot and I believe my model is anaemic. Would simply

Correct use of an association class

廉价感情. 提交于 2019-12-11 03:36:35
问题 I am new to using UML and I am not sure if my diagram is correct. I would like some advice from someone more experienced than me. The statement of my problema says: Students study courses and each student can take several courses "studies" each. Any course can have more than one student studying it. Students, who are identified by a numerical code, have a name, date of birth and one or more nationalities. A student who studies can receive scholarships. A Student can recieve more than one

Pear PHP UML Class Diagrams [closed]

冷暖自知 提交于 2019-12-11 02:36:31
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I am trying to create graphical representations of existing code. I have tried to use VS.PHP (with Visual Studios 2010) but cant seem to generate class diagrams from this. I have tried to use Pear's PHP UML package which has produced a lot of JavaDoc style documentation and an XMI document. From what I have read,

how do i avoid a circular relationship in my class diagram

时光怂恿深爱的人放手 提交于 2019-12-10 18:22:04
问题 Hi I have a question about some circular relationships that I am facing with my database design . I read a few more similar questions but couldn't solve my problem, so here is my class diagram : and here is the logic: A document belongs to a DocumentType ( invoice , order form , ..) a documentField ( date , address , nameClient , ... ) belongs to a documentType ( each documentType has its proper fields the FieldValue is the value of documentfield that will be saved in database it belongs to

UML Design class diagram: Class with another class as attribute?

时光怂恿深爱的人放手 提交于 2019-12-10 17:47:42
问题 I'm having a pretty hard time trying to figure out how to model a certain scenario as a UML design class diagram. Suppose I have the following situation: I have a class named CPoint that has two attributes: x and y (coordinates in a R2 plane). In the other hand, I have a class named CLine that should have two CPoint as attributes. This is pretty straight forward to code (I'll use C++ in my example): class CPoint{ float x; float y; //Constructor, gets and sets here } And for CLine: class CLine

How to show multiplicities in UML object diagrams

旧街凉风 提交于 2019-12-10 04:00:17
问题 I wonder if there is way to create an array of objects in UML? the following is my try using Modelio as a modeling environment but as you can see there is different objects(i.e. instance[0],instance 1],instance[2],instance[3]) 回答1: As you know there are two ways to show UML attributes in class diagrams: attribute text and association notation. Consider an example of a company and employees. Two valid class diagrams are: Now let's try to draw the corresponding object diagrams: If the details

Code Iris plugin on Android Studio

余生长醉 提交于 2019-12-10 01:48:09
问题 I am trying to make code iris plugin work on Android studio. I press right click -> Create Code Iris graph and then I get a notification that my graph is ready. But I do not know when this graph is stored, what is the name of the file created and how to open it. Any ideas? 回答1: Complete Guidance of CODE IRIS Graph Creation:- You have to generate Code Iris by just right clicking on project, and then select "Create Code Iris Graph" , (Check the snapshot below) Now your graph will be created,

How can I prevent property names in class diagrams from being sorted?

徘徊边缘 提交于 2019-12-10 01:10:00
问题 I tend to design my classes with properties sorted in an order that makes sense to me. For example; I always make critical info like 'id' near the beginning, followed by less & less important data, and finally record meta data like 'create date' near the end. But when I add the class to Visual Studio's (2010) class diagram, it sorts the properties alphabetically. Is there anyway to turn this functionality off? Edit (11/05/11): For example, I have the following class public class Email {

Where can I find .NET Framework class diagram?

隐身守侯 提交于 2019-12-09 16:06:04
问题 I just need a file (picture, pdf or other type file for printing) of the framework structure. It is very usefull while learning .Net framework. 回答1: .NET Framework 3.5 Common Namespaces and Types Poster November 2007 Edition The .NET Framework 3.5 Common Namespaces and Types Poster Overview The .NET Framework 3.5 Common Namespaces and Types Poster is downloadable as XPS or PDF format. There is also an XPS format file which prints over 16 letter or A4 pages for easy printing. Some assembly is

Given a folder of Java files, is there an Eclipse plugin to draw UML class diagrams? [closed]

∥☆過路亽.° 提交于 2019-12-09 07:20:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . The title says it all. Please suggest. 回答1: Here are the 2 valid free Eclipse plugins I know about regarding UML class diagrams: ObjectAidUML It uses the UML notation to show a graphical representation of existing code that is as accurate and up-to-date as your text editor, while being very easy to use. The