| Model element | Change | Impact on previously generated code when you rerun the transformation |
|---|---|---|
| Class or interface | Add | File overwrite option of the UML-to-Java transformation determines
whether or not the previously generated Java file is deleted New Java file is created |
| Class or interface | Add implementation or extension | Clauses are rewritten or added |
| Class or interface | Remove implementation or extension | Clauses are rewritten or removed |
| Dependency | Add | Import statement is added |
| Enterprise bean class | Modify class stereotypes:
|
Enterprise bean is regenerated if the target project contains an
enterprise bean with same name and same type Enterprise bean class in the source model is not transformed if the enterprise bean name and type in the target project do not match the model Enterprise bean class in the source model is not transformed if the bean name does not match a bean name in the target project or Java files in the target |
| Enterprise bean class or interface | Add | Enterprise bean class is created |
| Enterprise bean class or interface | Add or remove implementation or extension | Clauses are retained |
| Enterprise bean class or interface | Remove | No change |
| Enterprise bean CMP field | Add | New field is created |
| Enterprise bean CMP field | Delete | Field is retained |
| Enterprise bean CMP field | Rename | Field with the previous name is retained Field with the new name is added |
| Field | Move | Field in the previous location is removed Field is added in the new location |
| Field | Rename | Field with the previous name is removed Field with the new name is added |
| Method | Modify return type | Method return type is updated |
| Method | Modify signature | Method with the previous signature is removed Method with the new signature is added |
| Method | Move | Method in the original location is removed Method is added in the new location |
| Method | Rename | Previously generated method is removed Renamed method is added |
| Nested class or interface | Rename | Previously generated class or interface is removed New class or interface is added |
| Nesting class or interface | Rename | File overwrite option of the UML-to-Java transformation determines
whether or not the previously generated Java file is deleted New Java file is created |