@@ -4,7 +4,7 @@ package rubrica {
4
4
package controllers {
5
5
class GenericController {
6
6
+ GenericController ():
7
- - listaContatti: ObservableList<ContattoEsteso >
7
+ - listaContatti: ObservableList<Contatto >
8
8
- rubrica : Rubrica
9
9
+ mostraDialog(AlertType, String, String): void
10
10
+ controllaCampiObbligatori(String, String) : boolean
@@ -15,21 +15,34 @@ package rubrica {
15
15
16
16
class RubricaController {
17
17
+ RubricaController ()
18
- - contattoSelezionato : ContattoEsteso
19
- - contattiFiltratiPreferiti: FilteredList<ContattoEsteso >
20
- - filteredContatti: FilteredList<ContattoEsteso >
21
- - contattiFiltratiEmergenza: FilteredList<ContattoEsteso >
18
+ - contattoSelezionato : Contatto
19
+ - contattiFiltratiPreferiti: FilteredList<Contatto >
20
+ - filteredContatti: FilteredList<Contatto >
21
+ - contattiFiltratiEmergenza: FilteredList<Contatto >
22
22
+ initialize(URL, ResourceBundle): void
23
+ + handleNuovoContatto ():void
23
24
- filtraContatti(String): void
24
- - mostraDettaglioContatti(ContattoEsteso): void
25
- - setEditableAll(boolean): void
25
+ - mostraDettaglioContatti(Contatto): void
26
26
- openWebpage(String): void
27
+ - setEditableAll(boolean): void
28
+ + handleEliminaContatto (): void
29
+ + handleModificaContatto (): void
30
+ - gestioneSalvaModifiche ():void
31
+ - showRubrica ():void
32
+ - showPreferiti ():void
33
+ - showEmergenza ():void
34
+ - toggleEmergenza ():void
35
+ - togglePreferiti (): void
36
+ - openGit ():void
37
+ - handleImportRubrica ():void
38
+ - handleExportRubrica (): void
39
+ - handleExportContatto (): void
27
40
28
41
}
29
42
30
43
class CreaContattoController {
31
- + CreaContattoController ()
32
- + initialize (URL, ResourceBundle) : void
44
+ + handleAggiungiContatto(ActionEvent): void
45
+
33
46
}
34
47
35
48
}
@@ -45,17 +58,17 @@ package rubrica {
45
58
46
59
class Rubrica {
47
60
+ Rubrica ():
48
- - rubrica: Map<Integer, ContattoEsteso >
49
- + ricercaContatto(ContattoEsteso ): ContattoEsteso
50
- + rimuoviContatto(ContattoEsteso ): ContattoEsteso
51
- + aggiornaContatto(ContattoEsteso ): Boolean
61
+ - rubrica: Map<Integer, Contatto >
62
+ + ricercaContatto(Contatto ): Contatto
63
+ + rimuoviContatto(Contatto ): Contatto
64
+ + aggiornaContatto(Contatto ): Boolean
52
65
+ toString (): String
53
- + aggiungiContatto(ContattoEsteso ): ContattoEsteso
54
- + aggiungiContattoEVerifica(ContattoEsteso): Boolean
66
+ + aggiungiContatto(Contatto ): Contatto
67
+
55
68
}
56
69
57
70
58
- class Contatto {
71
+ abstract class Contatto {
59
72
+ Contatto ():
60
73
+ Contatto(String, String, String, String, String, Boolean, Boolean):
61
74
- cognome : String
@@ -89,7 +102,6 @@ package rubrica {
89
102
+ toString (): String
90
103
+ hashCode (): int
91
104
- generaId (): Integer
92
- + equals(Object): boolean
93
105
94
106
}
95
107
@@ -99,16 +111,12 @@ package rubrica {
99
111
package gestoreIO {
100
112
101
113
class Export {
102
- + Export ():
103
- - path : String
104
- + getVcard(ContattoEsteso): String
114
+ + getVcard(Contatto): String
105
115
+ esportaRubrica(Rubrica): void
106
- + esportaContatto(ContattoEsteso ): void
116
+ + esportaContatto(Contatto ): void
107
117
}
108
118
109
119
class Import {
110
- + Import ():
111
- - path : String
112
120
+ importVcard(Rubrica, String): void
113
121
}
114
122
}
0 commit comments