Dear all,

I already had sent a message where I was asking how to access stereotype 
attributes in Gendoc but I had no answer. I searched on the net and I found 
these two methods:

1) getValue (Element, Stereotype, String: Stereotype attribute)
2) getStereotypeProperty( Element, String: Stereotype , String: Stereotype 
attribute)

I tried both but I had the following problems:
1) getValue works but it generates some meaning less text: 

org.eclipse.emf.ecore.impl.DynamicEObjectImpl@20ba0da6 (eClass: 
org.eclipse.emf.ecore.impl.EClassImpl@1a7f1d26 (name: Analog) 
(instanceClassName: null) (abstract: false, interface: 
false))org.eclipse.emf.ecore.impl.DynamicEObjectImpl@46a59486 (eClass: 
org.eclipse.emf.ecore.impl.EClassImpl@169d0dac (name: Arinc429) 
(instanceClassName: null) (abstract: false, interface: 
false))org.eclipse.emf.ecore.impl.DynamicEObjectImpl@16d61e13 (eClass: 
org.eclipse.emf.ecore.impl.EClassImpl@cc6c96e (name: Discrete) 
(instanceClassName: null) (abstract: false, interface: false))  

--> In my case the attribute I am seeking is a reference to some signals and I 
want to display their names first then  also their applied stereotypes

2) getStereotypeProperty doesn't work at all. I have the following error 
message: 
        "  The execution of a script failed: Error during generation of Gendoc 
script :Cannot find operation (getStereotypeProperty(String, String)) for the 
type (NamedElement) "

I also tried with Element type--> same result:
"   The execution of a script failed: Error during generation of Gendoc script 
:Cannot find operation (getStereotypeProperty(String, String)) for the type 
(Element)"

--> I don't understand why this operation doesn't work since it comes from 
uml2services just like getAppliedStereotypes which works perfectly...

Can somebody please help me? 

A lot of thanks in advance!

Aymenn

The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other than the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.


_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users

Reply via email to