public class FlightAssignment extends AbstractPersistable implements Comparable<FlightAssignment>
id
Constructor and Description |
---|
FlightAssignment() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FlightAssignment o) |
Employee |
getEmployee() |
Flight |
getFlight() |
long |
getFlightDurationInMinutes() |
int |
getIndexInFlight() |
Skill |
getRequiredSkill() |
void |
setEmployee(Employee employee) |
void |
setFlight(Flight flight) |
void |
setIndexInFlight(int indexInFlight) |
void |
setRequiredSkill(Skill requiredSkill) |
String |
toString() |
getId, setId
public long getFlightDurationInMinutes()
public String toString()
toString
in class AbstractPersistable
public Flight getFlight()
public void setFlight(Flight flight)
public int getIndexInFlight()
public void setIndexInFlight(int indexInFlight)
public Skill getRequiredSkill()
public void setRequiredSkill(Skill requiredSkill)
public Employee getEmployee()
public void setEmployee(Employee employee)
public int compareTo(FlightAssignment o)
compareTo
in interface Comparable<FlightAssignment>
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.