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.
Class in class diagram
Generated forms:
-
List all entities with support to add new When list is populated - first row represents link to navigate to edit form.
-
Create/Edit entity Represented as separated screen in application.
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.
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.
In this example User
entity don't have "name
" field, so "username
" field will be displayed when
will be mapped to user controls.