Biblioteca Java - Rev 32
Subversion Repositories:
(root)/Courses and labs samples/ISP/Exemple_ISP_Cluj_2015/ElevatorCurs/src/elevatorcurs/model/Job.java @ 34
package elevatorcurs.model;
/**
*
* @author Mihai Hulea mihai.hulea@aut.utcluj.ro
*/
public class Job {
private int destinationFloor;
public Job(int destinationFloor) {
this.destinationFloor = destinationFloor;
}
/**
* @param destinationFloor the destinationFloor to set
*/
public void setDestinationFloor(int destinationFloor) {
this.destinationFloor = destinationFloor;
}
/**
* @return the destinationFloor
*/
public int getDestinationFloor() {
return destinationFloor;
}
}