Hi,
 
I just tried to get the Stereotype of an Association (modeled with Poseidon CE 2.1.1) using following statement:
 
#foreach ( $assocLink in $oneClass.associationLinks )
  #set ($adata = $transform.getAssociationData($assocLink))
    $transform.getStereotype($adata.id)
...
 
but it isn't working so far. The "transform" returns null all the time.
I digged a bit in the code and found that the "getStereotypeNames(Object object)"-method of the "UMLDefaultHelper"-Class needs an instance of "ModelElement" but the DirectionalAssociationEnd isn't... so I am wondering if there a way to get the Stereotype of an Association - Element ?
 
Thanks for your help,
 
Ralf Geiger

Reply via email to