Previous | Table of Contents | Next |
StructuralFeature is specialized to add an attribute that determines whether a client may modify its value.
Generalizations
•
“StructuralFeature? on page 80
Attributes
• isReadOnly: Boolean — States whether the feature’s value may be modified by a client. Default is false.
Associations
No additional associations
Constraints
No additional constraints
Semantics
No additional semantics
Notation
A read only structural feature is shown using {readOnly} as part of the notation for the structural feature. A modifiable
structural feature is shown using {unrestricted} as part of the notation for the structural feature. This annotation may be
suppressed, in which case it is not possible to determine its value from the diagram.
Presentation Option
It is possible to only allow suppression of this annotation when isReadOnly=false. In this case it is possible to assume this
value in all cases where {readOnly} is not shown.