1 / 4

Beispiel (1)

Beispiel (1). Objektorientiertes Ausgangsschema : define type ArtikelArt is structure [ ANr: String; AName: String; Menge: Integer; Lieferant: String; Gewicht: Float ]; end type ArtikelArt; define type Lagereinheit is structure [ LeNr: String;

lynn
Télécharger la présentation

Beispiel (1)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Beispiel (1) Objektorientiertes Ausgangsschema: definetype ArtikelArt is structure [ ANr: String; AName: String; Menge: Integer; Lieferant: String; Gewicht: Float ]; endtype ArtikelArt; definetype Lagereinheit is structure [ LeNr: String; LeaNr: LagereinheitArt; ANr: ArtikelArt; Stückzahl: Integer; Gewicht: Float; LhNr: Lagerhilfsmittel ]; endtype Lagereinheit; definetype LagereinheitArt is structure [ LeaNr: String; LeaName: String; Länge: Integer; Breite: Integer; Höhe: Integer; MaxGewicht: Float ]; endtype LagereinheitArt; definetype Lagerhilfsmittel is structure [ LhNr: String; LhaNr: LagerhilfsmittelArt; Gewicht: Float; LoNr: Lagerort ]; endtype Lagerhilfsmittel; definetype LagerhilfsmittelArt is structure [ LhaNr: String; LhaName: String; Länge: Integer; Breite: Integer; Höhe: Integer; MaxGewicht: Float ]; endtype LagerhilfsmittelArt; Zielrelationen: Trivial, da Schlüssel gegeben. Attribute nur atomar oder Verweise. relation ArtikelArt(ANr,AName,Menge,Lieferant,Gewicht); relation Lagereinheit(LeNr,LeaNr,ANr,Stückzahl,Gewicht,LhNr); relation LagereinheitArt(LeaNr,LeaName,Länge,Breite,Höhe,MaxGewicht); relation Lagerhilfsmittel(LhNr, LhaNr, Gewicht, LoNr); relation LagerhilfsmittelArt(LhaNr,LhaName,Länge,Breite,Höhe,MaxGewicht);

  2. Beispiel (2) definetype Lagerort is structure [ LoNr: String; LoaNr: LagerortArt; Gewicht: Float ]; endtype Lagerort; definetype LagerortArt is structure [ LoaNr: String; Länge: Integer; Breite: Integer; Höhe: Integer; MaxGewicht: Float ]; endtype LagerortArt; definetype Verträglichkeit is structure [ ANr: ArtikelArt; LoNr: Lagerort ]; endtype Verträglichkeit; Zielrelationen: Trivial, da Schlüssel gegeben. Attribute nur atomar oder Verweise relation Lagerort(LoNr, LoaNr, Gewicht); relation LagerortArt(LoaNr, Länge, Breite, Höhe, MaxGewicht); relation Verträglichkeit(ANr, LoNr);

  3. structure Fall 3: Auto-Vermietung (VSurr, Name, Sitz) Auto-Pool (Marke, PS, Klasse, Autotelefon, VSurr) Beispiel (3) definetype Auto is structure [ Marke:string; PS: real; Klasse: string; Autotelefon: bool ]; endtype Auto; definetype Auto-Pool is structure { [ Marke:string; PS: real; Klasse: string; Autotelefon: bool ] }; endtype Auto-Pool; definetype Auto-Vermietung is structure [ Name: string; Sitz: string: Autopool: { [ Marke:string; PS: real; Klasse: string; Autotelefon: bool ] } ]; endtype Auto-Vermietung; structure Fall 1: Auto (ASurr, Marke, PS, Klasse, Autotelefon) structure Fall 2: Auto-Pool (PSurr, Marke, PS, Klasse, Autotelefon)

  4. structure Fall 4: Verband (VSurr1, VSurr2) Person (PSurr, .... ) Auto-Vermietung (VSurr, Name, Sitz, Person) Auto-Pool (Marke, PS, Klasse, Autotelefon, VSurr) Beispiel (4) definetype Auto-Vermietung is structure [ Name: string; Sitz: string: Autopool: { [ Marke:string; PS: real; Klasse: string; Autotelefon: bool ] }; Besitzer: Person; Verband: {Auto-Vermietung} ]; endtype Auto-Vermietung;

More Related