How to access information in Specification of a Element

Hello Everyone,

I would like to know is there any way to access the properties and all the content including the tagged values of a stereotype element in magic draw through Java API.

I have some idea of the OpenAPI classes in Magicdraw through Javadoc 

but i couldn't find any related classes or interfaces that can provide access to the above mentioned


Thank you