What does character / character mean in UML

I tried to follow the uml diagram at this link http://www.uml-diagrams.org/android-camera-uml-class-diagram-example.html .

In the CameraDemo class, we find "/" after each access specifier, such as +, #, _ for methods such as onStart (), onStop ().

(Example: # / onStart ())

Which means "/".

Thanks at Advance.

+4
source share
1 answer

Attributes /in attributes are used to refer to Derived , but this property does not exist for operations.

, .

(UML v2.5):

9.6.4 , :

[<visibility>] <name> ‘(‘ [<parameter-list>] ‘)’ [‘:’ [<return-type>] [‘[‘ <multiplicity-range> ‘]’] [‘{‘ <oper-property> [‘,’ <oper-property>]* ‘}’]]

:

  • <visibility> - (. 7.4). <visibility> ::= ‘+’ | ‘-‘ | ‘#’ | ‘~’

  • <name> - .

  • <parameter-list> - : <parameter-list> ::= <parameter> [‘,’<parameter>]* <parameter> 9.4.4.

  • <return-type> - . , .

  • <multiplicity-range> - (. 7.5).

  • <oper-property> . <oper-property> ::= ‘redefines’ <oper-name> | ‘query’ | ‘ordered’ | ‘unordered’ | ‘unique’ | ‘nonunique’ | ‘seq’ | ‘sequence’ | <oper-constraint>

Derived /

+3

Source: https://habr.com/ru/post/1606786/


All Articles