R1480¶
Summary¶
An Attribute must be typed by a primitive type.
Details¶
An Attribute should always be typed by a primitive type. The type of an
attribute must be a so-called “primitive” type.
Primitive types are either:
- UML types (Boolean, string, integer, float etc)
- Enumerations
- Classes or DataTypes as long as they are defined as being “primitive”
Tips¶
When you get a R1480 error, choose one of the following solutions:
- If the current type of the attribute is not the expected one in your
design, then consider changing the attribute type for a “primitive” one.
- If it makes sense, consider modifying the typing class or
DataType to make it “primitive” (*).
- If you do not wish to make the typing Class or DataType
primitive, consider replacing the attribute by an association to the non-
primitive typing class or DataType.
(*)To make a class or a DataType “primitive”, simply select it in the model
and set its “primitive” property to true in the element property tab.