Fixes are available
Rational Software Architect Designer 9.6.0
Rational Software Architect Designer for WebSphere Software 9.6.0
Rational Software Architect Designer Fix Pack 2 (9.5.0.2) for 9.5.0
Rational Software Architect Designer for WebSphere Software Fix Pack 2 (9.5.0.2) for 9.5.0
Rational Software Architect Fix Pack 2 (9.1.2.2) for 9.1.2
Rational Software Architect Designer for WebSphere Software Fix Pack 3 (9.5.0.3) for 9.5.0
Rational Software Architect Designer Fix Pack 3 (9.5.0.3) for 9.5.0
Rational Software Architect Fix Pack 3 (9.1.2.3) for 9.1.2
APAR status
Closed as program error.
Error description
In IBM Rational Software Architect (RSA), if you run a Java-to-UML transformation with Java code that contains literal integers, these literal integers will have a "Properties > Advanced >Type" value that is set to "Boolean" instead of "Integer". The following steps reproduce the problem: 1. Create Java code containing enumerations, enumeration literals, and literal integers with integer values. 2. Create a UML project & UML model 3. Add a Java-to-UML transformation 4. Run the transformation and examine the model Expected Result: The literal integers have "Properties > Advanced > Type" set to "Integer" Actual Result: The literal integers have "Properties > Advanced > Type" set to "Boolean".
Local fix
The workaround is to manually reset the "Properties > Advanced > Type" to "Integer" for each literal integer after each Java-to-UML transformation.
Problem summary
**************************************************************** * USERS AFFECTED: * * - * **************************************************************** * PROBLEM DESCRIPTION: * * When Java to UML transformation is run, the generated slot's * * Literal type was set as UML Primitive type Boolean even for * * the int values. * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
When Java to UML transformation is run, the generated slot's Literal type was set as UML Primitive type Boolean even for the int values. Now, the behavior is adjusted such that literal type will be set to UML Primitive type Integer for int values.
Temporary fix
Comments
APAR Information
APAR number
PI60159
Reported component name
RATL SW ARCHITE
Reported component ID
5725A3000
Reported release
851
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-04-04
Closed date
2016-06-10
Last modified date
2016-06-10
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
RATL SW ARCHITE
Fixed component ID
5725A3000
Applicable component levels
R851 PSY
UP
R900 PSY
UP
R910 PSY
UP
R911 PSY
UP
R912 PSY
UP
R950 PSY
UP
Document Information
Modified date:
16 October 2021