Update UML metamodel implementation

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