1 <?xml version="1.0" encoding="UTF-8"?>
2 <dia:diagram xmlns:dia="http://www.lysator.liu.se/~alla/dia/">
4 <dia:attribute name="background">
5 <dia:color val="#ffffff"/>
7 <dia:attribute name="pagebreak">
8 <dia:color val="#000099"/>
10 <dia:attribute name="paper">
11 <dia:composite type="paper">
12 <dia:attribute name="name">
13 <dia:string>#A4#</dia:string>
15 <dia:attribute name="tmargin">
16 <dia:real val="2.8222000598907471"/>
18 <dia:attribute name="bmargin">
19 <dia:real val="2.8222000598907471"/>
21 <dia:attribute name="lmargin">
22 <dia:real val="2.8222000598907471"/>
24 <dia:attribute name="rmargin">
25 <dia:real val="2.8222000598907471"/>
27 <dia:attribute name="is_portrait">
28 <dia:boolean val="false"/>
30 <dia:attribute name="scaling">
31 <dia:real val="0.39172470569610596"/>
33 <dia:attribute name="fitto">
34 <dia:boolean val="true"/>
36 <dia:attribute name="fitwidth">
39 <dia:attribute name="fitheight">
44 <dia:attribute name="grid">
45 <dia:composite type="grid">
46 <dia:attribute name="width_x">
49 <dia:attribute name="width_y">
52 <dia:attribute name="visible_x">
55 <dia:attribute name="visible_y">
58 <dia:composite type="color"/>
61 <dia:attribute name="color">
62 <dia:color val="#d8e5e5"/>
64 <dia:attribute name="guides">
65 <dia:composite type="guides">
66 <dia:attribute name="hguides"/>
67 <dia:attribute name="vguides"/>
71 <dia:layer name="Background" visible="true">
72 <dia:object type="UML - State" version="0" id="O0">
73 <dia:attribute name="obj_pos">
74 <dia:point val="16.05,12.95"/>
76 <dia:attribute name="obj_bb">
77 <dia:rectangle val="16.05,12.95;20.1,14.75"/>
79 <dia:attribute name="elem_corner">
80 <dia:point val="16.05,12.95"/>
82 <dia:attribute name="elem_width">
83 <dia:real val="4.0499999999999998"/>
85 <dia:attribute name="elem_height">
88 <dia:attribute name="line_colour">
89 <dia:color val="#000000"/>
91 <dia:attribute name="fill_colour">
92 <dia:color val="#ffffff"/>
94 <dia:attribute name="text">
95 <dia:composite type="text">
96 <dia:attribute name="string">
97 <dia:string>#Aprobada#</dia:string>
99 <dia:attribute name="font">
100 <dia:font family="sans" style="0" name="Helvetica"/>
102 <dia:attribute name="height">
103 <dia:real val="0.80000000000000004"/>
105 <dia:attribute name="pos">
106 <dia:point val="18.075,14.05"/>
108 <dia:attribute name="color">
109 <dia:color val="#000000"/>
111 <dia:attribute name="alignment">
117 <dia:object type="UML - State" version="0" id="O1">
118 <dia:attribute name="obj_pos">
119 <dia:point val="27.3,5.35"/>
121 <dia:attribute name="obj_bb">
122 <dia:rectangle val="27.3,5.35;31.65,7.15"/>
124 <dia:attribute name="elem_corner">
125 <dia:point val="27.3,5.35"/>
127 <dia:attribute name="elem_width">
128 <dia:real val="4.3499999999999996"/>
130 <dia:attribute name="elem_height">
131 <dia:real val="1.8"/>
133 <dia:attribute name="line_colour">
134 <dia:color val="#000000"/>
136 <dia:attribute name="fill_colour">
137 <dia:color val="#ffffff"/>
139 <dia:attribute name="text">
140 <dia:composite type="text">
141 <dia:attribute name="string">
142 <dia:string>#Rechazada#</dia:string>
144 <dia:attribute name="font">
145 <dia:font family="sans" style="0" name="Helvetica"/>
147 <dia:attribute name="height">
148 <dia:real val="0.80000000000000004"/>
150 <dia:attribute name="pos">
151 <dia:point val="29.475,6.45"/>
153 <dia:attribute name="color">
154 <dia:color val="#000000"/>
156 <dia:attribute name="alignment">
162 <dia:object type="UML - State Term" version="0" id="O2">
163 <dia:attribute name="obj_pos">
164 <dia:point val="4,5.05"/>
166 <dia:attribute name="obj_bb">
167 <dia:rectangle val="4,5.05;5,6.05"/>
169 <dia:attribute name="elem_corner">
170 <dia:point val="4,5.05"/>
172 <dia:attribute name="elem_width">
175 <dia:attribute name="elem_height">
178 <dia:attribute name="is_final">
179 <dia:boolean val="false"/>
182 <dia:object type="UML - State" version="0" id="O3">
183 <dia:attribute name="obj_pos">
184 <dia:point val="30.085,20.435"/>
186 <dia:attribute name="obj_bb">
187 <dia:rectangle val="30.085,20.435;34.085,22.235"/>
189 <dia:attribute name="elem_corner">
190 <dia:point val="30.085,20.435"/>
192 <dia:attribute name="elem_width">
195 <dia:attribute name="elem_height">
196 <dia:real val="1.8"/>
198 <dia:attribute name="line_colour">
199 <dia:color val="#000000"/>
201 <dia:attribute name="fill_colour">
202 <dia:color val="#ffffff"/>
204 <dia:attribute name="text">
205 <dia:composite type="text">
206 <dia:attribute name="string">
207 <dia:string>#Vencida#</dia:string>
209 <dia:attribute name="font">
210 <dia:font family="sans" style="0" name="Helvetica"/>
212 <dia:attribute name="height">
213 <dia:real val="0.80000000000000004"/>
215 <dia:attribute name="pos">
216 <dia:point val="32.085,21.535"/>
218 <dia:attribute name="color">
219 <dia:color val="#000000"/>
221 <dia:attribute name="alignment">
227 <dia:object type="UML - Note" version="0" id="O4">
228 <dia:attribute name="obj_pos">
229 <dia:point val="32.185,5.42"/>
231 <dia:attribute name="obj_bb">
232 <dia:rectangle val="32.135,5.37;43.235,10.37"/>
234 <dia:attribute name="elem_corner">
235 <dia:point val="32.185,5.42"/>
237 <dia:attribute name="elem_width">
240 <dia:attribute name="elem_height">
241 <dia:real val="4.9000000000000004"/>
243 <dia:attribute name="line_colour">
244 <dia:color val="#000000"/>
246 <dia:attribute name="fill_colour">
247 <dia:color val="#ffffff"/>
249 <dia:attribute name="text">
250 <dia:composite type="text">
251 <dia:attribute name="string">
252 <dia:string>#fechaSolicitud = NOT NULL
253 fechaRealizacion = NULL
254 fechaVencimiento = indistinto
256 Fecha Actual indistinto#</dia:string>
258 <dia:attribute name="font">
259 <dia:font family="monospace" style="0" name="Courier"/>
261 <dia:attribute name="height">
262 <dia:real val="0.80000000000000004"/>
264 <dia:attribute name="pos">
265 <dia:point val="32.535,6.67"/>
267 <dia:attribute name="color">
268 <dia:color val="#000000"/>
270 <dia:attribute name="alignment">
276 <dia:object type="UML - Note" version="0" id="O5">
277 <dia:attribute name="obj_pos">
278 <dia:point val="3.085,10.77"/>
280 <dia:attribute name="obj_bb">
281 <dia:rectangle val="3.035,10.72;15.185,15.72"/>
283 <dia:attribute name="elem_corner">
284 <dia:point val="3.085,10.77"/>
286 <dia:attribute name="elem_width">
287 <dia:real val="12.050000000000001"/>
289 <dia:attribute name="elem_height">
290 <dia:real val="4.9000000000000004"/>
292 <dia:attribute name="line_colour">
293 <dia:color val="#000000"/>
295 <dia:attribute name="fill_colour">
296 <dia:color val="#ffffff"/>
298 <dia:attribute name="text">
299 <dia:composite type="text">
300 <dia:attribute name="string">
301 <dia:string>#fechaSolicitud = NOT NULL
302 fechaRealizacion = NULL
303 fechaVencimiento = NOT NULL
305 Fecha Actual <= fechaVencimiento#</dia:string>
307 <dia:attribute name="font">
308 <dia:font family="monospace" style="0" name="Courier"/>
310 <dia:attribute name="height">
311 <dia:real val="0.80000000000000004"/>
313 <dia:attribute name="pos">
314 <dia:point val="3.435,12.02"/>
316 <dia:attribute name="color">
317 <dia:color val="#000000"/>
319 <dia:attribute name="alignment">
325 <dia:object type="Standard - Arc" version="0" id="O6">
326 <dia:attribute name="obj_pos">
327 <dia:point val="5,5.55"/>
329 <dia:attribute name="obj_bb">
330 <dia:rectangle val="4.93186,5.46257;18.3648,13.4098"/>
332 <dia:attribute name="conn_endpoints">
333 <dia:point val="5,5.55"/>
334 <dia:point val="18.075,12.95"/>
336 <dia:attribute name="curve_distance">
337 <dia:real val="-2.2804090919351951"/>
339 <dia:attribute name="end_arrow">
342 <dia:attribute name="end_arrow_length">
343 <dia:real val="0.5"/>
345 <dia:attribute name="end_arrow_width">
346 <dia:real val="0.5"/>
349 <dia:connection handle="0" to="O2" connection="4"/>
350 <dia:connection handle="1" to="O0" connection="1"/>
353 <dia:object type="Standard - Arc" version="0" id="O7">
354 <dia:attribute name="obj_pos">
355 <dia:point val="5,5.05"/>
357 <dia:attribute name="obj_bb">
358 <dia:rectangle val="4.94739,4.10807;27.3768,6.75196"/>
360 <dia:attribute name="conn_endpoints">
361 <dia:point val="5,5.05"/>
362 <dia:point val="27.3,6.25"/>
364 <dia:attribute name="curve_distance">
365 <dia:real val="-1.4299800000000018"/>
367 <dia:attribute name="end_arrow">
370 <dia:attribute name="end_arrow_length">
371 <dia:real val="0.5"/>
373 <dia:attribute name="end_arrow_width">
374 <dia:real val="0.5"/>
377 <dia:connection handle="0" to="O2" connection="2"/>
378 <dia:connection handle="1" to="O1" connection="3"/>
381 <dia:object type="Standard - Text" version="0" id="O8">
382 <dia:attribute name="obj_pos">
383 <dia:point val="15.05,8.77002"/>
385 <dia:attribute name="obj_bb">
386 <dia:rectangle val="15.05,8.17002;18.4,9.12002"/>
388 <dia:attribute name="text">
389 <dia:composite type="text">
390 <dia:attribute name="string">
391 <dia:string>#1) Aprobar#</dia:string>
393 <dia:attribute name="font">
394 <dia:font family="sans" style="0" name="Helvetica"/>
396 <dia:attribute name="height">
397 <dia:real val="0.80000000000000004"/>
399 <dia:attribute name="pos">
400 <dia:point val="15.05,8.77002"/>
402 <dia:attribute name="color">
403 <dia:color val="#000000"/>
405 <dia:attribute name="alignment">
411 <dia:object type="Standard - Text" version="0" id="O9">
412 <dia:attribute name="obj_pos">
413 <dia:point val="11.235,3.72002"/>
415 <dia:attribute name="obj_bb">
416 <dia:rectangle val="11.235,3.12002;14.885,4.07002"/>
418 <dia:attribute name="text">
419 <dia:composite type="text">
420 <dia:attribute name="string">
421 <dia:string>#2) Rechazar#</dia:string>
423 <dia:attribute name="font">
424 <dia:font family="sans" style="0" name="Helvetica"/>
426 <dia:attribute name="height">
427 <dia:real val="0.80000000000000004"/>
429 <dia:attribute name="pos">
430 <dia:point val="11.235,3.72002"/>
432 <dia:attribute name="color">
433 <dia:color val="#000000"/>
435 <dia:attribute name="alignment">
441 <dia:object type="UML - State" version="0" id="O10">
442 <dia:attribute name="obj_pos">
443 <dia:point val="16.385,24.055"/>
445 <dia:attribute name="obj_bb">
446 <dia:rectangle val="16.385,24.055;20.385,25.855"/>
448 <dia:attribute name="elem_corner">
449 <dia:point val="16.385,24.055"/>
451 <dia:attribute name="elem_width">
454 <dia:attribute name="elem_height">
455 <dia:real val="1.8"/>
457 <dia:attribute name="line_colour">
458 <dia:color val="#000000"/>
460 <dia:attribute name="fill_colour">
461 <dia:color val="#ffffff"/>
463 <dia:attribute name="text">
464 <dia:composite type="text">
465 <dia:attribute name="string">
466 <dia:string>#Realizada#</dia:string>
468 <dia:attribute name="font">
469 <dia:font family="sans" style="0" name="Helvetica"/>
471 <dia:attribute name="height">
472 <dia:real val="0.80000000000000004"/>
474 <dia:attribute name="pos">
475 <dia:point val="18.385,25.155"/>
477 <dia:attribute name="color">
478 <dia:color val="#000000"/>
480 <dia:attribute name="alignment">
486 <dia:object type="Standard - Arc" version="0" id="O11">
487 <dia:attribute name="obj_pos">
488 <dia:point val="16.05,14.75"/>
490 <dia:attribute name="obj_bb">
491 <dia:rectangle val="15.8418,14.6892;18.9069,24.2264"/>
493 <dia:attribute name="conn_endpoints">
494 <dia:point val="16.05,14.75"/>
495 <dia:point val="18.41,24.055"/>
497 <dia:attribute name="curve_distance">
500 <dia:attribute name="end_arrow">
503 <dia:attribute name="end_arrow_length">
504 <dia:real val="0.5"/>
506 <dia:attribute name="end_arrow_width">
507 <dia:real val="0.5"/>
510 <dia:connection handle="0" to="O0" connection="5"/>
511 <dia:connection handle="1" to="O10" connection="1"/>
514 <dia:object type="Standard - Text" version="0" id="O12">
515 <dia:attribute name="obj_pos">
516 <dia:point val="9.15,18.97"/>
518 <dia:attribute name="obj_bb">
519 <dia:rectangle val="9.15,18.37;16.05,20.12"/>
521 <dia:attribute name="text">
522 <dia:composite type="text">
523 <dia:attribute name="string">
524 <dia:string>#3) Prestador informa
525 Autorizacion Realizada#</dia:string>
527 <dia:attribute name="font">
528 <dia:font family="sans" style="0" name="Helvetica"/>
530 <dia:attribute name="height">
531 <dia:real val="0.80000000000000004"/>
533 <dia:attribute name="pos">
534 <dia:point val="9.15,18.97"/>
536 <dia:attribute name="color">
537 <dia:color val="#000000"/>
539 <dia:attribute name="alignment">
545 <dia:object type="UML - Note" version="0" id="O13">
546 <dia:attribute name="obj_pos">
547 <dia:point val="4.785,22.455"/>
549 <dia:attribute name="obj_bb">
550 <dia:rectangle val="4.735,22.405;15.835,27.405"/>
552 <dia:attribute name="elem_corner">
553 <dia:point val="4.785,22.455"/>
555 <dia:attribute name="elem_width">
558 <dia:attribute name="elem_height">
559 <dia:real val="4.9000000000000004"/>
561 <dia:attribute name="line_colour">
562 <dia:color val="#000000"/>
564 <dia:attribute name="fill_colour">
565 <dia:color val="#ffffff"/>
567 <dia:attribute name="text">
568 <dia:composite type="text">
569 <dia:attribute name="string">
570 <dia:string>#fechaSolicitud = NOT NULL
571 fechaRealizacion = NOT NULL
572 fechaVencimiento = indistinto
574 Fecha Actual indistinto#</dia:string>
576 <dia:attribute name="font">
577 <dia:font family="monospace" style="0" name="Courier"/>
579 <dia:attribute name="height">
580 <dia:real val="0.80000000000000004"/>
582 <dia:attribute name="pos">
583 <dia:point val="5.135,23.705"/>
585 <dia:attribute name="color">
586 <dia:color val="#000000"/>
588 <dia:attribute name="alignment">
594 <dia:object type="UML - Note" version="0" id="O14">
595 <dia:attribute name="obj_pos">
596 <dia:point val="30.435,22.655"/>
598 <dia:attribute name="obj_bb">
599 <dia:rectangle val="30.385,22.605;42.185,26.805"/>
601 <dia:attribute name="elem_corner">
602 <dia:point val="30.435,22.655"/>
604 <dia:attribute name="elem_width">
605 <dia:real val="11.700000000000001"/>
607 <dia:attribute name="elem_height">
608 <dia:real val="4.1000000000000005"/>
610 <dia:attribute name="line_colour">
611 <dia:color val="#000000"/>
613 <dia:attribute name="fill_colour">
614 <dia:color val="#ffffff"/>
616 <dia:attribute name="text">
617 <dia:composite type="text">
618 <dia:attribute name="string">
619 <dia:string>#fechaSolicitud = NOT NULL
620 fechaRealizacion = NULL
621 fechaVencimiento = NOT NULL
622 Fecha Actual > fechaVencimiento#</dia:string>
624 <dia:attribute name="font">
625 <dia:font family="monospace" style="0" name="Courier"/>
627 <dia:attribute name="height">
628 <dia:real val="0.80000000000000004"/>
630 <dia:attribute name="pos">
631 <dia:point val="30.785,23.905"/>
633 <dia:attribute name="color">
634 <dia:color val="#000000"/>
636 <dia:attribute name="alignment">
642 <dia:object type="Standard - Arc" version="0" id="O15">
643 <dia:attribute name="obj_pos">
644 <dia:point val="20.1,14.75"/>
646 <dia:attribute name="obj_bb">
647 <dia:rectangle val="20.0307,14.6807;30.402,21.7799"/>
649 <dia:attribute name="conn_endpoints">
650 <dia:point val="20.1,14.75"/>
651 <dia:point val="30.085,21.335"/>
653 <dia:attribute name="curve_distance">
656 <dia:attribute name="end_arrow">
659 <dia:attribute name="end_arrow_length">
660 <dia:real val="0.5"/>
662 <dia:attribute name="end_arrow_width">
663 <dia:real val="0.5"/>
666 <dia:connection handle="0" to="O0" connection="7"/>
667 <dia:connection handle="1" to="O3" connection="3"/>
670 <dia:object type="Standard - Text" version="0" id="O16">
671 <dia:attribute name="obj_pos">
672 <dia:point val="23.15,17.07"/>
674 <dia:attribute name="obj_bb">
675 <dia:rectangle val="23.15,16.47;28.9,18.22"/>
677 <dia:attribute name="text">
678 <dia:composite type="text">
679 <dia:attribute name="string">
680 <dia:string>#4) Fecha Actual >
681 fechaVencimiento#</dia:string>
683 <dia:attribute name="font">
684 <dia:font family="sans" style="0" name="Helvetica"/>
686 <dia:attribute name="height">
687 <dia:real val="0.80000000000000004"/>
689 <dia:attribute name="pos">
690 <dia:point val="23.15,17.07"/>
692 <dia:attribute name="color">
693 <dia:color val="#000000"/>
695 <dia:attribute name="alignment">
701 <dia:object type="Standard - Text" version="0" id="O17">
702 <dia:attribute name="obj_pos">
703 <dia:point val="4.235,-3.09248"/>
705 <dia:attribute name="obj_bb">
706 <dia:rectangle val="4.235,-3.79248;16.285,-2.59248"/>
708 <dia:attribute name="text">
709 <dia:composite type="text">
710 <dia:attribute name="string">
711 <dia:string>#AUTORIZACION AUTOMATICA#</dia:string>
713 <dia:attribute name="font">
714 <dia:font family="sans" style="80" name="Helvetica"/>
716 <dia:attribute name="height">
719 <dia:attribute name="pos">
720 <dia:point val="4.235,-3.09248"/>
722 <dia:attribute name="color">
723 <dia:color val="#000000"/>
725 <dia:attribute name="alignment">
731 <dia:object type="UML - Note" version="0" id="O18">
732 <dia:attribute name="obj_pos">
733 <dia:point val="12.885,29.37"/>
735 <dia:attribute name="obj_bb">
736 <dia:rectangle val="12.835,29.32;38.585,34.32"/>
738 <dia:attribute name="elem_corner">
739 <dia:point val="12.885,29.37"/>
741 <dia:attribute name="elem_width">
742 <dia:real val="25.649999999999999"/>
744 <dia:attribute name="elem_height">
745 <dia:real val="4.9000000000000004"/>
747 <dia:attribute name="line_colour">
748 <dia:color val="#000000"/>
750 <dia:attribute name="fill_colour">
751 <dia:color val="#ffffff"/>
753 <dia:attribute name="text">
754 <dia:composite type="text">
755 <dia:attribute name="string">
756 <dia:string>#EVENTOS:
757 1) CU "Pedir autorizacion automatica" - Actor Operador
758 2) CU "Pedir autorizacion automatica" - Actor Operador
759 3) CU "Recibir y cotejar Consumos y Prestaciones" - Prestador y Sistema
760 4) Depende del Tiempo#</dia:string>
762 <dia:attribute name="font">
763 <dia:font family="monospace" style="0" name="Courier"/>
765 <dia:attribute name="height">
766 <dia:real val="0.80000000000000004"/>
768 <dia:attribute name="pos">
769 <dia:point val="13.235,30.62"/>
771 <dia:attribute name="color">
772 <dia:color val="#000000"/>
774 <dia:attribute name="alignment">
780 <dia:object type="UML - Note" version="0" id="O19">
781 <dia:attribute name="obj_pos">
782 <dia:point val="17.935,-4.82998"/>
784 <dia:attribute name="obj_bb">
785 <dia:rectangle val="17.885,-4.87998;44.035,3.32002"/>
787 <dia:attribute name="elem_corner">
788 <dia:point val="17.935,-4.82998"/>
790 <dia:attribute name="elem_width">
791 <dia:real val="26.049999999999997"/>
793 <dia:attribute name="elem_height">
794 <dia:real val="8.0999999999999996"/>
796 <dia:attribute name="line_colour">
797 <dia:color val="#000000"/>
799 <dia:attribute name="fill_colour">
800 <dia:color val="#ffffff"/>
802 <dia:attribute name="text">
803 <dia:composite type="text">
804 <dia:attribute name="string">
805 <dia:string>#IMPORTANTE: COMO INTERPRETAR EL DIAGRAMA
806 - Las notas que aparecen al lado de cada estado, establecen qué valor(ó
807 rango de valores) debe tener cada uno de los atributos mencionados, para
808 que quien se encargue de evaluar el estado (método getEstado() )
809 determine en qué estado está.
810 - Que un atributo diga "indistinto", significa que el algoritmo que
811 evalúe el estado NO debe tener en cuenta ese atributo: _NO_ significa
812 que el atributo esté seteado ó no. Directamente no hay que tenerlo en
813 cuenta para evaluar ese estado en particular.#</dia:string>
815 <dia:attribute name="font">
816 <dia:font family="monospace" style="0" name="Courier"/>
818 <dia:attribute name="height">
819 <dia:real val="0.80000000000000004"/>
821 <dia:attribute name="pos">
822 <dia:point val="18.285,-3.57998"/>
824 <dia:attribute name="color">
825 <dia:color val="#000000"/>
827 <dia:attribute name="alignment">