Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Aphorismen
Applications
Business Economics & Admin.
My Computers
Cooking
Devices
Folders
Food
Hardware
Infos
Software Development
Sports
Operation Instructions
Todos
Test
Help
Glossary
Community portal
adaptions
Sidebar anpassen
Wiki RB4
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
UML
(section)
Page
Discussion
English
Read
Edit
View history
Toolbox
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Class=== [[Image:UMLClass.jpg]] Die Modelelemente interface, datatype, signal, component, node, use case and subsystem werden in der UML mit dem Begriff classifiers zusammengefasst. The <classname> can be a simple name or a path name which is the simple name prefixed by the package seperated by a dot in which the class lives. <Responsibilities> are just free text. The <stereotype> is explained in chapter 3.6. The icon can replace the whole rectangle. If the value of the <multiplicity> specifier is 1 than the class is called a singleton. The attributes and operation compartments can be suppressed. Drawing an empty compartment states that there are no entries in this compartment. Usually the <classname> is in bold letters but this has no semantically meaning. The tagged value (property list) is explained in chapter 3.7 and contains properties specific to the language, to the generated code or to the documentation. The order of the attributes is meaningful. Visibility should be used very late because different programming languages implement different visibility properties: *'''+''' public *'''-''' private *'''<nowiki>#</nowiki>''' protected *'''~''' package A tagged value for an attribute might be {changeable}, {addOnly} and {frozen}. frozen means const, changeable is so to say normal and addOnly is for attributes with a multiplicity greater than one. A tagged value for an operation might be {leaf} which signals that this operation may not be overriden by a child. Others are {isQuery}, {sequential}, {guarded} and {concurrent}. The UML distinguishes between operation and method. An operation specifies a service that can be requested from any object of the class; a method is an implementation of an operation. The direction for an operation parameter might be in, out and inout. An active class is a class whose instances are active objects. An interface is a collection of operations that are used to specify a service of a class or component . An interface can also be rendered as a stereotyped class. A type is a stereotype of a class used to specify a domain of objects, together with the operations applicable to the object . Parameterized Classes are drawn as follows:<br> [[Image:UMLParameterizedClass.jpg]]
Summary:
Please note that all contributions to Wiki RB4 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Uwe Heuer Wiki New:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width