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
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!
==Introduction== The purpose of the UML is the visualization, specification, construction and documentation of object-oriented systems. Specification means precise, unambiguitous and complete. The UML is process independent, although optimally it should be used in a process that is use case driven, architecture-centric, iterative and incremental. ===History=== [[File:OO-historie-2.svg.png|UML History]] ==Rational Unified Process== Zu Beginn war der Entwicklungsprozess aus der UML ausgeklammert. Der 'Rational Unified Process' (RUP) soll diese LĂźcke schliessen. Der Rational Unified Process kombiniert Werkzeuge mit der passenden Methodik fĂźr eine erfolgreiche Softwareentwicklung. Dazu wurden bewährte Praktiken aus mehreren Bereichen der Softwareentwicklung vereint. Dazu zählen: #Geschäftsprozessmodellierung #Anforderungsmanagment #komponentenbasierte Entwicklung #Daten-Engineering #Konfigurations- und Ănderungsmanagment #Test und Qualitätssicherung RUP soll den vorher bekannten Rational Objectory Process ablĂśsen. ==Modelling elements== ===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]] ==Diagrams== ===Sequence Diagrams=== The sequence diagram is used primarily to show the interactions between objects in the sequential order that those interactions occur. ====Kritik==== Eine Codegenerierung ist schwer vorstellbar, die Syntax ist sehr beschränkt. Es gibt Ansätze Schleifen und Bedingungen grafisch darzustellen, dann wird das Diagramm sehr komplex. Auch Ăbergabeparameter von Methoden, insbesondere aber Returnwerte lassen sich schwer darstellen. Ein weiteres Problem ist die Granularität, diese ist in einer Programmiersprache wie Java sehr viel hĂśher, vor allem bezogen auf die Anzahl Anweisungen und auf das, was innerhalb einer Klasse nach einem Methodenaufruf passiert. AuĂerdem werden die Diagramme sehr breit. Der Sinn des Aktivitätsbalken ist auch nicht ganz klar. ====Specific Elements==== Die Darstellung der unterschiedlichen Elemente ist offensichtlich nicht fest definiert, daher findet man häufig unterschiedliche Notationen z.B. fĂźr synchrone oder asynchrone Messages. =====Lifeline===== [[Image:UMLLifeline.jpg]] =====Synchronous Message===== [[Image:UMLSynchronousMessage.jpg]] =====Asynchronous Message===== [[Image:UMLAsynchronousMessage.jpg]] =====Return Message===== [[Image:UMLReturnMessage.jpg]] ===Deployment Diagram=== [[File:Deployment.jpg]] ==Sources== * file://C:\Uwes\Documents\Software_Development\Modeling\UML\Uml.vsd * file://C:\Uwes\Documents\Software_Development\Modeling\UML\uml-2-Notationsuebersicht-oose.de.pdf
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