Hey there, is it possible to add an alias for an existing object?
My use case is for a class diagram, if this matters:
class classA <<(C,SomeColor)>> #SomeColor
class classB <<(C,OtherColor)>> #OtherColor
!if (somecondition)
' set alias "c" for classA
!else
' set alias "c" for classB
!endif
c --> something1
c --> something2
So the sense is to use the alias name throughout the uml file. Via switch, the class object behind the alias should be a different one.