Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleInformation

While using Rhino JavaScript, the return value of ALH.getValue() is not automatically UnBoxed to a primitive type. Users needs to handle such UnBoxing by themselves, by using ALH.getValue(object, "speed").intValue() to get the value of primitive integer type.


Info
titleInformation

Alternatively, you can use ALH API through the fUML object syntax, with $session$ from predefined variable and object.getTagValue($session$, featureName). For example:

  • value = object.getValue($session$, "speed");