Delphi Conventions |
Enterprise Architect supports round trip engineering of Delphi, where the following conventions are used.
Stereotypes
Stereotype |
Applies to |
Corresponds To |
constructor |
Operation |
A constructor. |
destructor |
Operation |
A destructor. |
dispinterface |
Class, Interface |
A dispatch interface. |
enumeration |
Class |
An enumerated type. |
operator |
Operation |
An operator. |
property get |
Operation |
A read property. |
property set |
Operation |
A write property. |
struct |
Class |
A record type. |
Tagged Values
Tag |
Applies to |
Corresponds To |
attribute_name |
Operation with stereotype property get or property set |
The name of the variable behind this property. |
overload |
Operation |
The overload keyword. |
override |
Operation |
The override keyword. |
packed |
Class |
The packed keyword. |
property |
Class |
A property. See Delphi Properties for more information. |
reintroduce |
Operation |
The reintroduce keyword. |
Other Conventions
- The Static property of an attribute or operation corresponds to the class keyword
- The Fixed property of a parameter corresponds to the const keyword
- The value of inout for the Kind property of a parameter corresponds to the Var keyword
- The value of out for the Kind property of a parameter corresponds to the Out keyword.
See Also
