plantuml - How to add a Class and a Database in UML -
i'm trying create in uml class
called localstoragehandler
handles database
called localstorage
, , i'm getting syntax error. uml code:
@startuml package somegroup { class "localstoragehandler" { } database "localstorage" { } } @enduml
you can shoehorn in using package
database
stereotype:
@startuml package somegroup { class "localstoragehandler" { } package localstorage <<database>> { } } @enduml
alternatively, thomas kilian noted, , stay within uml specifications , have remain class, can of course use arbitrary stereotype on class definition:
@startuml package somegroup { class "localstoragehandler" { } class localstorage <<arbitrarystereotype>> { } } @enduml
Comments
Post a Comment