Topic
  • 1 reply
  • Latest Post - ‏2012-12-04T09:51:09Z by SystemAdmin
SystemAdmin
SystemAdmin
14225 Posts

Pinned topic BIRT Reporting for UML Data Set

‏2012-12-04T06:35:53Z |
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?
Updated on 2012-12-04T09:51:09Z at 2012-12-04T09:51:09Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    14225 Posts

    Re: BIRT Reporting for UML Data Set

    ‏2012-12-04T09:51:09Z  
    Hi,

    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.
    Regards,
    Francois Panaget