I have used uml2 to import an XMI file which contains a statemachine.
However, I cannot get the guard body. As I watched in debug mode, I can
get the guard's name, even the language, but I cannot get the body.
Can anyone explain this to me? Thanks a lot!
This is the xmi code snippet:
<guard xmi:id="_0QmH-iy_Edu_PcQ4wBPpTQ">
<specification xmi:type="uml:OpaqueExpression"
xmi:id="_0QmH-yy_Edu_PcQ4wBPpTQ" body="time>10" language="java"/>
</guard>