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 

and error message: the error

you can shoehorn in using package database stereotype:

@startuml package somegroup {     class "localstoragehandler" {     }     package localstorage <<database>> {     } } @enduml 

enter image description here

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 

enter image description here


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -