StarUML class diagram: add attribute of the type Guid[]

天大地大妈咪最大 提交于 2019-12-05 11:33:33

StarUML defines arrays a little differently to standard UML. For your specific problem I would use [*] to define the array. The first example below describes this.

Define an array with an undefined number of elements:

-guids: Guid[*]

Define an array with a specific number of elements:

-guids: Guid[16]

Define a base 0 array with an undefined number of elements:

-guids: Guid[0..*]

Define a base 1 array with an undefined number of elements:

-guids: Guid[1..*]

Define a specific base array with a specific number of elements:

-guids: Guid[1..100]
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!