🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
Attribute with class type
This page was created by Lars.olofsson on 2024-07-09. Last edited by Edgar on 2025-08-31.

Why can't I create an attribute with with a Class type?

Because having an attribute with a class type is an object reference, i.e. pointing from one object to another - which is a association.

Therefore it's by design forbidden.

Note: Everyone asks this question during their work with modelling, at some point.