Advertisement

05.06.2008 at 02:14AM PDT, ID: 23378837
[x]
Attachment Details

I need your comments on Class Diagram I just did&

Asked by RamyBouchra in OMG UML Programming Language, Modeling Programming Languages

Dear EE
Please find attached image for my first Class Diagram
I did make a class diagram and I am beginner in this subject.
Please advise me with all your comments.
I need to learn more to be better and better.
Thank you
Start Free Trial
Attachments:
 
Class Diagram.jpg
Class Diagram.jpg
 
 
 
[+][-]05.06.2008 at 04:31AM PDT, ID: 21506310

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.06.2008 at 07:39AM PDT, ID: 21507635

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]05.08.2008 at 02:46AM PDT, ID: 21523392

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.08.2008 at 08:46PM PDT, ID: 21530294

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.16.2008 at 11:31AM PDT, ID: 21796174

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: OMG UML Programming Language, Modeling Programming Languages
Sign Up Now!
Solution Provided By: marklorenz
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • Automotive
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Displays / Monitors
  • Handhelds / PDAs
  • Components
  • Peripherals
  • Laptops/Notebooks
  • Servers
  • Misc
  • Apple
  • Embedded Hardware
  • Networking Hardware
  • Storage
  • Desktops
  • New Users
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMware
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Virtualization
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • Web Computing
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Consulting
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMware
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Automation
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Web Services
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Web Computing
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Lounge
  • Business Travel
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
  • Automotive
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
05.06.2008 at 04:31AM PDT, ID: 21506310
please i need your advise
 
05.06.2008 at 07:39AM PDT, ID: 21507635
What is the problem that you are trying to model here?

1..1 does not make sense ... just 1 would suffice

What is the relationship between item and invoice? Branch and Invoice? Sales rep and invoice? Customer and pricelist?

Why cant a customer place more than 1 order?

1 on aggregation does not make much sense.

How can an item have 0 pricelists?
Assisted Solution
 
05.08.2008 at 02:46AM PDT, ID: 21523392
thank you for your reply:
What is the relationship between:
item and invoice?  = invoice have many items in its detail part

Branch and Invoice? = every invoice can have only 1 branch & every branch can have many invoices

Sales rep and invoice? = every invoice can have only 1 Sales rep & every Sales rep can have many invoices

Customer and pricelist? = every Customer can have only 1 PriceList & every PriceList can have many Customer


Why cant a customer place more than 1 order? every invoice can have only 1 customer & every customer can have many invoices

what do you mean by :1 on aggregation does not make much sense.

please advise me what to do.
thank you,
 
05.08.2008 at 08:46PM PDT, ID: 21530294
x..y denotes a range from x to y ... 1..1 does not make sense as it is not a range

The numbers you have written towards the end of associations indicate the number of objects that can be associated. e.g. Your diagram says that each branch is an "aggregation" of 1 invoice.

The diamond shaped ending denotes aggregation ... a filled diamond indicates composition.

Probably you would like to modify your diagram in the light of above guidelines.

Also it would help you if you clearly identify and label each and every relationship ... Even though it might be explicit by representation but it would help you veriy yourself if you have indeed drawn the actual relationship.
Assisted Solution
 
06.16.2008 at 11:31AM PDT, ID: 21796174
(1) start by writing down your requirements.
(2) from your requirements, you can discern the types of objects (classes) and their relationships as well as attributes (like String for a name or double for an amount).
(3) draw these objects, attributes, and relationships.
(4) i prefer to use a sequence diagram to add methods, so do that or just add based on what you think each class is responsible for.  It is arguably most important to place behavior (methods) in the correct classes.  Much as you would not use an alarm clock to transport you to work, you will use the correct classes for your domain's behaviors.

Good luck!  Post more questions after you've done this work.
Accepted Solution
 
 
20080716-EE-VQP-32 / EE_QW_2_20070628