Réserver une Démo

SVP notez : Cette page d’aide n’est pas pour la dernière version d’Enterprise Architect. La dernière aide peut être trouvée ici.

Pré. Proc.

Stereotype Class

The Stereotype element corresponds to a UML stereotype, which is an extension mechanism for varying the behavior and type of a model element. Use the Repository Stereotypes collection to add new elements and delete existing ones.

Associated table in repository

t_stereotypes

Stereotype Attributes

Attribute

Description

See also

AppliesTo

String

Notes: Read/Write

A reference to the stereotype Base Class; that is, which element it applies to.

MetafileLoadPath

String

Notes: Read/Write

The path to an associated metafile. The Automation Interface does not yet support loading metafiles. To do this you must use the 'Stereotype' tab of the 'UML Types' dialog in Enterprise Architect.

Notes

String

Notes: Read/Write.

Notes about the stereotype.

Name

String

Notes: Read/Write

The stereotype name, which appears in the Stereotype drop list for elements that match the AppliesTo attribute.

ObjectType

ObjectType

Notes: Read only

Distinguishes objects referenced through a Dispatch interface.

ObjectType

StereotypeGUID

String

Notes: Read/Write

A unique identifier for stereotype, generally set and maintained by Enterprise Architect.

Style

String

Notes: Read/Write

An additional style specifier for the stereotype.

VisualType

String

Notes: Read/Write

Indicates an inbuilt visual style associated with a stereotype.

Not currently implemented.

Stereotype Methods

Method

Description

See also

GetLastError()

String

Notes: Returns a string value describing the most recent error that occurred in relation to this object.

Update()

Boolean

Notes: Updates the current stereotype object after modification or appending a new item.

If False is returned, check the 'GetLastError()' function for more information.