此处示例:
Public Class myclass
Private one As Integer
Public Property myproperty() As myproperty
Get
Return one
End Get
Set(ByVal value As myproperty)
one= value
End Set
End Property
End Class
我理解myclass是类,一个是属性,但myproperty怎么样?
答案 0 :(得分:1)
我会说'one'只是一个实现细节,不应该出现在UML中。你只需要一个UML类'myclass'和一个UML属性(你命名的属性)'myproperty'。