Enterprise Architect supports round trip engineering of ActionScript 2 and 3, where the following conventions are used.
Stereotypes
Stereotype |
Applies to |
Corresponds To |
property get |
Operation |
A read property. |
property set |
Operation |
A write property. |
literal |
Operation |
A literal method referred to by a variable. |
Tagged Values
Tag |
Applies to |
Corresponds To |
dynamic |
Class or Interface |
The dynamic keyword. |
intrinsic |
ActionScript 2: Class |
The intrinsic keyword |
attribute_name |
Operation with stereotype property get or property set |
The name of the variable behind this property. |
namespace |
ActionScript 3: Class, Interface, Attribute, Operation |
The namespace of the current element. |
prototype |
ActionScript 3: Attribute |
The prototype keyword. |
final |
ActionScript 3: Operation |
The final keyword. |
override |
ActionScript 3: Operation |
The override keyword. |
rest |
ActionScript 3: Parameter |
The rest parameter (...) |
Common Conventions
· | Package qualifiers (ActionScript 2) and Packages (ActionScript 3) are generated when the current package is not a namespace root |
· | An unspecified type is modeled as var or an empty Type field. |
Actionscript 3 Conventions
· | The Is Leaf property of a class corresponds to the sealed keyword |
· | If a namespace tag is specified it overrides the Scope that is specified. |
See Also