casos de uso y los diagramas de robustez

This commit is contained in:
fede committed 2026-09-11 17:56:07 -03:00
1 parent 0162022c82
commit 59ffe628a9
7 files changed
+217

No files matched your search

@@ -0,0 +1,37 @@
#+begin_src plantuml :file ../08_Registrar_Comentario.png
@startuml
left to right direction
actor "Empleado" as emp
package "Interfaces" {
boundary "Interfaz Registro\nde Comentario" as UI_Comentario
boundary "Mensaje de Error\n(Longitud Excedida)" as UI_Error
}
package "Controles" {
control "Gestionar Comentario" as C_Comentario
}
package "Entidades" {
entity "Stock" as E_Comentario
}
' --- Camino Feliz (1 - 3) ---
' 1 y 2. El empleado decide agregar un comentario y lo proporciona
emp --> UI_Comentario : 1 y 2. Selecciona ítem e\ningresa comentario
UI_Comentario --> C_Comentario : Solicita registrar comentario
' 3. El sistema registra el comentario u observación
C_Comentario --> E_Comentario : 3. Registra comentario
' --- Excepción E1 ---
' E1. Comentario supera los 60 caracteres
C_Comentario ..> UI_Error : [E1: Supera 60 caracteres]
UI_Error --> emp : Informa exceso de longitud\n(Empleado corrige)
@enduml
#+end_src
#+RESULTS:
[[file:../08_Registrar_Comentario.png]]
@@ -0,0 +1,41 @@
#+begin_src plantuml :file ../09_Generar_Reporte.png
@startuml
left to right direction
actor "Empleado" as emp
package "Interfaces" {
boundary "Interfaz Generación\nde Reporte" as UI_Reporte
boundary "Mensaje: Sin Datos\nDisponibles" as UI_Error
}
package "Controles" {
control "Gestionar Reporte\nde Stock" as C_Reporte
}
package "Entidades" {
entity "Stock / Existencia" as E_Stock
}
' --- Camino Feliz (1 - 4) ---
' 1. El empleado define repuestos, almacenes y rango de fechas
emp --> UI_Reporte : 1. Define repuestos, almacenes\ny rango de fechas
UI_Reporte --> C_Reporte : Transmite criterios de consulta
' 2. El sistema obtiene la información correspondiente
C_Reporte --> E_Stock : 2. Obtiene datos registrados
' 3 y 4. El sistema genera y presenta el reporte al empleado
C_Reporte --> UI_Reporte : 3. Genera y envía reporte
UI_Reporte --> emp : 4. Presenta reporte de stock
' --- Excepción E1 ---
' E1. No existen datos para generar el reporte
C_Reporte ..> UI_Error : [E1: No existen datos]
UI_Error --> emp : Informa situación al empleado
@enduml
#+end_src
#+RESULTS:
[[file:../09_Generar_Reporte.png]]