RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX


Rational Software Architect: Design and Development in One Tool : Page 3

A software architect explains what makes IBM Rational Software Architect a powerful IDE for his challenging job.

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.

Click to enlarge

Figure 7. Model Validation 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).

Click to enlarge

Figure 8. Model Analysis Rules

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.

Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date