PDA

View Full Version : How to show partial key in UML ER Diagram notation?



infestor
May 31st, 2010, 03:57 PM
in chen notation (http://www.vnr.co.in/diagrams_files/image005.gif) one can show the partial key (discriminator) as dashed lines, but i couldn't find out how to show this in UML notation?

also under ubuntu which tool do you suggest me to use for UML ER diagrams? (dia doesnt have specific uml er diagram set)

infestor
June 2nd, 2010, 01:06 PM
i guess UML doesnt restrict weak/strong entity concept as chen's notation, so just declaring couple of more PK would be alright; however there is still a <<weak>> keyword that could be used on top of this.

leg
June 2nd, 2010, 01:52 PM
I am not sure what you mean here. Primary/partial key is database terminology isn't it and UML is used to design software systems. However if I have completely got the wrong end of the stick here you can check out Umbrello (http://uml.sourceforge.net/) for producing UML diagrams. I think it relies on KDE libs though so make sure you want to install it all if you don't use them already. Other than that I think DIA has some basic UML diagrams and you could always try Argouml (http://argouml.tigris.org/) or Violet uml editor (http://www.horstmann.com/violet/). Both of those last two are Java programs.

infestor
June 3rd, 2010, 07:33 PM
I am not sure what you mean here. Primary/partial key is database terminology isn't it and UML is used to design software systems. However if I have completely got the wrong end of the stick here you can check out Umbrello (http://uml.sourceforge.net/) for producing UML diagrams. I think it relies on KDE libs though so make sure you want to install it all if you don't use them already. Other than that I think DIA has some basic UML diagrams and you could always try Argouml (http://argouml.tigris.org/) or Violet uml editor (http://www.horstmann.com/violet/). Both of those last two are Java programs.

you can model ER, relational schema using UML