Biblioteca Java - Blame information for rev 32
Subversion Repositories:
(root)/Courses and labs samples/ISP/Exemple_ISP_Cluj_2015/ElevatorCurs/src/elevatorcurs/model/Job.java
Rev | Author | Line No. | Line |
---|---|---|---|
32 | mihai | 1 | |
2 | package elevatorcurs.model; | ||
3 | |||
4 | /** | ||
5 | * | ||
6 | * @author Mihai Hulea mihai.hulea@aut.utcluj.ro | ||
7 | */ | ||
8 | public class Job { | ||
9 | private int destinationFloor; | ||
10 | |||
11 | public Job(int destinationFloor) { | ||
12 | this.destinationFloor = destinationFloor; | ||
13 | } | ||
14 | |||
15 | /** | ||
16 | * @param destinationFloor the destinationFloor to set | ||
17 | */ | ||
18 | public void setDestinationFloor(int destinationFloor) { | ||
19 | this.destinationFloor = destinationFloor; | ||
20 | } | ||
21 | |||
22 | /** | ||
23 | * @return the destinationFloor | ||
24 | */ | ||
25 | public int getDestinationFloor() { | ||
26 | return destinationFloor; | ||
27 | } | ||
28 | |||
29 | |||
30 | } |