Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2019.4)
<> { class Class6 } @enduml PlantUML Language Reference Guide (1.2019.4) 45 / 166 3.18 Namespaces 3 CLASS DIAGRAM You can also define links between packages, like in the following example: @startuml foo2 { } package foo1.foo2.foo3 { class Object } foo1.foo2 +-- foo1.foo2.foo3 @enduml 3.18 Namespaces In packages, the name of a class is the unique identifier of this class. It means that you cannot same name in different packages. In that case, you should use namespaces instead of packages. You can refer to classes from other namespaces by fully qualify them. Classes from the default namespace are 0 码力 | 167 页 | 1.83 MB | 1 年前3Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2019.3)
<> { class Class6 } @enduml PlantUML Language Reference Guide (1.2019.3) 45 / 158 3.18 Namespaces 3 CLASS DIAGRAM You can also define links between packages, like in the following example: @startuml foo2 { } package foo1.foo2.foo3 { class Object } foo1.foo2 +-- foo1.foo2.foo3 @enduml 3.18 Namespaces In packages, the name of a class is the unique identifier of this class. It means that you cannot same name in different packages. In that case, you should use namespaces instead of packages. You can refer to classes from other namespaces by fully qualify them. Classes from the default namespace are 0 码力 | 159 页 | 1.73 MB | 1 年前3使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.1)
package foo6 <> { class Class6 } @enduml PlantUML 语言参考指引 (1.2019.1) 41 / 145 3.18 命名空间(Namespaces) 3 类图 你也可以参考下面的示例来定义包之间的连线: @startuml skinparam packageStyle rectangle package foo1.foo2 { } package foo1.foo2.foo3 { class Object } foo1.foo2 +-- foo1.foo2.foo3 @enduml 3.18 命名空间(Namespaces) In packages, the name of a class is the unique identifier of this class. It means that you cannot same name in different packages. In that case, you should use namespaces instead of packages. You can refer to classes from other namespaces by fully qualify them. Classes from the default namespace are 0 码力 | 146 页 | 1.91 MB | 1 年前3PlantUML 1.2019.1 Language Reference Guide
<> { class Class6 } @enduml PlantUML Language Reference Guide (1.2019.1) 42 / 147 3.18 Namespaces 3 CLASS DIAGRAM You can also define links between packages, like in the following example: @startuml foo2 { } package foo1.foo2.foo3 { class Object } foo1.foo2 +-- foo1.foo2.foo3 @enduml 3.18 Namespaces In packages, the name of a class is the unique identifier of this class. It means that you cannot same name in different packages. In that case, you should use namespaces instead of packages. You can refer to classes from other namespaces by fully qualify them. Classes from the default namespace are 0 码力 | 148 页 | 1.85 MB | 1 年前3PlantUML 1.2019.2 Language Reference Guide
<> { class Class6 } @enduml PlantUML Language Reference Guide (1.2019.2) 46 / 159 3.18 Namespaces 3 CLASS DIAGRAM You can also define links between packages, like in the following example: @startuml foo2 { } package foo1.foo2.foo3 { class Object } foo1.foo2 +-- foo1.foo2.foo3 @enduml 3.18 Namespaces In packages, the name of a class is the unique identifier of this class. It means that you cannot same name in different packages. In that case, you should use namespaces instead of packages. You can refer to classes from other namespaces by fully qualify them. Classes from the default namespace are 0 码力 | 160 页 | 1.73 MB | 1 年前3PlantUML 1.2019.3 语言参考指引
package foo6 <> { class Class6 } @enduml PlantUML 语言参考指引 (1.2019.3) 44 / 156 3.18 命名空间(Namespaces) 3 类图 你也可以参考下面的示例来定义包之间的连线: @startuml skinparam packageStyle rectangle package foo1.foo2 { { } package foo1.foo2.foo3 { class Object } foo1.foo2 +-- foo1.foo2.foo3 @enduml 3.18 命名空间(Namespaces) In packages, the name of a class is the unique identifier of this class. It means that you cannot same name in different packages. In that case, you should use namespaces instead of packages. You can refer to classes from other namespaces by fully qualify them. Classes from the default namespace are 0 码力 | 157 页 | 1.78 MB | 1 年前3PlantUML 1.2019.2 语言参考指引
package foo6 <> { class Class6 } @enduml PlantUML 语言参考指引 (1.2019.2) 44 / 156 3.18 命名空间(Namespaces) 3 类图 你也可以参考下面的示例来定义包之间的连线: @startuml skinparam packageStyle rectangle package foo1.foo2 { { } package foo1.foo2.foo3 { class Object } foo1.foo2 +-- foo1.foo2.foo3 @enduml 3.18 命名空间(Namespaces) In packages, the name of a class is the unique identifier of this class. It means that you cannot same name in different packages. In that case, you should use namespaces instead of packages. You can refer to classes from other namespaces by fully qualify them. Classes from the default namespace are 0 码力 | 157 页 | 1.78 MB | 1 年前3PlantUML 을사용해서 UML 그리기 - PlantUML 언어참조가이드(Version 1.2019.2)
package foo6 <> { class Class6 } @enduml PlantUML 언어참조가이드 (1.2019.2) 44 / 157 3.18 Namespaces 3 클래스다이어그램 You can also define links between packages, like in the following example: @startuml foo2 { } package foo1.foo2.foo3 { class Object } foo1.foo2 +-- foo1.foo2.foo3 @enduml 3.18 Namespaces In packages, the name of a class is the unique identifier of this class. It means that you cannot same name in different packages. In that case, you should use namespaces instead of packages. You can refer to classes from other namespaces by fully qualify them. Classes from the default namespace are 0 码力 | 158 页 | 1.76 MB | 1 年前3Drawing UML with PlantUML - PlantUML Language Reference Guide(Version 1.2019.9)
<> { class Class6 } @enduml PlantUML Language Reference Guide (1.2019.9) 46 / 174 3.18 Namespaces 3 CLASS DIAGRAM You can also define links between packages, like in the following example: @startuml foo2 { } package foo1.foo2.foo3 { class Object } foo1.foo2 +-- foo1.foo2.foo3 @enduml 3.18 Namespaces In packages, the name of a class is the unique identifier of this class. It means that you cannot same name in different packages. In that case, you should use namespaces instead of packages. You can refer to classes from other namespaces by fully qualify them. Classes from the default namespace are 0 码力 | 175 页 | 1.95 MB | 1 年前3使用 PlantUML 绘制 UML - PlantUML 语言参考指引(Version 1.2019.6)
package foo6 <> { class Class6 } @enduml PlantUML 语言参考指引 (1.2019.6) 44 / 173 3.18 命名空间(Namespaces) 3 类图 你也可以参考下面的示例来定义包之间的连线: @startuml skinparam packageStyle rectangle package foo1.foo2 { { } package foo1.foo2.foo3 { class Object } foo1.foo2 +-- foo1.foo2.foo3 @enduml 3.18 命名空间(Namespaces) 在使用包(package)时(区别于命名空间),类名是类的唯一标识。也就意味着,在不同的包(package) 中的类,不能使用相同的类名。 In packages should use namespaces instead of packages.
你可以从其他命名空间,使用全限定名来引用类,默认命名空间(译注:无名的命名空间)下的类,以一 个“." 开头(的类名)来引用(译注:示例中的 BaseClass).You can refer to classes from other namespaces by fully
0 码力 | 174 页 | 1.98 MB | 1 年前3
共 41 条
- 1
- 2
- 3
- 4
- 5