Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Antonio Rueda
/
reserva-hoteles
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d7d369a4
authored
Sep 18, 2024
by
Antonio Rueda
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Diagrama de clases preliminar
parents
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
123 additions
and
0 deletions
.gitignore
reserva-hoteles-uml.drawio
.gitignore
0 → 100644
View file @
d7d369a4
/target/
.idea/
.vscode/
.settings
.project
.classpath
*.iml
.DS_Store
# The following files are generated/updated by vaadin-maven-plugin
node_modules/
frontend/generated/
pnpmfile.js
vite.generated.ts
# Browser drivers for local integration tests
drivers/
# Error screenshots generated by TestBench for failed integration tests
error-screenshots/
webpack.generated.js
/etc/
/h2db/
reserva-hoteles-uml.drawio
0 → 100644
View file @
d7d369a4
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0" version="24.7.14">
<diagram name="Página-1" id="IpY-njWp8TfkcAYWz6vd">
<mxGraphModel dx="2422" dy="386" 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" />
<mxCell id="a_C5hD_1tt0fRA46Nat0-1" value="<div><span style="font-weight: normal;">&lt;&lt;entidad&gt;&gt;</span><br></div><div>Reserva</div>" 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;" vertex="1" parent="1">
<mxGeometry x="1160" y="150" width="160" height="156" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-2" value="<div>- <u>num</u>: int<br></div><div>- fechaInicio: Fecha</div><div>- fechaFin: Fecha</div><div>- numHabSimple: init</div><div>- numHabDoble: int<br></div>" 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;" vertex="1" parent="a_C5hD_1tt0fRA46Nat0-1">
<mxGeometry y="40" width="160" height="80" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-3" 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;" vertex="1" parent="a_C5hD_1tt0fRA46Nat0-1">
<mxGeometry y="120" width="160" height="10" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-19" value="&nbsp;" 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;" vertex="1" parent="a_C5hD_1tt0fRA46Nat0-1">
<mxGeometry y="130" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-5" value="<div><span style="font-weight: normal;">&lt;&lt;entidad&gt;&gt;<br></span></div><div>Hotel</div>" 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;" vertex="1" parent="1">
<mxGeometry x="850" y="96" width="160" height="226" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-6" value="<div>- <u>id</u>: int<br></div><div>- nombre: string</div><div>- direccion: string</div><div>- localidad: string</div><div>- provincia: string</div><div>- cp: int</div><div>- numHabSimple: int</div><div>- numHabDoble: int</div><div>- precioHabSimple: int</div><div>- precioHabDoble: int<br></div>" 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;" vertex="1" parent="a_C5hD_1tt0fRA46Nat0-5">
<mxGeometry y="40" width="160" height="150" as="geometry" />
</mxCell>
<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;" vertex="1" parent="a_C5hD_1tt0fRA46Nat0-5">
<mxGeometry y="190" width="160" height="10" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-8" value="&nbsp;" 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;" vertex="1" parent="a_C5hD_1tt0fRA46Nat0-5">
<mxGeometry y="200" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-9" value="<div><span style="font-weight: normal;">&lt;&lt;entidad&gt;&gt;</span><br></div><div>Cliente</div>" 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;" vertex="1" parent="1">
<mxGeometry x="850" y="368" width="160" height="162" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-10" value="<div>- nombre: string</div><div>- direccion: string</div><div>- tlf: string</div><div>- <u>email</u>: string</div><div>- clave: string<br></div>" 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;" vertex="1" parent="a_C5hD_1tt0fRA46Nat0-9">
<mxGeometry y="42" width="160" height="84" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-11" 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;" vertex="1" parent="a_C5hD_1tt0fRA46Nat0-9">
<mxGeometry y="126" width="160" height="10" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-12" value="&nbsp;" 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;" vertex="1" parent="a_C5hD_1tt0fRA46Nat0-9">
<mxGeometry y="136" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;startArrow=diamond;startFill=1;endArrow=open;endFill=0;" edge="1" parent="1" source="a_C5hD_1tt0fRA46Nat0-6" target="a_C5hD_1tt0fRA46Nat0-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-16" value="*" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="1130" y="225" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-17" value="reserva" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="1100" y="195" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=none;endFill=0;" edge="1" parent="1" source="a_C5hD_1tt0fRA46Nat0-10" target="a_C5hD_1tt0fRA46Nat0-1">
<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;" vertex="1" parent="1">
<mxGeometry x="1010" y="423.5" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-23" value="reserva" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="1180" y="300" 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;" vertex="1" parent="1">
<mxGeometry x="1010" y="452.5" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-25" value="*" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="1240" y="300" 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;" edge="1" parent="1" source="a_C5hD_1tt0fRA46Nat0-26" target="a_C5hD_1tt0fRA46Nat0-6">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-31" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;endArrow=open;endFill=0;startArrow=diamond;startFill=1;" edge="1" parent="1" source="a_C5hD_1tt0fRA46Nat0-26" target="a_C5hD_1tt0fRA46Nat0-10">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-26" value="<div><span style="font-weight: normal;">&lt;&lt;servicio&gt;&gt;</span></div><div><span style="font-weight: normal;">&lt;&lt;repositorio&gt;&gt;</span><br></div><div>ServicioReservas</div>" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=62;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="-10" y="114" width="670" height="196" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-27" value="<div>&nbsp;</div>" 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;" vertex="1" parent="a_C5hD_1tt0fRA46Nat0-26">
<mxGeometry y="62" width="670" height="24" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-28" 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;" vertex="1" parent="a_C5hD_1tt0fRA46Nat0-26">
<mxGeometry y="86" width="670" height="10" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-29" value="<div>+ nuevoHotel(h: Hotel)</div><div>+ nuevoCliente(c: Cliente)</div><div>+ login(email: string, clave: string): Cliente</div><div>+ buscarPorLocalidad(localidad: string, fechaInicio: Fecha, fechaFin: Fecha, numHabSimple, int, numHabDoble: int): Hotel[]</div><div>+ buscarHotel(nombreParcial: string, localidad: string): Hotel</div><div>+ reservar(c: Cliente, h: Hotel, fechaInicio: Fecha, fechaFin: Fecha, numHabSimple: int, numHabDoble: int): Reserva <br></div>" 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;" vertex="1" parent="a_C5hD_1tt0fRA46Nat0-26">
<mxGeometry y="96" width="670" height="100" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-32" value="hotel" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="802" y="178" width="50" height="30" as="geometry" />
</mxCell>
<mxCell id="a_C5hD_1tt0fRA46Nat0-33" value="*" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="812" y="210" 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;" vertex="1" parent="1">
<mxGeometry x="822" y="456.5" 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;" vertex="1" parent="1">
<mxGeometry x="792" y="423.5" width="60" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment