UML - Allgemein

      # = protected
      + = public
      - = private
 /
 -----  = Generalisierung
 \
  _______________________________________       
 |                                       |      
 |                Tisch                  |      
 |_______________________________________|      
 |                                       |      
 | # material: String                    |      
 | # farbe:    String                    |      
 | # hoehe:    double                    |
 | # breite:   double                    |
 | # tiefe:    double                    |
 |_______________________________________|
 |                                       |
 | + getMaterial(): String               |
 | + setMaterial(material:String): void  |
 | [...]                                 |
 | + Tisch()                             |
 |_______________________________________|



  _______________________________________        _________________________________
 |                                       |      |                                 |
 |                Tisch                  |      |            Material             |
 |_______________________________________|      |_________________________________|
 |                                       |      |                                 |
 | # material: Material                  |      | # farbe:       String           |
 | # farbe:    String                    |/     | # bezeichnung: String           |
 | # hoehe:    double                    |------|_________________________________|
 | # breite:   double                    |\     |                                 |
 | # tiefe:    double                    |      | + setFarbe(farbe:String): void  |
 |_______________________________________|      | + getFarbe(): String            |
 |                                       |      |                                 |
 | + getMaterial(): String               |      | + Material                      |
 | + setMaterial(material:String): void  |      |_________________________________|
 | [...]                                 |       _                           _
 | + Tisch()                             |        /|                       |\
 |_______________________________________|       /                           \
                                                /                             \
                                               /                               \  
                                      ________/________                 ________\________
                                     |                 |               |                 |
                                     |      Holz       |               |      Metall     |
                                     |_________________|               |_________________|
                                     |                 |               |                 |
                                     |                 |               |                 |
                                     |                 |               |                 |
                                     |_________________|               |_________________|



uml/allgemein.txt · Zuletzt geändert: 2015/07/06 22:33 (Externe Bearbeitung)