Can interfaces definitions be supported inside class and object?

0 votes
asked Mar 21, 2018 in Bug by boshka (3,940 points)
edited Mar 21, 2018 by boshka

Can interfaces definitions be supported inside class and object?

Such as:

@startuml
class a0 {
-string data
#void testMethod()
circle "Inf a0" as Ia0
}

object a {
-string data
#void testMethod()
circle "Inf a" as Ia
}

Ia0-|>Ia:generalizes
@enduml

Currently this notation gets split rendering:

http://www.plantuml.com/plantuml/uml/ZSyz3i8m3CNnEJc5LHOOAdLcG5qpS8X7OafGIAJOCF1nTpnqOy7Za_u_oRCekjvlnTDwiK24CD7BEpUAzbmNIb0uPyFcqN8YPT4ZwwMbxSx6c7iiJ4EePmi7Wb30vDt7Mz9ELuvA-F7-qbPijKmTtuU0_SALEqf-ilYPQx87lW00



Can interfaces (circles) in this case be rendered inside class and object, like in component diagram?

This would allow to effectively hybrid class diagrams with component diagrams as in example below:
component "a" as a {
       class "b" as b {
            circle "d" as d
       }
}

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...