Utilities Menu
From Taylor
The Utilities menu has features that will apply various stereotypes to the model or update applied stereotypes.
JPA Utilities
- Cleanup Associations
- For each association, default the mappedBy and cascade properties
- Add Embedded Stereotypes
- Add Temporal Stereotypes
- For each property of type Date, Time, or Timestamp add the stereotype and set the value accordingly.
- Add Enumeration Stereotypes
- For each property with an Enumeration type add the stereotype and set the value to STRING
- Add Index Stereotype to ManyToOne Properties
- Add Join Table Stereotypes
- Switch Inheritance Types
- Switch Id Generators
- Add Table Stereotypes
- Add Column Stereotypes
- Add Attribute Override Stereotypes
- Add Unique/Natural Id Stereotypes
- For each entity the Unique stereotype is added
- For each property named name or code the NaturalId stereotype is added
- For each property that is a many2one association to the parent of one2many association the NaturalId stereotype is added
- The rest must be added manually


