Commit 1c4ecca3 by Antonio Rueda

Actualización de UML

parent bd52b49c
Showing with 22 additions and 10 deletions
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0" version="24.7.16">
<diagram name="Página-1" id="IpY-njWp8TfkcAYWz6vd">
<mxGraphModel dx="3605" dy="1376" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1654" pageHeight="2336" math="0" shadow="0">
<mxGraphModel dx="3589" dy="1303" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1654" pageHeight="2336" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
......@@ -17,7 +17,7 @@
<mxGeometry y="130" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-5" value="&lt;div&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;lt;&amp;lt;entidad&amp;gt;&amp;gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;Hotel&lt;/div&gt;" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=40;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="827" y="114" width="530" height="240" as="geometry" />
<mxGeometry x="827" y="114" width="530" height="270" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-6" value="&lt;div&gt;- &lt;u&gt;id&lt;/u&gt;: int&lt;br&gt;&lt;/div&gt;&lt;div&gt;- nombre: string&lt;/div&gt;&lt;div&gt;- direccion: string&lt;/div&gt;&lt;div&gt;- localidad: string&lt;/div&gt;&lt;div&gt;- provincia: string&lt;/div&gt;&lt;div&gt;- cp: string&lt;/div&gt;&lt;div&gt;- numHabSimple: int&lt;/div&gt;&lt;div&gt;- numHabDoble: int&lt;/div&gt;&lt;div&gt;- precioHabSimple: int&lt;/div&gt;&lt;div&gt;- precioHabDoble: int&lt;br&gt;&lt;/div&gt;" 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;whiteSpace=wrap;html=1;" parent="a_C5hD_1tt0fRA46Nat0-5" vertex="1">
<mxGeometry y="40" width="530" height="150" as="geometry" />
......@@ -25,11 +25,11 @@
<mxCell id="a_C5hD_1tt0fRA46Nat0-7" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" parent="a_C5hD_1tt0fRA46Nat0-5" vertex="1">
<mxGeometry y="190" width="530" height="10" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-8" value="+ disponible(fechaInicio: Fecha, fechaFin: Fecha, numHabSimple: int, numHabDoble: int): bool&lt;div&gt;+ disponible(f&lt;span style=&quot;background-color: initial;&quot;&gt;echa: Fecha, numHabSimple: int, numHabDoble: int): bool&lt;/span&gt;&lt;/div&gt;" 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;whiteSpace=wrap;html=1;" parent="a_C5hD_1tt0fRA46Nat0-5" vertex="1">
<mxGeometry y="200" width="530" height="40" as="geometry" />
<mxCell id="a_C5hD_1tt0fRA46Nat0-8" value="&lt;div&gt;+ nuevaReserva(reserva: Reserva)&lt;/div&gt;+ disponible(fechaInicio: Fecha, fechaFin: Fecha, numHabSimple: int, numHabDoble: int): bool&lt;div&gt;+ disponible(f&lt;span style=&quot;background-color: initial;&quot;&gt;echa: Fecha, numHabSimple: int, numHabDoble: int): bool&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: initial;&quot;&gt;+ reservasEntre(fechaInicio: Fecha, fechaFin: Fecha): Reserva[]&lt;/span&gt;&lt;/div&gt;" 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;whiteSpace=wrap;html=1;" parent="a_C5hD_1tt0fRA46Nat0-5" vertex="1">
<mxGeometry y="200" width="530" height="70" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-9" value="&lt;div&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;lt;&amp;lt;entidad&amp;gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Cliente&lt;/div&gt;" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=42;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="850" y="400" width="160" height="162" as="geometry" />
<mxCell id="a_C5hD_1tt0fRA46Nat0-9" value="&lt;div&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;lt;&amp;lt;entidad&amp;gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Usuario&lt;/div&gt;" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=42;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="850" y="449.5" width="160" height="162" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-10" value="&lt;div&gt;- nombre: string&lt;/div&gt;&lt;div&gt;- direccion: string&lt;/div&gt;&lt;div&gt;- tlf: string&lt;/div&gt;&lt;div&gt;- &lt;u&gt;email&lt;/u&gt;: string&lt;/div&gt;&lt;div&gt;- clave: string&lt;br&gt;&lt;/div&gt;" 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;whiteSpace=wrap;html=1;" parent="a_C5hD_1tt0fRA46Nat0-9" vertex="1">
<mxGeometry y="42" width="160" height="84" as="geometry" />
......@@ -53,10 +53,10 @@
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-22" value="cliente" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="1010" y="453.5" width="60" height="30" as="geometry" />
<mxGeometry x="1010" y="499" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-24" value="1" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="1010" y="482.5" width="30" height="30" as="geometry" />
<mxGeometry x="1010" y="532" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;startArrow=diamond;startFill=1;" parent="1" source="a_C5hD_1tt0fRA46Nat0-26" target="a_C5hD_1tt0fRA46Nat0-6" edge="1">
<mxGeometry relative="1" as="geometry" />
......@@ -83,10 +83,22 @@
<mxGeometry x="790" y="226" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-34" value="*" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="820" y="482.5" width="30" height="30" as="geometry" />
<mxGeometry x="820" y="532" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-35" value="cliente" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="790" y="449.5" width="60" height="30" as="geometry" />
<mxGeometry x="790" y="499" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="nwQueBcBUwvZKA8jkqrU-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=open;endFill=0;startArrow=diamond;startFill=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" target="nwQueBcBUwvZKA8jkqrU-5">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="344" as="sourcePoint" />
<mxPoint x="130" y="510" as="targetPoint" />
<Array as="points">
<mxPoint x="130" y="344" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="nwQueBcBUwvZKA8jkqrU-5" value="&lt;p style=&quot;margin:0px;margin-top:4px;text-align:center;text-decoration:underline;&quot;&gt;&lt;b&gt;direccion:Usuario&lt;/b&gt;&lt;/p&gt;&lt;hr size=&quot;1&quot; style=&quot;border-style:solid;&quot;&gt;&lt;p style=&quot;margin:0px;margin-left:8px;&quot;&gt;nombre = &quot;direccion&quot;&lt;br&gt;email = &quot;direccion@hotelxyz.es&quot;&lt;br&gt;clave =&amp;nbsp;&lt;span style=&quot;background-color: initial;&quot;&gt;&quot;SeCrEtO&quot;&quot;&lt;/span&gt;&lt;/p&gt;" style="verticalAlign=top;align=left;overflow=fill;html=1;whiteSpace=wrap;" vertex="1" parent="1">
<mxGeometry x="50" y="520" width="190" height="80" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment