PM79191: IsStatic classes in Rhapsody in Ada not working

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Animation of sequence diagrams in Ada only appears to work with
    Classes that are Objects in
    the classic UML sense.
    
    Example, we can animate
    a Timer and Display objects communicating via a sequence
    diagram. The
    Display object is created as a Part instance of a
    Builder class. In a conventional Ada 95 or 05 project, however,
    not all
    Ada packages will be Classes and have instance attributes, only
    some.
    If one changes the design of the Display class to a more
    classic Ada design, using a stereotype to convey the IsStatic
    property
    setting. Calls to the Display class are no
    longer animated on the sequence diagram (and the existence of a
    Design
    object is not recognized by Rhapsody). The issue comes from the
    fact
    that the static class has not been notified to animation
    framework. In order
    to do this you should call initialize operation of display
    class. This
    is not done automatically. The workaround consist in creating a
    
    constructor in timer class which will call display.initialize.
    This
    should be done automatically when Animation is enabled.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In sequence diagrams, animation does not work correctly for
    Ada_CG::Class::IsStatic classes.
    

Problem conclusion

  • Fixed in version 8.0.3. If you are using an older version of
    Rational Rhapsody, you can select the static classes on the
    Initialization tab of the Features window for the
    configuration.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM79191

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-14

  • Closed date

    2013-06-20

  • Last modified date

    2013-06-20

  • 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

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R800 PSN

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Rhapsody

Software version:

800

Reference #:

PM79191

Modified date:

2013-06-20

Translate my page

Machine Translation

Content navigation