public class Schedule extends Object implements Serializable
Constructor and Description |
---|
Schedule() |
Schedule(String destination,
String departureStation,
Date departureDate,
Time departureTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getDepartureDate() |
String |
getDepartureStation() |
Time |
getDepartureTime() |
String |
getDestination() |
int |
getId() |
int |
hashCode() |
void |
setDepartureDate(Date departureDate) |
void |
setDepartureStation(String departureStation) |
void |
setDepartureTime(Time departureTime) |
void |
setDestination(String destination) |
void |
setId(int id) |
String |
toString() |
public int getId()
public void setId(int id)
public Date getDepartureDate()
public void setDepartureDate(Date departureDate)
public Time getDepartureTime()
public void setDepartureTime(Time departureTime)
public String getDestination()
public void setDestination(String destination)
public String getDepartureStation()
public void setDepartureStation(String departureStation)
Copyright © 2020. All rights reserved.