I am trying to customize 'UML Stereotype Properties Report'.
In the Row mapping query for Stereotype Elements, the expression
getElementsWithStereotype(//*, $stereoname) gives all the elements within the model which has Stereotype as stereoname value.
My requirement is to further narrow it so that the query retrieves
all the elements within the model which has Stereotype as stereoname value and with stereotype property x value as some given string. Example Stereotype property of Status as 'Current'
What should the Xpath expression or OCL Query be used for this?
This topic has been locked.
1 reply Latest Post - 2012-12-04T09:51:09Z by SystemAdmin
Pinned topic BIRT Reporting for UML Data Set
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-12-04T09:51:09Z at 2012-12-04T09:51:09Z by SystemAdmin
SystemAdmin 110000D4XK14225 PostsACCEPTED ANSWER
Re: BIRT Reporting for UML Data Set2012-12-04T09:51:09Z in response to SystemAdminHi,
You should look at the Object getStereotypePropertyValue (xpath, property) function.
Something like : getStereotypePropertyValue (., $stereopropname)
It is described in the following infocenter page:
Additional XPath functions for EMF and UML data sets
I hope this will help you.