This keyword enables a read-only property of a definition, inherited from the diagram, to be changed (or written to) when the definition is initially created, despite the fact that it is read-only. OVERRIDABLE is only used at the diagram level to specify that a property belonging to a definition representing a symbol drawn on that diagram, can be changed when the symbol is initially created, even though it is read-only.
Example
Diagram "XML"
{
CHAPTER "Diagram"PROPERTY "XML Schema" { EDIT ONEOF "XML Schema" AUTOCREATE RELATE BY "is part of" INITIAL USER REQUIRED
OVERRIDABLE READONLY }
..}
DEFINITION "XML Element"
{
..
PROPERTY "XML Schema" { Key Edit ONEOF "XML Schema" Relate By "is keyed by" Initial User Required Readonly }
..}
In the example above, the XML Element definition inherits its value for the "XML Schema" property from the XML Element symbol it is defining, which in turn inherits the value of its "XML Schema" property from the diagram it is placed on. When you initially place the XML Element symbol down on the diagram workspace, you are enabled to change the value of the "XML Schema" property of the XML Element definition. Once you click OK to close the definition, then reopen it, you will notice that the "XML Schema" property is read-only and can no longer be changed.
Note The keyword is used in the Diagram specification, not the XML Element definition specification.