public class VehicleJPA
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
VehicleJPA()
Instantiates a new vehicle JPA.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBrand()
Gets the brand.
|
java.lang.String |
getColor()
Gets the color.
|
DeviceJPA |
getDevice()
Gets the device.
|
MissionJPA |
getMission()
Gets the mission.
|
java.lang.String |
getModel()
Gets the model.
|
java.lang.String |
getPlate()
Gets the plate.
|
java.util.Collection<PositionJPA> |
getPositions()
Gets the positions.
|
void |
setBrand(java.lang.String brand)
Sets the brand.
|
void |
setColor(java.lang.String color)
Sets the color.
|
void |
setDevice(DeviceJPA device)
Sets the device.
|
void |
setMission(MissionJPA mission)
Sets the mission.
|
void |
setModel(java.lang.String model)
Sets the model.
|
void |
setPlate(java.lang.String plate)
Sets the plate.
|
void |
setPositions(java.util.Collection<PositionJPA> positions)
Sets the positions.
|
public java.lang.String getPlate()
public void setPlate(java.lang.String plate)
plate
- the new platepublic java.lang.String getBrand()
public void setBrand(java.lang.String brand)
brand
- the new brandpublic java.lang.String getModel()
public void setModel(java.lang.String model)
model
- the new modelpublic java.lang.String getColor()
public void setColor(java.lang.String color)
color
- the new colorpublic MissionJPA getMission()
public void setMission(MissionJPA mission)
mission
- the new missionpublic DeviceJPA getDevice()
public void setDevice(DeviceJPA device)
device
- the new devicepublic java.util.Collection<PositionJPA> getPositions()
public void setPositions(java.util.Collection<PositionJPA> positions)
positions
- the new positions