Categories
  Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

UML

From Wikiversity - Reading time: 5 min

UML is an acronym for the Unified Modeling Language. This resource is an effort to produce a Wikiversity reference card for Object Oriented Software Design. It is shared initially by learning groups Software Engineering and Object-Oriented Programming, but may find other abstract paths that may help tie Computer Science to Linguistics.

UML diagram of IEEE1484.12.1 Learning Object Metadata (LOM) base schema.

Prerequisites

[edit | edit source]

Learners of UML do not have to be Computer Scientists but a cursory knowledge of the topic is helpful.

Recommended:

Concepts

[edit | edit source]

The Unified Modeling Language (UML) is a specification language for object modeling. It is used to create an abstract model of a complex system, (UML model) in forms that are easier to visualize by Human developers and users of that system. For Wikiversity purposes, we shall approach UML from several perspectives:

The terminology

[edit | edit source]

Terms are important. Usually, the Glossary appears at the end of the book, but this is a set of keywords that you might as well have a glance at. UML and the OMG that came up with it thrives on what is affectionately known as pedantic verbosity and here's a taste:

Our own UML/Glossary is under construction. Consider that an assignment if you like.

A local use case

[edit | edit source]

In terms of applied computer science, we have actually begun a trek into the "learn by doing" model that was here at the opening of this version of Wikiversity (English). This is the hard-to-handle Complex of a multilingual virtual university with a myriad of problems and processes that need, sometimes desperately, to be mapped into a unified whole. UML was created by the Object Oriented Software Design Community to handle such monstrous complexities. But before we can delve into the specifics of our exemplary model, we'll have to look at what the UML is and how it resolves issues.

Some Globals

[edit | edit source]

The U in UML, represents logical unity in what we hope is the purest predicate form – what we want to dounify. This logical unity must be deeply rooted in Meaning, and that meaning must be shared to become useful...

Subject and Predicate Unions are Universally understood (we hope) to be the Primary Objects when specifying, classifying, describing and illustrating our complex system from the general to the specific. UML uses some conventions at a very specific low-level – text — to describe some very general high-level Notions that the userbase accepts a a priori or pre-existing. These notions may be known sometimes only intuitively, but manifest expressly as a need for something that does not yet exist::: UML was collaboratively formed for this purpose: To find the permanent solution to an Age-old problem... any problem

A few conventions

[edit | edit source]

The boxes, circles, arrows, and stick men we'll get into below are meaningless without their associated text. This text must exist as unary objects (atomic in nature; succint; precise; unambiguous; whole; ...) ...complete thoughts or sentences in terms of computational linguistics. Nouns are generally capitalized; Verbs are generally italicized. Objects are generally bolded. Subjects are generally Humanpersonal. (Please notice the term generally — terms are nearly always uncapitalized bold text.

Note:When you see a paragraph that ends in an elipsis, stay tuned...

A bit of History

[edit | edit source]

The SDL or Specification and Design Language was the precursor to UML. It evolved believe-it-or-not from a 150-year-old culture that began in the genesis of the telegraph days through the steam age into the telephone, teletype, telecommunications era and keeps on evolving...

To put this into scope, the notion of the electronic community in a raw and primative state must be imagined (since they're all deceased we presume). What the telephone and telegraph operators left us was a set of primitives that allowed us to represent wires, switches, keys, transformers, oscillators, amplifiers, components, integrators, codes, protocols, networks, banks of switches, facsimilies, ...bars of gold and even human souls as ...boxes, circles, arrows, and stick men.

Diagramatics and Visualization

[edit | edit source]

UML uses diagrams to describe and visualize systems and models. As of UML 2.0, there are 13 basic diagrams:

  1. Class diagram
  2. Component diagram
  3. Composite structure diagram
  4. Deployment diagram
  5. Object diagram
  6. Package diagram
  7. Activity diagram
  8. State Machine diagram (a.k.a. State Chart)
  9. Use case diagram
  10. Collaboration (UML 1.x) or Communication diagram (UML 2.0)
  11. Interaction overview diagram (UML 2.0)
  12. Sequence diagram
  13. UML Timing Diagram

In time, we hope to produce some interesting diagrams here. For now, see the ones listed in the Wikipedia article.

As for our local use case, here you go:

local use case

Vector: UML -> next -> next -> next -> next -> next -> next

Visualizing the complex

[edit | edit source]

UML tools

[edit | edit source]

UML tools (open source or free):

  • Acceleo [1]Eclipse and EMF template-based system for source-code generation from UML models.
  • ArgoUML [2]– a Java-based UML engineering tool.
  • ATL - a QVT-tool allowing to transform (among others) UML models into other models, including UML, Java, etc. ATL provides a complete open-source solution. Available from the Eclipse GMT project (Generative Modeling Tools).
  • BOUML – under GPL, written in C++/Qt
  • Dia – a GTK+/GNOME diagramming tool that also supports UML (licensed under the GNU GPL)
  • DOME - The DOmain Modeling Environment, written in Smalltalk.
  • Eclipse – with Eclipse Modeling Framework (EMF) and UML 2.0 (meta model without GUI) projects.
  • Fujaba – UML and Java development platform; Eclipse version available.
  • Gaphor [3] – a GTK+/GNOME UML 2.0 modeling environment written in Python.
  • GenMyModel Online UML modeler – cloud-based, UML 2.0 with code generators written in Javascript and HTML5.
  • JUDE/Community [4] – Object-Oriented Analysis and Design. JUDE/Community. though free to use, does not provide open source.
  • MetaUML – Textual notation for UML. Diagram-rendering based on MetaPost, suitable for LaTeX typesetting.
  • MonoUML – based on the latest Mono, GTK+ and ExpertCoder.
  • NetBeans – with NetBeans IDE 5.5 Enterprise Pack.
  • Poseidon for UML (Community Edition) – Commercial tool based on ArgoUML. A cost-free version can be used to view, create, and edit models, but the export options are not available without a rent subscription
  • StarUML – a UML/MDA platform for Microsoft Windows, licensed under a modified version of GNU GPL, mostly written in Delphi
  • Software Ideas Modeler [5] – a universal software and data modeling platform with UML support for Microsoft Windows, free edition Standard (for non-commercial use)
  • Taylor - model-driven architecture on rails (licensed under the GNU LGPL)
  • Umbrello UML Modeller – part of KDE.
  • UML Pad – a UML modeller written in C++/wxWidgets (licensed under the GNU GPL)
  • UML Pad [6]– a UML tool for PalmOS
  • UMLet [7] – a Java-based UML tool (licensed under the GNU GPL)
  • Visual Paradigm SDE Community Edition [8] - Visual Paradigm SDE integrates with all leading IDEs (Visual Studio®, Eclipse/WebSphere®, Borland JBuilder®, NetBeans/Sun™ ONE, IntelliJ IDEA™, Oracle JDeveloper, BEA WebLogic Workshop™)

See the full list including proprietary tools at wikipedia.

Object Modeling Resources

[edit | edit source]

Licensed under CC BY-SA 3.0 | Source: https://en.wikiversity.org/wiki/UML
10 views | Status: cached on November 18 2024 08:31:33
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF