Skip to main content

How to find and remove wrong <<interface>> stereotypes from ports in Rational Rhapsody


Technote (FAQ)


Question

How do you identify and remove wrong <<interface>> stereotypes from ports in IBM Rational Rhapsody?

Cause

You have <<interface>> stereotypes assigned to ports in your Rational Rhapsody project which cannot be otherwise assigned by regular modeling.

Answer

Steps to identify and remove the <<interface>> stereotypes assigned to ports:

  1. Ensure that all the references to this stereotype are read/write
    (Use Ctrl-R to get the references to the Stereotype).

  2. Select the <<interface>> Stereotype in the Browser

  3. Run either of the attached scripts (Visual Basic (VBA) / Javascript).

  4. Delete the Stereotype from the model.

Disclaimer

All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

vba_script.txtvba_script.txtjava_script.txtjava_script.txt

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Rational Rhapsody

General Information


Software version:
7.5.3, 7.5.3.1, 7.5.3.2, 7.6, 7.6.0.1, 7.6.1, 7.6.1.1, 7.6.1.2


Operating system(s):
Windows


Reference #:
1607971


Modified date:
2012-11-20

Translate my page

Content navigation