Appendix G. Poseidon SQL DDL Code Generation Plug-In Guide

Table of Contents
G.1. Modeling Element Rules
G.1.1. Classes
G.1.2. Attributes
G.1.3. Association Ends
G.2. Tagged Values
G.3. Additional Stereotypes

G.1. Modeling Element Rules

G.1.1. Classes

  • Uses the standard UML 'Class'

  • Each class is considered as a table.

G.1.2. Attributes

  • Describes the columns in table. Each attribute can have stereotypes that will be treated as column constraints.

G.1.3. Association Ends

  • Describes the relationships between tables. Foreign keys will be automatically generated in tables that have references to other tables.