Master-Detail

Master-Detail

Unter einer Master-Detail-Beziehung versteht man in der Softwareentwicklung eine Beziehung zwischen zwei Blöcken von angezeigten Daten in einem Computerprogramm, wobei der zweite Block (Detail) detailliertere Informationen zu den Daten des ersten Blocks (Master) enthält.

Datenbankanwendung, Benutzeroberfläche

In Bezug auf Datenbankanwendungen wird der Begriff insbesondere für den häufig auftretenden Fall verwendet, dass der erste Block genau einen und der zweite Block mehrere inhaltlich dem ersten Block zugehörige Datensätze enthält. Dies wird meist als Kombination von Formularfeldern für den „Master“-Datensatz mit einer darunter oder rechts daneben stehenden Tabelle für die „Detail“-Datensätze dargestellt.

Beispiel:

Eine Bildschirmmaske oder Webseite mit den persönlichen Daten eines Kunden und dazu als Detaildaten die darunter aufgeführten Aufträge dieses Kunden.

Datenmodell

Eine Master-Detail-Beziehung auf der Benutzeroberfläche des Computerprogramms resultiert meist aus einer entsprechenden Struktur der Datenbank, nämlich aus einer 1:n-Beziehung zwischen zwei Datenbanktabellen (im obigen Beispiel zwischen einer Kundentabelle und einer Auftragstabelle).

Datenbankabfrage

Datenbankdaten, die in einer Master-Detail-Beziehung zueinander stehen, können nicht (bzw. nicht immer korrekt) mit einer einzigen SQL-Abfrage aus der Datenbank ausgelesen werden. Da Master- und Detaildaten getrennt ausgelesen und zurückgeschrieben werden müssen, bestimmt die Datenstruktur auch die innere Architektur des Programms, indem hierfür getrennte Datasets bzw. Direct Views angelegt werden. Formulare und Reports in Datenbankanwendungen bestehen häufig aus zueinander in Master-Detail-Beziehung stehenden Programmteilen.


Wikimedia Foundation.

Игры ⚽ Поможем написать реферат

Schlagen Sie auch in anderen Wörterbüchern nach:

  • Master-detail — In computer user interface design, a master detail page is one in which there is a list or tree of items, and a detail section next to it. Selecting an item from the master list causes the details of that item to be populated in the detail pane.… …   Wikipedia

  • Master–detail interface — In computer user interface design, a master–detail interface displays a master list and the details for the currently selected item. A master area can be a form, list or tree of items, and a detail area can be a form, list or tree of items… …   Wikipedia

  • Master-Detail-Beziehung — Unter einer Master Detail Beziehung versteht man in der Softwareentwicklung eine Beziehung zwischen zwei Blöcken von angezeigten Daten in einem Computerprogramm, wobei der zweite Block (Detail) detailliertere Informationen zu den Daten des ersten …   Deutsch Wikipedia

  • Master of Cabestany — Detail of the tympanum of the parish church of Cabestany, from which the Master derived his name, showing his characteristic style The Master of Cabestany is the name given to an anonymous sculptor active in the second half of the 12th century.… …   Wikipedia

  • Master of the Stauffenberg Altarpiece — Detail of the Stauffenberg Altarpiece – Sorrow of Mary …   Wikipedia

  • Master of the Rajhrad Altarpiece — Detail from the Rajhrad Cruxifixion, part of the Rajhrad Altarpiece (c. 1430 40) The Master of the Rajhrad Altarpiece (sometimes called the Master of Raigern) was a Bohemian painter active in the region around Olomouc and Brno before 1420. Likely …   Wikipedia

  • Master of Science in Finance — (MSF) is a Master s degree designed to prepare graduates for careers in financial analysis, investment management and corporate finance. The MSF is generally a one year, non thesis degree, and is often positioned as a professional degree.… …   Wikipedia

  • Master of the Five Magics —   Author(s) Lyndon Hardy …   Wikipedia

  • Master of the Antiphonal Q of San Giorgio Maggiore — Detail of a miniature depiction of The Conversion of Saint Paul in the Getty Museum The Master of the Antiphonal Q of San Giorgio Maggiore was an Italian painter of illuminated manuscripts active in the northern region, especially around Venice… …   Wikipedia

  • Master E. S. — Delilah cutting Samson s hair, c. 1460 Master E. S. (c. 1420 – c. 1468), (previously known as the Master of 1466) is an unidentified German engraver, goldsmith, and printmaker of the late Gothic period. He was the first major German artist of old …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”