Class diagram to CRUD UI - donvadicastro/generator-xmi GitHub Wiki

Each class in class diagram is represented as set of user forms to perform all set of CRUD operations.

Example

Class in class diagram

Class diagram

Generated forms:

  1. List all entities with support to add new List diagram When list is populated - first row represents link to navigate to edit form.

  2. Create/Edit entity List diagram Represented as separated screen in application.

How to display references?

Referenced entities are displayed in dropdowns to simplify linking. Example: UserExchange entity has reference to Exchange entity, so while creating new UserExchange entity user will be able to select linked Exchange from dropdown on edit form.

Class reference edit

Reference control (ExchangeRef) by default uses "name" property to display in popup window. If "name" property not exists in entity - uses displayName tag to properly map to property that need to be shown in popup.

Class displayName

In this example User entity don't have "name" field, so "username" field will be displayed when will be mapped to user controls.

⚠️ **GitHub.com Fallback** ⚠️