[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.mdt.uml2] stereotype's attribute and DynamicEObjectImpl

Hi,

I have created an uml model. One classe C1 have a stereotype S which have attributes. One of the attributes of the stereotype S links C1 to another class C2, so the value of this attribute is like a reference. When I load my model in java this reference become a ?DynamicEObjectImpl ». The problem is that there is nothing in this DynamicEObjectImpl except the metaclass (eclass). I don?t have the attributes of the class C2 and I don?t succeed in getting the class C2 from the DynamicEObjectImpl .

When I print the DynamicEObjectImpl I obtain :

ObjectImpl@1c7faaa (eClass: org.eclipse.emf.ecore.impl.EClassImpl@1466679 (name: SaSharedResource) (instanceClassName: null) (abstract: false, interface: false))

SaSharedresource is the name of my stereotype, not the name of my class C2
Have you any ideas?

Aurélie