Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
IPersonFormBean |
|
| 1.0;1 |
1 | package org.jtheque.films.view.impl.fb; | |
2 | ||
3 | /* | |
4 | * This file is part of JTheque. | |
5 | * | |
6 | * JTheque is free software: you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License as published by | |
8 | * the Free Software Foundation, either version 3 of the License. | |
9 | * | |
10 | * JTheque is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | * GNU General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU General Public License | |
16 | * along with JTheque. If not, see <http://www.gnu.org/licenses/>. | |
17 | */ | |
18 | ||
19 | import org.jtheque.core.utils.db.Note; | |
20 | import org.jtheque.primary.controller.able.FormBean; | |
21 | import org.jtheque.primary.od.able.Country; | |
22 | ||
23 | /** | |
24 | * @author Baptiste Wicht | |
25 | */ | |
26 | public interface IPersonFormBean extends FormBean { | |
27 | /** | |
28 | * Set the name of the person. | |
29 | * | |
30 | * @param name The name of the person | |
31 | */ | |
32 | void setName(String name); | |
33 | ||
34 | /** | |
35 | * Set the first name of the person. | |
36 | * | |
37 | * @param firstName The first name of the person | |
38 | */ | |
39 | void setFirstName(String firstName); | |
40 | ||
41 | /** | |
42 | * Set the note of the person. | |
43 | * | |
44 | * @param note The note to set. | |
45 | */ | |
46 | void setNote(Note note); | |
47 | ||
48 | /** | |
49 | * Set the country of the person. | |
50 | * | |
51 | * @param country The country to set. | |
52 | */ | |
53 | void setCountry(Country country); | |
54 | ||
55 | /** | |
56 | * Return the name of the person. | |
57 | * | |
58 | * @return The name of the person. | |
59 | */ | |
60 | String getName(); | |
61 | ||
62 | /** | |
63 | * Return the first name of the person. | |
64 | * | |
65 | * @return The first name of the person. | |
66 | */ | |
67 | String getFirstName(); | |
68 | ||
69 | /** | |
70 | * Return the note of the person. | |
71 | * | |
72 | * @return the note. | |
73 | */ | |
74 | Note getNote(); | |
75 | ||
76 | /** | |
77 | * Return the country of the person. | |
78 | * | |
79 | * @return the country. | |
80 | */ | |
81 | Country getCountry(); | |
82 | } |