Update UML metamodel implementation

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