diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/u-fund.drawio.xml | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/docs/u-fund.drawio.xml b/docs/u-fund.drawio.xml new file mode 100644 index 0000000..97c8756 --- /dev/null +++ b/docs/u-fund.drawio.xml @@ -0,0 +1,108 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36" version="26.0.14"> + <diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1"> + <mxGraphModel dx="1313" dy="696" grid="1" 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="WIyWlLk6GJQsqaUBKTNV-0" /> + <mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" /> + <mxCell id="miN-AHw2UIRGXhX9ftvc-20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="zkfFHV4jXpPFQw0GAbJ--0" target="zkfFHV4jXpPFQw0GAbJ--13" edge="1"> + <mxGeometry relative="1" as="geometry"> + <Array as="points" /> + </mxGeometry> + </mxCell> + <mxCell id="zkfFHV4jXpPFQw0GAbJ--0" value="Need" style="swimlane;fontStyle=2;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1"> + <mxGeometry x="212.5" y="40" width="230" height="344" as="geometry"> + <mxRectangle x="230" y="140" width="160" height="26" as="alternateBounds" /> + </mxGeometry> + </mxCell> + <mxCell id="zkfFHV4jXpPFQw0GAbJ--1" value="- name : String
- attributes: String[]
- type: GoalType
- max: double
- current: double" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1"> + <mxGeometry y="26" width="230" height="84" as="geometry" /> + </mxCell> + <mxCell id="zkfFHV4jXpPFQw0GAbJ--4" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1"> + <mxGeometry y="110" width="230" height="4" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-4" value="+Need (name: String, max: double,&nbsp;<div>type: GoalType): void<div><span style="">+getName(): name</span></div><div>+getAttributes(): attributes</div><div>+getType(): type</div><div>+getMax(): max</div><div>+getCurrent(): current</div><div>+setName(name: String): void</div><div>+setAttributes(attributes: String[]): void</div><div>+addAttribute(attribute: String)</div><div>-removeAttribute(attribute: String)</div><div>+setMax(max: double): void</div><div>+setCurrent(max: double): void</div><div><br></div><div><br></div></div>" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="zkfFHV4jXpPFQw0GAbJ--0" vertex="1"> + <mxGeometry y="114" width="230" height="230" as="geometry" /> + </mxCell> + <mxCell id="zkfFHV4jXpPFQw0GAbJ--13" value="<<enum>>
GoalType" style="swimlane;fontStyle=0;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1"> + <mxGeometry x="247.5" y="544" width="160" height="90" as="geometry"> + <mxRectangle x="340" y="380" width="170" height="26" as="alternateBounds" /> + </mxGeometry> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-0" value="+<i>MONETARY</i><div><i>+PHYSICAL</i></div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="zkfFHV4jXpPFQw0GAbJ--13" vertex="1"> + <mxGeometry y="40" width="160" height="40" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-43" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="miN-AHw2UIRGXhX9ftvc-15" target="miN-AHw2UIRGXhX9ftvc-4" edge="1"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-15" value="<<static>>
NeedsCupboard" style="swimlane;fontStyle=2;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1"> + <mxGeometry x="475" y="160" width="240" height="218" as="geometry"> + <mxRectangle x="230" y="140" width="160" height="26" as="alternateBounds" /> + </mxGeometry> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-16" value="- needs : ArrayList<Need>
" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="miN-AHw2UIRGXhX9ftvc-15" vertex="1"> + <mxGeometry y="40" width="240" height="30" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-17" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="miN-AHw2UIRGXhX9ftvc-15" vertex="1"> + <mxGeometry y="70" width="240" height="18" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-18" value="<div>+getNeeds(): needs</div><div>+setNeeds(needs: ArrayList&lt;Need): void</div><div><div>+createNeed(name: String, max: double,&nbsp;</div><div>type: GoalType): void</div><div>+removeNeed(need: Need): void</div><div>+updateNeed(name: String, need: Need)</div><div>+deleteNeed(name: String)</div></div><div>&nbsp;</div>" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="miN-AHw2UIRGXhX9ftvc-15" vertex="1"> + <mxGeometry y="88" width="240" height="130" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-42" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="miN-AHw2UIRGXhX9ftvc-27" target="miN-AHw2UIRGXhX9ftvc-15" edge="1"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-27" value="CupboardController
" style="swimlane;fontStyle=2;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1"> + <mxGeometry x="455" y="480" width="280" height="164" as="geometry"> + <mxRectangle x="230" y="140" width="160" height="26" as="alternateBounds" /> + </mxGeometry> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-28" value="- dao: CupboardDAO
- cupboard: NeedsCupboard" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="miN-AHw2UIRGXhX9ftvc-27" vertex="1"> + <mxGeometry y="26" width="280" height="34" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-29" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="miN-AHw2UIRGXhX9ftvc-27" vertex="1"> + <mxGeometry y="60" width="280" height="4" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-30" value="+CupboardController(dao: CupboardDAO): void<div>+createNeed(name: String, max: double,&nbsp;</div><div>type: GoalType): void</div><div>+removeNeed(need: Need): void</div><div>+updateNeed(name: String, need: Need)</div><div>+deleteNeed(name: String)&nbsp;</div>" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="miN-AHw2UIRGXhX9ftvc-27" vertex="1"> + <mxGeometry y="64" width="280" height="100" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-31" value="<<interface>>
CupboardDAO" style="swimlane;fontStyle=2;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1"> + <mxGeometry x="790" y="480" width="230" height="154" as="geometry"> + <mxRectangle x="230" y="140" width="160" height="26" as="alternateBounds" /> + </mxGeometry> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-32" value="- needs: ArrayList<Need>" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="miN-AHw2UIRGXhX9ftvc-31" vertex="1"> + <mxGeometry y="40" width="230" height="34" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-33" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="miN-AHw2UIRGXhX9ftvc-31" vertex="1"> + <mxGeometry y="74" width="230" height="4" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-34" value="+CupboardController(): void<div><br></div>" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="miN-AHw2UIRGXhX9ftvc-31" vertex="1"> + <mxGeometry y="78" width="230" height="40" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-39" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=block;endFill=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="miN-AHw2UIRGXhX9ftvc-35" target="miN-AHw2UIRGXhX9ftvc-31" edge="1"> + <mxGeometry relative="1" as="geometry"> + <mxPoint x="900" y="630" as="targetPoint" /> + </mxGeometry> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-35" value="CupboardFileDAO" style="swimlane;fontStyle=2;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;rounded=0;shadow=0;strokeWidth=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1"> + <mxGeometry x="780" y="680" width="250" height="154" as="geometry"> + <mxRectangle x="230" y="140" width="160" height="26" as="alternateBounds" /> + </mxGeometry> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-36" value="- needs: ArrayList<Need>
-filepath: String" style="text;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="miN-AHw2UIRGXhX9ftvc-35" vertex="1"> + <mxGeometry y="30" width="250" height="34" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-37" value="" style="line;html=1;strokeWidth=1;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="miN-AHw2UIRGXhX9ftvc-35" vertex="1"> + <mxGeometry y="64" width="250" height="4" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-38" value="+CupboardController(filepath: String): void<div><br></div>" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="miN-AHw2UIRGXhX9ftvc-35" vertex="1"> + <mxGeometry y="68" width="250" height="40" as="geometry" /> + </mxCell> + <mxCell id="miN-AHw2UIRGXhX9ftvc-40" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.003;entryY=0.096;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="miN-AHw2UIRGXhX9ftvc-27" target="miN-AHw2UIRGXhX9ftvc-34" edge="1"> + <mxGeometry relative="1" as="geometry" /> + </mxCell> + </root> + </mxGraphModel> + </diagram> +</mxfile> |