100 likes | 200 Views
EDIT WP5 Internet Platform for Cybertaxonomy. Data Modelling on UML Basis Gubányi A.-Kiss, V.-Kilián, I. (Hungarian Natural History Museum) Meeting: HNHM Budapest, 7-May-07. Principles of Relational Data Modelling. Entity-Relationship Diagram Normal Forms
E N D
EDIT WP5 Internet Platform for Cybertaxonomy Data Modelling on UML Basis Gubányi A.-Kiss, V.-Kilián, I. (Hungarian Natural History Museum) Meeting: HNHM Budapest, 7-May-07.
Principles of Relational Data Modelling • Entity-Relationship Diagram • Normal Forms • NF1…3: practically eliminating redundant data storage, and determining dependency relationships among data pieces…
UML based data modelling • UML entity model (classes, attributes, associations) • Projecting class model to ER diagram • Projection by hand • Projection by a runtime tool (Java Hybernate)
Principles of projecting Class Model to ER Diagrams • UML Modelling principles: • TransientPersistent classes Scalar types • Attribute types: ONLY transients and scalars • Otherwise: associations, aggregations, compositions • ClassesTables • AttributesFields • Associations • 1..n associations to (nullable) foreign keys • N..m associations to tables
Notes for Claus Riede’s ATBI model • Volume/content/complexity • General technical notes • Description of database scheme is necessary • Enumerations described or stored in tables • Constraints should be set • Concrete notes • support_Experts support_Participants • data_Record.loc_ID: redundant field • data_record.members: