Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Frage zu UML

Empfohlene Antworten

Veröffentlicht

Hallo,

ich habe mal eine Frage zu UML. Ich habe eine Sammelklasse. Diese Sammelklasse kann mehrere Instanzen von einer Klasse 1 beinhalten. ist also eine Art Collection. Wie stelle ich das in EINEM Block dar?

post-57426-144304487106_thumb.png

In der UML kannst du zu jedem Attribut einen lower und einen upper bound angeben. Das ist die Multiplizität die du zu jedem Attribut bestimmen kannst.

z.B.


- attribut0: Klasse1 [lower .. upper] Darstellung in der UML

- attribut1: Klasse1 [0..*] -> Instanzen von null bis unendlich möglich, Alternative Darstellung: [*]

- attribut2: Klasse1 [1..*] -> Instanzen von mindestens 1 bis unendlich möglich

- attribut3: Klasse1 [0..1] -> Instanzen von null bis maximal 1 möglich

- attribut4: Klasse1 [1..1] -> genau eine Instanz nötig, Alternative Darstellung: [1]

Bearbeitet von Schiller256

Okay vielen Dank für die Antwort!

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.