Package wrsp.data.model
Class Job
java.lang.Object
wrsp.data.model.Job
This class models a job that needs to be done by an employee, at a given place, within a given time window.
A job has a unique identifier and a duration.
A job may require one or more skills to be performed.
It may also have a due end date for its execution.
-
Constructor Summary
ConstructorsConstructorDescriptionJob(String id, Duration duration, GeoLocation location) Job(String id, Duration duration, GeoLocation location, LocalDateTime dueEndDate, LocalTime startTimeWindow, LocalTime endTimeWindow) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRequiredSkill(String skill) booleangetId()inthashCode()toString()
-
Constructor Details
-
Job
-
Job
public Job(String id, Duration duration, GeoLocation location, LocalDateTime dueEndDate, LocalTime startTimeWindow, LocalTime endTimeWindow)
-
-
Method Details