Overrideable (property)
For automation interface information about the Overrideable property, see the automation interface topic for a Stereotype or Tag Definition in the Related Topics.
This property specifies how a Stereotype or Tag Definition works in relation to redefinitions of a Role, Attribute or Association:
When a Stereotype or Tag Definition is not overrideable and applied to a Role, Attribute or Association or one of its redefinitions, it means that the Stereotype or a tagged value set for the Tag Definition applies to the Role, Attribute or Association and all its redefinitions.
When a Stereotype or Tag Definition is overrideable, it means that the Stereotype or a tagged value set for the Tag Definition can be applied to a Role, Attribute or Association or one of its redefinitions in isolation.
By default, the Overrideable check box is cleared.
This property is set on the Directly-Stereotyped Options tab of a Stereotype's Property Pages, and the Options tab of a Tag Definition's Property Pages.
This property cannot be changed when the 'Apply to All Objects of Associated Model Item Type' check box is selected on the Options tab.
* 
If you select Overrideable check box, the Overrideable status is applied to all the items the Stereotype or Tag Definition is applied to, including top-level definitions and all redefinitions of those items. If after selecting the Overrideable check box you then clear the Overrideable check box, the non-Overrideable status is applied to all the items the Stereotype or Tag Definition is applied to, but the new status is not applied to top-level definitions and any redefinitions of those items.
The 'Apply to All Objects of Associated Model Item Types' option does not apply a Stereotype's Overrideable behavior to any items.
For Stereotypes
When the Overrideable check box is cleared:
Applying that Stereotype to a Role, Attribute or Association, or any of its virtual or real redefinitions applies that Stereotype to the underlying Role, Attribute or Association and all its redefinitions.
Applying that Stereotype to a virtual redefinition of a Role, Attribute or Association does not create a real redefinition, but instead applies the Stereotype to the underlying Role, Attribute or Association and all its real redefinitions.
When the Overrideable check box is selected:
Applying that Stereotype to a Role, Attribute or Association does not apply that Stereotype to any real redefinitions of that Role, Attribute or Association.
Applying that Stereotype to a real redefinition of a Role, Attribute or Association does not apply that Stereotype to the underlying Role, Attribute or Association, nor does it apply that Stereotype to any real redefinitions of that redefinition.
Applying that Stereotype to a virtual redefinition of a Role, Attribute or Association does not create a real redefinition, but instead applies the Stereotype to the underlying Role, Attribute or Association and its real redefinitions.
Note that new redefinitions inherit Stereotypes from the Role, Attribute or Association or real definition they redefine, irrespective of whether that Stereotype is overrideable or not.
For Tag Definitions
When the Overrideable check box is cleared:
Setting a tagged value for a Role, Attribute or Association, or any of its redefinitions also sets that tagged value for the underlying Role, Attribute or Association and its real redefinitions that have the Tag Definition applied.
Setting a tagged value for a virtual redefinition of a Role, Attribute or Association does not create a real redefinition, but instead sets the tagged value underlying Role, Attribute or Association and its real redefinitions that have the Tag Definition applied.
When the Overrideable check box is selected:
Setting a tagged value of a Role, Attribute or Association does not apply that tagged value to any real redefinitions of that Role, Attribute or Association.
Setting a tagged value of a real redefinition of a Role, Attribute or Association does not apply that tagged value to the underlying Role, Attribute or Association, nor does it apply that tagged value to any real redefinitions of that redefinition.
Setting a tagged value for a virtual redefinition of a Role, Attribute or Association creates a real redefinition, for which the tagged value is set.
The following section provides information about the items and diagrams for which Overrideable is a property. For more information about an item or diagram, click it.
Is property of
Was this helpful?