I have a diagram that contains elements with stereotypes 'LPAR', 'LDOM' and 'x86 VM'. In most cases a node ('LPAR', 'LDOM' or 'x86 VM') has a realization connection to a Logical_Node, which has its own tagged values '01-Runtime Env' and '02-OS'. The realization causes the Logical_Node tagged values ('01-Runtime Env' and '02-OS') to be displayed in the diagram inside the realizing node ('LPAR', 'LDOM' or 'x86 VM'). This display is useful.
I also want to include these inherited tagged values to appear in an exported RTF table, wherein each row specifies the node ('LPAR', 'LDOM' or 'x86 VM') name, its tagged values and the tagged values inherited from the connected (realization) Logical_Node.
My RTF Fragment Element Filter is as follows:
Search In: Element Stereotype
Condition: One of
Look For: 'LPAR', 'LDOM', 'x87 VM'
Required: Yes
I have successfully built a table that displays the following 4 columns for each element with stereotype 'LPAR', 'LDOM' or 'x86 VM'.
{Element.Name}
{Element.valueOf(04-Hostname)}
{Element.valueOf(01-CPU)}
{Element.valueOf(02-Mem)}
In the same table row, I also want to show inherited tagged values from the realization-connected Logical_Node as suggested in the following pseucode
{Element.valueOf(realized.01-Runtime Env)}
{Element.valueOf(realized.02-OS)}
Is this possible with function valueOf(), or do I need to construct a SQL query in order to populate my table?