IBM Support

PI36444: elem.getOfMetaClass(); function does not retrieve the applied to information of specific sysml stereotypes.

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error description

  • Abstract:
    elem.getOfMetaClass(); function does not retrieve the applied to
    information of specific sysml stereotypes.
    
    Error Description:
    IRPModelElement elem = rpy.getSelectedElement();
    if( elem instanceof IRPStereotype)
    {
     IRPStereotype stereo = (IRPStereotype) elem;
     String appliedFor =((IRPStereotype) elem).getOfMetaClass();
     System.out.println(appliedFor);
    }
    
    This works for the stereotypes and sysml stereotypes as well
    except few like : FlowProperty, FlowSpecification ,
    ConstraintParameter, interfaceBlock
    
    Local Fix:
    none
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of version 811                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * elem.getOfMetaClass() function does not retrieve the         *
    * "Applied to" information of specific SysML stereotypes.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI36444

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    811

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-05

  • Closed date

    2015-06-26

  • Last modified date

    2015-06-26

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R813 PSY

       UP



Document information

More support for: Rational Rhapsody

Software version: 8.1.1

Reference #: PI36444

Modified date: 26 June 2015