Technote (FAQ)
Question
How do you access Class from an Object in Structure Diagram from an IBM Rational Rhapsody model using a query in IBM Rational Publishing Engine?
Cause
You would like to access Class from an Object in Structure Diagram from a model in Rational Rhapsody by using a query in Rational Publishing Engine.
Answer
To access Class from an Object in Structure Diagram from a model in Rational Rhapsody using a query in Rational Publishing Engine you will need to create a Template that contains:
- A container in Rational Publishing engine Document Studio with query as below:
Query:
Projects/Project/Packages/Package/StructureDiagrams/StructureDiagram/ContainedElements/ModelElement(Object)/OtherClass/Classifier
- The model in Rhapsody with Object in Structure Diagram as below:
Screenshot:
Generating Report using the above query helps in getting the Class from an Object in Structure Diagram.
Rate this page:
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.