public class PositionJPA
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PositionJPA()
Instantiates a new position JPA.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Float |
getAltitude()
Gets the altitude.
|
GpsState |
getGps()
Gets the gps.
|
java.lang.Integer |
getId()
Gets the id.
|
java.lang.Double |
getLatitude()
Gets the latitude.
|
java.lang.Double |
getLongitude()
Gets the longitude.
|
java.util.Date |
getPositionTimeStamp()
Gets the position time stamp.
|
java.lang.Float |
getSpeed()
Gets the speed.
|
VehicleJPA |
getVehicle()
Gets the vehicle.
|
void |
setAltitude(java.lang.Float altitude)
Sets the altitude.
|
void |
setGps(GpsState gps)
Sets the gps.
|
void |
setId(java.lang.Integer id)
Sets the id.
|
void |
setLatitude(java.lang.Double latitude)
Sets the latitude.
|
void |
setLongitude(java.lang.Double longitude)
Sets the longitude.
|
void |
setPositionTimeStamp(java.util.Date positionTimeStamp)
Sets the position time stamp.
|
void |
setSpeed(java.lang.Float Speed)
Sets the speed.
|
void |
setVehicle(VehicleJPA vehicle)
Sets the vehicle.
|
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
id
- the new idpublic java.util.Date getPositionTimeStamp()
public void setPositionTimeStamp(java.util.Date positionTimeStamp)
positionTimeStamp
- the new position time stamppublic java.lang.Double getLatitude()
public void setLatitude(java.lang.Double latitude)
latitude
- the new latitudepublic java.lang.Double getLongitude()
public void setLongitude(java.lang.Double longitude)
longitude
- the new longitudepublic java.lang.Float getAltitude()
public void setAltitude(java.lang.Float altitude)
altitude
- the new altitudepublic java.lang.Float getSpeed()
public void setSpeed(java.lang.Float Speed)
Speed
- the new speedpublic GpsState getGps()
public void setGps(GpsState gps)
gps
- the new gpspublic VehicleJPA getVehicle()
public void setVehicle(VehicleJPA vehicle)
vehicle
- the new vehicle