Model Analysis: Check Your Model
As an architect, you want your model to be as accurate as possible before starting development. RSA helps you achieve this through two features: UML Model Validation and UML Model Analysis.
Model Validation makes sure your model adheres to UML 2 constraints (see Figure 7). Depending on your needs, you can also disable some of the constraints.
To further check your model, you can use the Model Analysis feature to discover issues with traceability relationships between model elements such as broken trace relationships, circular trace relationships, and implied access violations (see Figure 8).
Transformations: Going from Design to Development
Once your UML model is ready, you can use transformations to translate the model into code. RSA comes with predefined transformations including the following:
- UML to Java
- UML to EJB
- UML to C++
- UML to SOA
- Java to UML
The UML-to-Java transformation in and of itself has many features, including:
- Selecting the Java version (1.4 or 5)
- Reverse engineering (Java to UML)
- Generating getters and setters for attributes
- Selecting which Java collections to use
- Creating relationships between model elements and Java classes
Whenever you update your model, you can re-run the transformation to generate the updates.