I am new to UML. I have found these symbols for showing different access modifiers in UML:
+
is for Public-
is for Private#
is for Protected~
is for InternalBut in the reference that I consulted, there is no symbol for "Protected Internal."
Would the compound symbol #~
be appropriate?
Unfortunately, there isn't a symbol (or combination of symbols) that means "Protected Internal." That is because the internal
keyword is specific to C#, whereas UML was developed as a universal markup language. However, you can come to an agreement for using a particular symbol within your company.
Not a beautiful solution, but you could also (ab)use a stereotype for it which you'd apply to the attributes/methods.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With