Show "Protected Internal" in UML?

I am new to UML. I found these characters to display various access modifiers in UML:

  • + for public
  • - for private
  • # for Protected
  • ~ for domestic

But in the link I consulted, there is no symbol for "Protected Internal".

Does the compound character #~ match?

+7
design c # uml
source share
2 answers

Unfortunately, there is no symbol (or combination of symbols) that means "Protected Internal". This is because the internal keyword is specific to C #, while UML was developed as a universal markup language. However, you may agree to use a certain character in your company.

+5
source share

Not a pretty solution, but you can also use the (ab) stereotype for it, which you would apply to attributes / methods.

+2
source share

All Articles