Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
FilmActorRelation |
|
| 1.0;1 |
1 | package org.jtheque.films.persistence.od; | |
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 | /** | |
20 | * A relation between a film and an actor. | |
21 | * | |
22 | * @author Baptiste Wicht | |
23 | */ | |
24 | 0 | public final class FilmActorRelation { |
25 | private int theActor; | |
26 | private int theFilm; | |
27 | ||
28 | /** | |
29 | * Return the actor of the relation. | |
30 | * | |
31 | * @return The actor. | |
32 | */ | |
33 | public int getTheActor() { | |
34 | 0 | return theActor; |
35 | } | |
36 | ||
37 | /** | |
38 | * Set the actor of the relation. | |
39 | * | |
40 | * @param theActor The actor. | |
41 | */ | |
42 | public void setTheActor(int theActor) { | |
43 | 0 | this.theActor = theActor; |
44 | 0 | } |
45 | ||
46 | /** | |
47 | * Return the film of the relation. | |
48 | * | |
49 | * @return The film. | |
50 | */ | |
51 | public int getTheFilm() { | |
52 | 0 | return theFilm; |
53 | } | |
54 | ||
55 | /** | |
56 | * Set the film of the relation. | |
57 | * | |
58 | * @param theFilm The film. | |
59 | */ | |
60 | public void setTheFilm(int theFilm) { | |
61 | 0 | this.theFilm = theFilm; |
62 | 0 | } |
63 | } |