public class Rollingstock extends Object implements Serializable
Constructor and Description |
---|
Rollingstock() |
Rollingstock(String rollingstockId,
Schedule schedule,
ArrayList<Vehicle> vehicles) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Timestamp |
getCurrentTime() |
int |
getId() |
String |
getRollingstockId() |
String |
getRoute() |
Schedule |
getSchedule() |
List<Vehicle> |
getVehicles() |
int |
hashCode() |
void |
setCurrentTime(Timestamp currentTime) |
void |
setId(int id) |
void |
setRollingstockId(String rollingstockId) |
void |
setRoute(String route) |
void |
setSchedule(Schedule schedule) |
void |
setVehicles(List<Vehicle> vehicles) |
String |
toString() |
public int getId()
public void setId(int id)
public String getRollingstockId()
public void setRollingstockId(String rollingstockId)
public Schedule getSchedule()
public void setSchedule(Schedule schedule)
public String getRoute()
public void setRoute(String route)
public Timestamp getCurrentTime()
public void setCurrentTime(Timestamp currentTime)
Copyright © 2020. All rights reserved.