Delphi Conventions

Return to Introduction  Previous page  Next page

Enterprise Architect supports round trip engineering of Delphi, where the following conventions are used.

Stereotypes

Stereotype

Applies to

Corresponds To

struct

Class

A record type.

dispinterface

Class, Interface

A dispatch interface.

constructor

Operation

A constructor.

destructor

Operation

A destructor.

operator

Operation

An operator.

enumeration

Class

An enumerated type.

property get

Operation

A read property.

property set

Operation

A write property.

Tagged Values

Tag

Applies to

Corresponds To

packed

Class

The packed keyword.

property

Class

A property. See Delphi Properties for more information.

overload

Operation

The overload keyword.

reintroduce

Operation

The reintroduce keyword.

override

Operation

The override keyword.

attribute_name

Operation with stereotype property get or property set

The name of the variable behind this property.

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