Other described elements
Generation of an attribute
The description of an attribute is used during the generation of a class, an interface, a use case or of an actor. It contains:
· syntax
· tagged values
· "description" notes
The syntax of an attribute allows the generation of:
· the visibility (public, protected, private)
· the "class" keyword if the operation is "class"
· the "const", "unsigned", "short" keywords according to the tagged values that annotate the attribute
· the size if the attribute is a set
· the name of the class that types the attribute (if the class is a class modeled in Objecteering, a hypertext link towards the file which describes this class is inserted)
· the attribute name
· the default value

Figure 34. Example of generating an attribute