Versions Compared

Key

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

You can use the following API to retrieve a structural feature value
 

Code Block
languagetext
Public static Objectobject getValue(StructuredValue object, String featureName) {
...
}


The following example shows how to get the value of the structural feature indicated above in ALH API.

...

Info
titleInformation

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

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

...