• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

UML and E-R Diargams

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All
Can any one explain the difference b/w uml and E-r diagrams in details.
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
UML is a collection of diagrams for very different purposes.
E-R diagrams are a specific form of diagrams for showing relationsships of data - which is not directly covered by UML, afaik.
 
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ER diagrams are a little like a UML class diagram. You show each entity as a 'box', and draw a 'line' between boxes which are related. You put names inside each 'box' which are called the attributes of the entity/class. If you had to do an ER diagram in a UML model, it would probably be in the class model section.
But the term ER diagram usually means a model for a relational database. So the boxes in an ER diagram correspond to tables in a database, where the boxes in a class diagram correspond to Java classes. The lines in an ER diagram correspond to foreign keys, but the lines in a class diagram correspond to inheritance, or the fact that one class contains a reference to another class.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic