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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -