Enterprise Architect supports round-trip engineering of Visual Basic.Net, where the following conventions are used. Earlier versions of Visual Basic are supported as a different language.
Stereotypes
Stereotype |
Applies to |
Corresponds To |
module |
Class |
A module. |
import |
Operation |
An operation to be imported from another library. |
property |
Operation |
A property possibly containing both read and write code. |
event |
Operation |
An event declaration. |
operator |
Operation |
An operator overload definition. |
Tagged Values
Tag |
Applies to |
Corresponds To |
partial |
Class, Interface |
The Partial keyword. |
shadows |
Class, Interface, Operation |
The Shadows keyword. |
Shared |
Attribute |
The Shared keyword. |
delegate |
Operation |
The Delegate keyword. |
Overloads |
Operation |
The Overloads keyword. |
Overrides |
Operation |
The Overrides keyword. |
NotOverrideable |
Operation |
The NotOverrideable keyword. |
MustOverride |
Operation |
The MustOverride keyword. |
Implements |
Operation |
The implements clause on this operation. |
Handles |
Operation |
The handles clause on this operation. |
Lib |
Operation with stereotype import |
The library this import comes from. |
Alias |
Operation with stereotype import |
The alias for this imported operation. |
Charset |
Operation with stereotype import |
The character set clause for this import. One of the values Ansi, Unicode or Auto. |
attribute_name |
Operation with stereotype property |
The name of the variable behind this property. |
readonly |
Operation with stereotype property |
This property only defining read code. |
writeonly |
Operation with stereotype property |
This property only defining write code. |
Narrowing |
Operation with stereotype operator |
The Narrowing keyword |
Widening |
Operation with stereotype operator |
The Widening keyword |
parameterArray |
Parameter |
A parameter list using the ParamArray keyword. |
Other Conventions
· | Namespaces are generated for each package below a namespace root. |
· | The Is Leaf property of a class corresponds to the NotInheritable keyword. |
· | The Abstract property of a class corresponds to the MustInherit keyword. |
· | The Static property of an attribute or operation corresponds to the Shared keyword. |
· | The Abstract property of an operation corresponds to the MustOverride keyword. |
· | The value of in for the Kind property of a parameter corresponds to the ByVal keyword. |
· | The value of inout or out for the Kind property of a parameter corresponds to the ByRef keyword. |
See Also