MODELADO EN UML
SISTEMA DE ALQUILER DE
PELICULAS
http://fundapoder.wordpress.com
@fundapoder
INDICE
ANALISIS
ESCENARIOS
PREVISUALIZACIONES
CASOS DE USO
DIAGRAMA DE ACTIVIDADES
DIAGRAMA DE CLASES
DIAGRAMA DE COLABORACION
DIAGRAMA DE SECUENCIA
DISEO
ESTANDARIZACION
DISEO DE LA BASE DE DATOS
MODELADO DE LA GUI
INTERFASE GRAFICA DE USUARIO )
DESARROLLO DE SOFTWARE
DIAGRAMA DE COMPONENTES
IMPLANTACION
DIAGRAMA DE DESPLIEGUE
http://fundapoder.wordpress.com
@fundapoder
ESCENARIOS
ESCENARIO PRIMARIO
- El cliente se afilia a la tienda ,el operador registra sus datos personales (cedula,nombre,telefono,direccion,f.nacimiento)
y se le hace entrega del carnet
-El operador ingresa los cdigos de cada una de las pelculas adquiridas con sus datos correspondientes ( Nro-compra
cdigo , genero , titulo , formato , autor , ejemplares )
-El cliente llega a la tienda y selecciona las pelculas que desea alquilar
-El cliente entrega las cajas de las pelculas al operador y este busca las pelculas en el deposito , aquellas que ya se
encuentren alquiladas no se podrn volver a alquilar. Una vez seleccionadas todas las pelculas se genera una factura con
los siguientes datos
( cliente , fecha , pelculas , monto-alquiler , total facturado , fecha de entrega )
-El cliente entrega las pelculas al operador el cual verifica si la fecha de entrega sobrepasa a la fecha establecida. En caso
de ser as , el operador asigna una multa al cliente el cual deber cancelar al instante o cuando vuelva a solicitar un
servicio.
-El operador al final de su turno ( Existen varios Cajeros por Turnos ) imprime una relacin de facturas emitidas y la relacin
de dinero recaudado por concepto de ventas y gastos varios en la caja. Y entrega dicha relacin al administrador.
-El Administrador semanalmente procesa los siguientes informes :
- Relacin de Pelculas en Alquiler ( Cliente, pelcula , fecha-entrega)
- Relacin de Alquileres vencidos
( Cliente, pelcula , fecha-entrega , dias-vencidos)
Resumen de ventas por Operador y Fecha
( Operador , fecha-desde, fecha-hasta , total-vendido )
Totales de Ventas por Pelcula ( Ordenado por Mayor Venta )
Resumen de Ventas por Genero ( Ordenado por Mayor Venta)
Relacin de Compras por Fecha
http://fundapoder.wordpress.com
@fundapoder
ESCENARIOS
ESCENARIOS SECUNDARIOS
El Cliente Extrava el Carnet por lo cual se le impone una multa
por volver a entregarle uno nuevo.
El Cliente Extrava o daa una pelcula alquilada , por lo que se
exige al cliente que cancele el costo de la misma.
Las pelculas compradas que resulten defectuosas se le
entregan de nuevo al proveedor y se registra dicha devolucin.
http://fundapoder.wordpress.com
@fundapoder
PREVISUALIZACION
Caso de Uso General
Ficha Completo Subcaso. Alquiler en local
1.1 Caso de Uso
Para describir este caso de uso hemos realizado ciertas suposiciones al margen de la especificacin
inicial de requisitos, las cuales exponemos a continuacin:
- En el caso de que el cliente tenga una sancin econmica anterior, sta se cargar al alquiler actual.
- Si no hay copias disponibles del artculo que el cliente desea alquilar, el sistema le permitir
automticamente realizar una reserva del artculo (slo para socios).
- La fianza para los no socios se deber abonar para cada artculo alquilado.
Caso de Uso: Alquiler en Local
Objetivo: Realizar el alquiler de una serie de artculos en el Video-Club.
Actores: Encargado(E)
Precondiciones:
Pasos:
1. E: El caso de uso se inicia cuando el CLIENTE llega al puesto del ENCARGADO con los ARTICULOS
que desea alquilar.
2. E: Inicia el ALQUILER.
3. E: Introduce los datos de identificacin del cliente.
4. S: Valida los datos del cliente.
5. E: Introduce el identificador del ARTICULO.
6. S: Registra la LINEA DE ALQUILER y muestra la descripcin del ARTICULO, su precio y el total
acumulado.
El ENCARGADO repite los pasos 5-6 hasta introducir todos los articulos del alquiler.
7. S: Finaliza el ALQUILER.
8. S: Muestra el total del ALQUILER y pide confirmacin de pago.
9. E: Confirma el pago cuando el cliente le facilita el dinero.
10. S: Registra el alquiler y extiende el recibo en el que figuran los cobros de los distintos
ALQUILERES de los ARTICULOS.
11. E: Extiende los artculos junto al recibo
http://fundapoder.wordpress.com
@fundapoder
Caso de Uso General
http://fundapoder.wordpress.com
@fundapoder
Descripcin del Subcaso con Ficha y Diagrama
http://fundapoder.wordpress.com
@fundapoder
Subcaso
http://fundapoder.wordpress.com
@fundapoder
Subcaso
http://fundapoder.wordpress.com
@fundapoder
CASOS DE USO
SISTEMA DE ALQUILER DE PELICULAS
PROCESOS PRINCIPALES
REGISTRAR CLIENTE
CLIENTE
OPERADOR
REGISTRAR PELICULAS
ALQUILAR PELICULAS
ENTREGAR PELICULAS
ADMINISTRADOR
DEVOLVER PELICULAS
http://fundapoder.wordpress.com
@fundapoder
EMITIR INFORMES
CASO DE USO 1
SISTEMA DE ALQUILER DE PELICULAS
REGISTRAR CLIENTE
<<Incluir>>
<<Incluir>>
OPERADOR
CLIENTE
GUARDAR DATOS
DEL CLIENTE
http://fundapoder.wordpress.com
IMPRIMIR CARNET
@fundapoder
CASO DE USO 2
SISTEMA DE ALQUILER DE PELICULAS
REGISTRAR
PELICULAS
OPERADOR
http://fundapoder.wordpress.com
@fundapoder
CASO DE USO 3
SISTEMA DE ALQUILER DE PELICULAS
ALQUILAR PELICULAS
<<Incluir>>
<<Incluir>>
OPERADOR
CLIENTE
REGISTRAR DATOS
DEL ALQUILER
IMPRIMIR FACTURA
<<Incluir>>
GUARDAR DATOS
DEL ALQUILER
http://fundapoder.wordpress.com
@fundapoder
CASO DE USO 4
SISTEMA DE ALQUILER DE PELICULAS
ENTREGAR PELICULAS
<<Incluir>>
<<Incluir>>
OPERADOR
CLIENTE
REGISTRAR
PEICULAS
ENTREGADAS
http://fundapoder.wordpress.com
ASIGNAR MULTA
@fundapoder
CASO DE USO 5
SISTEMA DE ALQUILER DE PELICULAS
DEVOLVER PELICULAS
<<Incluir>>
<<Incluir>>
OPERADOR
CLIENTE
REGISTRAR
PEICULAS
ENTREGADAS
http://fundapoder.wordpress.com
ASIGNAR MULTA
@fundapoder
CASO DE USO 6
SISTEMA DE ALQUILER DE PELICULAS
<<Incluir>>
ALQUILERES
VENCIDOS
EMITIR INFORMES
<<Incluir>>
ADMINISTRADOR
<<Incluir>>
ALQUILERES
VENCIDOS
<<Incluir>>
ALQUILERES
VENCIDOS
<<Incluir>>
<<Incluir>>
ALQUILERES
VENCIDOS
ALQUILERES
VENCIDOS
http://fundapoder.wordpress.com
@fundapoder
ALQUILERES
VENCIDOS
Diagrama de Actividad
Registrar Clientes
Usuario
:SisAlq
Abrir
Formulario
Buscar
Cdigo
Incluir Cdigo del
Cliente
Existe?
No
Editar Datos
Guardar
Datos
Cerrar
Formulario
http://fundapoder.wordpress.com
@fundapoder
Si
Mostrar Datos
Diagrama de Clases
Administrador
Clientes
Operador
-cedula
-nombre
-telft
-direc
+inscribir()
+alquilarp()
+entregarp()
1
1
-contiene
-contiene
Registro_cliente
-Cedula
-nombre
-telf
-direcc
+incluir()
+busqueda()
+modificar()
+eliminar()
Peliculas
-codigo
-nombre
+emiteinf()
+Registrausu()
-codigo
-nombre
+registracli()
+registrapel()
+registraalq()
+registradev()
+emiteinf()
-contiene
-Codigo
-genero
-censura
-titulo
-precio
+incluir()
+busqueda()
+modificar()
+eliminar() 1
1
Registro_Usuarios
1
-codigo
-nombre
+incluir()
+busqueda()
+modificar()
+eliminar()
1
-alquila *
Alquilar
-nro
-cedula
-usuario
-fecha
-monto
-peliculas
+incluir()
+busqueda()
+eliminar()
http://fundapoder.wordpress.com
-registra
-Contiene
Devolucion
-Registra
*
-contiene
-Entrega
*
@fundapoder
-nro
-cliente
-usuario
-operador
-pelicula
+incluir()
+busqueda()
+eliminar()
DIAGRAMA DE SECUENCIAS
http://fundapoder.wordpress.com
@fundapoder
DIAGRAMA DE SECUENCIAS
http://fundapoder.wordpress.com
@fundapoder
Diagrama de Colaboracin
/ Incluir,Modificar,Eliminar,Busqueda
Administrador
Registro_Cliente
Re
gis
tra
us
u
Entrega
Alquila
Inscribir
clientes
cli
tra
s
i
g
Re
Registro_Usuarios
Operador
Registra
alq
/ Incluir,Modificar,Busqueda,Eliminar
Re
gis
Reg
istra
dev
Alquiler
tr a
pe
l
/ Incluir,Busqueda,Modificar,Eliminar
inar
Elim ir
Inclu
Peliculas
Devolucion
Eliminar
Incluir
http://fundapoder.wordpress.com
@fundapoder
Modelado de la GUI
Pantalla Principal
Barra de Men
Archivos
Procesos
http://fundapoder.wordpress.com
Informes
@fundapoder
Mantenimiento
Modelado de la GUI
Formularios de Entrada de Datos
Cuadro de Edicin
Barra de Actualizacin
http://fundapoder.wordpress.com
@fundapoder
Modelado de la GUI
Formularios de Entrada de Datos
http://fundapoder.wordpress.com
@fundapoder
Modelado de la GUI
Formularios de Salida de Datos
Cuadro de Edicin
Barra de Informes
http://fundapoder.wordpress.com
@fundapoder
Diagrama de Componentes
MY_libreria.DLL
Video.exe
BD_Video.DBC
http://fundapoder.wordpress.com
@fundapoder
Detalle de Componentes
http://fundapoder.wordpress.com
@fundapoder
Monitor
Samsung 15"
Servidor
*
Windows Nt
Diagrama
De
Distribucin
*
MY_libreria.DLL
Impresora Hp
940c
*
Video.exe
*
BD_Video.DBC
*
*
Monitor
14"
Concentrador 4
Ptos
*
*
PC-Cliente
*
PC-cliente
Monitor 14"
-Fin2
Windows Xp
*
-Fin1
MY_libreria.DLL
Video.exe
BD_Video.DBC
http://fundapoder.wordpress.com
@fundapoder