Autor Beitrag
wettmasta
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16



BeitragVerfasst: Mi 05.04.06 07:31 
Guten morgen zusammen,
ich würde gernen wissen wie man/Ihr Properties in einem UML Klassendiagram darstellt.
Ich hab zwar mit Modelmaker nachgeschaut aber ich bin mir nicht sicher ob das so richtig ist wie das Tool es darstellt.
Modelmaker stellt die properties nicht da, es setzt die Variablen einfach auf public.

P.S. Ich hoffe ihr versteht das hier. Ist noch früh morgens *g*
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Mo 10.07.06 10:55 
Das würde mich auch mal interessieren.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Mo 10.07.06 16:38 
Meines Wissens nach sind in der UML-Spezifikation keine Properties vorgesehen und zB Java kennt gar keine Properties.
In den UML-Klassendiagrammen von Together gibt es aber trotzdem Properties und hier ist es einfach so, dass die Properties auch einen eigenen Abschnitt in der Klasse haben, genauso wie Felder und Methoden.

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Mo 10.07.06 16:52 
Das Programm ESS-Model stellt Properties als als public deklarierte Attribute dar, in dem Feld über Methoden.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Di 11.07.06 08:09 
Ja ich kenne auch keine UML Properties Darstellung obwohl es ja recht häufig bei OOP Sprachen zu finden ist.
Verzichte drauf und stelle es als normale Public Variablen dar. Das dabei z.B. ein Wert erst generiert wird kannst du ja per Notiz ranhängen. Aber die meisten Public Dinge sind bei mir eh Variablen als Properties aber ich baue auch keine felsenfesten Komponenten ;)