Supported Attributes

Return to Introduction  Previous page  Next page

Supported Stereotype Attributes in UML Profiles

The following attributes can be applied to stereotypes in UML Profiles:

Attribute

Meaning

_sizeX

Initial width of the element, in pixels at 100% zoom.

_sizeY

Initial height of the element, in pixels at 100% zoom.

_image

Shape script definition.

_metatype

Used for defining stereotypes as metatypes.

_strictness

Used for restricting application of multiple stereotypes.

_instanceType

Used for defining behavior on creating an instance.

_instanceMode

Used for defining behavior on creating an instance.

_instanceOwner

Used for defining behavior on creating an instance.

_Bezier

Denotes that the linestyle for a connector is Bezier style. The value of the Tagged Value should be set to 1.

Supported Metatype Attributes in UML Profiles

The following attributes can be applied to metatype classes in UML Profiles, and refer to the stereotypes that extend them:

Attribute

Meaning

_defaultDiagramType

Used for defining child diagram types.

_makeComposite

Used for creating composite elements.

_AttPri

If set to 1, switches on the Attribute Visibility: Private setting.

_AttPro

If set to 1, switches on the Attribute Visibility: Protected setting.

_AttPub

If set to 1, switches on the Attribute Visibility: Public setting.

_AttPkg

If set to 1, switches on the Attribute Visibility: Package setting.

_OpPri

If set to 1, switches on the Operation Visibility: Private setting.

_OpPro

If set to 1, switches on the Operation Visibility: Protected setting.

_OpPub

If set to 1, switches on the Operation Visibility: Public setting.

_OpPkg

If set to 1, switches on the Operation Visibility: Package setting.

_AttInh

If set to 1, switches on the Inherited Features: Show Attributes setting.

_OpInh

If set to 1, switches on the Inherited Features: Show Operations setting.

_Constraint

If set to 1, switches on the Show Element Compartments: Constraints setting.

_ConInh

If set to 1, switches on the Show Element Compartments: Inherited Constraints setting.

_Responsibility

If set to 1, switches on the Show Element Compartments: Responsibilities setting.

_ResInh

If set to 1, switches on the Show Element Compartments: Inherited Responsibilities setting.

_Tag

If set to 1, switches on the Show Element Compartments: Tags setting.

_TagInh

If set to 1, switches on the Show Element Compartments: Inherited Tags setting.

_PType

If set to 1, switches on the Show element type (Port and Part only) setting.

_Runstate

If set to 1, switches on the Hide Object Runstate in current diagram setting.

_HideStype

If set to a comma-separated list of stereotypes, sets the Hide Stereotyped Features filter.