Programmieren-2-Kontaktdate.../klassendiagramm.drawio

1 line
12 KiB
Plaintext

<mxfile host="drawio-plugin" modified="2021-07-23T09:15:42.460Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36" etag="6l5BQ7RWvFT7H7o9DE_a" version="14.7.4" type="embed"><diagram id="23iRSUPoRavnBvh4doch" name="Page-1"><mxGraphModel dx="1422" dy="795" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="84qvrrxa2kzdnaGIeSCu-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=diamondThin;startFill=1;targetPerimeterSpacing=0;endSize=12;startSize=20;" parent="1" source="2" target="11" edge="1"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="516" y="613"/><mxPoint x="619" y="613"/></Array></mxGeometry></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-44" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=diamondThin;startFill=1;startSize=20;endSize=12;targetPerimeterSpacing=0;" parent="1" source="2" target="7" edge="1"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="323" y="615"/><mxPoint x="233" y="615"/></Array></mxGeometry></mxCell><mxCell id="2" value="Visit" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="192" y="321" width="444" height="264" as="geometry"><mxRectangle x="130" y="70" width="70" height="26" as="alternateBounds"/></mxGeometry></mxCell><mxCell id="3" value="- place : Place&#10;- person : Person&#10;- end : LocalDateTime&#10;- start : LocalDateTime&#10;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="2" vertex="1"><mxGeometry y="26" width="444" height="64" as="geometry"/></mxCell><mxCell id="4" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="2" vertex="1"><mxGeometry y="90" width="444" height="8" as="geometry"/></mxCell><mxCell id="5" value="+ Visit(s : String)&#10;+ Visit(start : LocalDateTime, end : LocalDateTime, person : Person, place : Place)&#10;+ getStart() : LocalDateTime&#10;+ setStart(start : LocalDateTime) : void&#10;+ getEnd() : LocalDateTime&#10;+ setEnd(end : LocalDateTime) : void&#10;+ getPerson() : Person&#10;+ setPerson(person : Person) : void&#10;+ getOrt() : Place&#10;+ setOrt(place : Place) : void&#10;+ toString() : String" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="2" vertex="1"><mxGeometry y="98" width="444" height="166" as="geometry"/></mxCell><mxCell id="7" value="Place" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="106" y="640" width="254" height="222" as="geometry"/></mxCell><mxCell id="8" value="- indoor : boolean&#10;- name : String&#10;- id : int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="7" vertex="1"><mxGeometry y="26" width="254" height="52" as="geometry"/></mxCell><mxCell id="9" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="7" vertex="1"><mxGeometry y="78" width="254" height="8" as="geometry"/></mxCell><mxCell id="10" value="+ Place(s : String)&#10;+ Place(id : int, name : String, indoor : boolean)&#10;+ getId() : int&#10;+ setId(id : int) : void&#10;+ getName() : String&#10;+ setName(name : String) : void&#10;+ isIndoor() : boolean&#10;+ setIndoor(indoor : boolean) : void&#10;+ toString() : String" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="7" vertex="1"><mxGeometry y="86" width="254" height="136" as="geometry"/></mxCell><mxCell id="11" value="Person" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="517" y="640" width="204" height="188" as="geometry"/></mxCell><mxCell id="12" value="- name : String&#10;- id : int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="11" vertex="1"><mxGeometry y="26" width="204" height="38" as="geometry"/></mxCell><mxCell id="13" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="11" vertex="1"><mxGeometry y="64" width="204" height="8" as="geometry"/></mxCell><mxCell id="14" value="+ Person(s : String)&#10;+ Person(id : int, name : String)&#10;+ getId() : int&#10;+ setId(id : int) : void&#10;+ getName() : String&#10;+ setName(name : String) : void&#10;+ toString() : String" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="11" vertex="1"><mxGeometry y="72" width="204" height="116" as="geometry"/></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-35" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;startArrow=diamondThin;startFill=1;endSize=12;startSize=20;" parent="1" source="17" target="2" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=diamondThin;startFill=1;startSize=20;endSize=12;targetPerimeterSpacing=0;" parent="1" source="17" target="7" edge="1"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="311" y="298"/><mxPoint x="154" y="298"/></Array></mxGeometry></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-46" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.843;entryY=-0.011;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=diamondThin;startFill=1;startSize=20;endSize=12;targetPerimeterSpacing=0;" parent="1" source="17" target="11" edge="1"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="512" y="295"/><mxPoint x="689" y="295"/></Array></mxGeometry></mxCell><mxCell id="17" value="Main" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="287" y="44" width="254" height="222" as="geometry"><mxRectangle x="287" y="44" width="54" height="26" as="alternateBounds"/></mxGeometry></mxCell><mxCell id="18" value="- persons : HashMap&lt;Integer, Person&gt;&#10;- places : HashMap&lt;Integer, Visit&gt;&#10;- visits : HashMap&lt;Visit&gt;&#10;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="17" vertex="1"><mxGeometry y="26" width="254" height="52" as="geometry"/></mxCell><mxCell id="19" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="17" vertex="1"><mxGeometry y="78" width="254" height="8" as="geometry"/></mxCell><mxCell id="20" value="+ main(args : String[]) : void&#10;- argument_error() : void&#10;+ getContactPersons(id : int) : List&lt;Visit&gt;&#10;+ getSearchString(string : String) : String&#10;+ getVisitors(string : String) : List&lt;Visit&gt;&#10;+ parseArguments(string : String)&#10;+ searchForPerson(string : String)&#10;+ searchForPlace(string : String)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="17" vertex="1"><mxGeometry y="86" width="254" height="136" as="geometry"/></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-36" value="&lt;div&gt;1&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="411" y="268" width="40" height="20" as="geometry"/></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-37" value="&lt;div style=&quot;font-size: 20px&quot;&gt;&lt;font style=&quot;font-size: 20px&quot;&gt;*&lt;br&gt;&lt;/font&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="411" y="307" width="40" height="20" as="geometry"/></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-38" value="&lt;div&gt;1&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="316" y="596" width="40" height="20" as="geometry"/></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-39" value="&lt;div&gt;1&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="482" y="596" width="40" height="20" as="geometry"/></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-40" value="&lt;div&gt;1&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="614" y="611" width="40" height="20" as="geometry"/></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-41" value="&lt;div&gt;1&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="199" y="611" width="40" height="20" as="geometry"/></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-47" value="&lt;div&gt;1&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="509" y="268" width="40" height="20" as="geometry"/></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-48" value="&lt;div&gt;1&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="278" y="268" width="40" height="20" as="geometry"/></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-49" value="&lt;div style=&quot;font-size: 20px&quot;&gt;&lt;font style=&quot;font-size: 20px&quot;&gt;*&lt;br&gt;&lt;/font&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="692" y="616" width="40" height="20" as="geometry"/></mxCell><mxCell id="84qvrrxa2kzdnaGIeSCu-50" value="&lt;div style=&quot;font-size: 20px&quot;&gt;&lt;font style=&quot;font-size: 20px&quot;&gt;*&lt;br&gt;&lt;/font&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1"><mxGeometry x="106" y="616" width="40" height="20" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>