‎20-11-2017 12:06 PM - edited ‎20-11-2017 01:49 PM
Hello,
I've been using the Java API a lot and it went ok for every kind of object I was reading until now, I'm trying to get the stereotype of an object (let's say a Dependency has a stereotype called Lambda)
I wrote the same code I usually use in those cases :
MegaCollection stereotypes = dependency.getCollection(Dependency.MAE_Stereotype);
When I check for the collection size (stereotypes.size()), then I get the correct amount which is 1.
However, I cannot find a way to get the name of this stereotype, as there is no Stereotype class in my mega vocabulary to get the field id from
Even the stereotypes.get(0).megaField() seems to fail, returning ~000000000000[<Empty Object>]
How can I get the stereotype name of my dependency ?
Sincerely,
William