UML use a "lollipop" to denote an interface, which can be appended to classes and subsystems.
Lollipop interface is defined using below symbols.
a. ()-
b. ()—
c. -()
Example
MyInterface1 ()- MyClass MyInterface2 ()-- MyClass MyClass -() MyInterface3
lollipopInterface.txt
@startuml class MyClass MyInterface1 ()- MyClass MyInterface2 ()-- MyClass MyClass -() MyInterface3 @enduml
Above snippet generate below diagram.
No comments:
Post a Comment