Update UML metamodel implementation

Change-Id: I1aeaa9b3f30e3d7a94bb665a0a53f7d6dd52de59
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>