database - How to convert composite attribute E/R diagram in UML diagram? -


i have entity person, has attribute "address". attribute address, has attribute "street name" , "zip code".

now, asked make uml diagram, have no clue on how make when have attribute of attribute.

i have already:

person

  • id << pk >>
  • address: string

but should "street name" , "zip code", now? part of "address", how state in uml?

me, schema one:

enter image description here

, after have question model storage, have @ least 2 choices : 2 tables association or embed adress in person table.

, last point how model annotation in uml ... not know official answer. maybe 3 options exist : use comment describe that, define 1 ste


Comments

Popular posts from this blog

php - Permission denied. Laravel linux server -

google bigquery - Delta between query execution time and Java query call to finish -

python - Pandas two dataframes multiplication? -