public class MissionJPA
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
MissionJPA()
Instantiates a new mission JPA.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Gets the description.
|
java.util.Date |
getEndDate()
Gets the end date.
|
java.lang.String |
getId()
Gets the id.
|
java.util.Date |
getStartDate()
Gets the start date.
|
java.util.Collection<VehicleJPA> |
getVehicles()
Gets the vehicles.
|
void |
setDescription(java.lang.String description)
Sets the description.
|
void |
setEndDate(java.util.Date endDate)
Sets the end date.
|
void |
setId(java.lang.String id)
Sets the id.
|
void |
setStartDate(java.util.Date startDate)
Sets the start date.
|
void |
setVehicles(java.util.Collection<VehicleJPA> vehicles)
Sets the vehicles.
|
public java.lang.String getId()
public void setId(java.lang.String id)
id
- the new idpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the new descriptionpublic void setStartDate(java.util.Date startDate)
startDate
- the new start datepublic java.util.Date getStartDate()
public void setEndDate(java.util.Date endDate)
endDate
- the new end datepublic java.util.Date getEndDate()
public java.util.Collection<VehicleJPA> getVehicles()
public void setVehicles(java.util.Collection<VehicleJPA> vehicles)
vehicles
- the new vehicles