public class PositionsBean
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PositionsBean()
Instantiates a new positions bean.
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getEndDate()
Gets the end date.
|
float |
getLatitud()
Gets the latitud.
|
float |
getLongitud()
Gets the longitud.
|
java.lang.String |
getPlate()
Gets the plate.
|
java.util.Collection<PositionJPA> |
getPositions()
Gets the positions.
|
java.util.Collection<PositionJPA> |
getPositionsTable()
Gets the positions table.
|
void |
getRealTime()
Gets the real time.
|
java.util.Date |
getStartDate()
Gets the start date.
|
java.util.Collection<VehicleJPA> |
getVehicles()
Gets the vehicles.
|
java.util.Collection<java.lang.String> |
getVehiclesId()
Gets the vehicles id.
|
void |
init()
Inits the.
|
void |
preProcess(java.lang.Object doc)
Pre process.
|
void |
retrievePositions()
Retrieve positions.
|
void |
retrievePositionsTable()
Retrieve positions table.
|
void |
setEndDate(java.util.Date endDate)
Sets the end date.
|
void |
setLatitud(float latitud)
Sets the latitud.
|
void |
setLongitud(float longitud)
Sets the longitud.
|
void |
setPlate(java.lang.String plate)
Sets the plate.
|
void |
setPositions(java.util.Collection<PositionJPA> positions)
Sets the positions.
|
void |
setPositionsTable(java.util.Collection<PositionJPA> positionsTable)
Sets the positions table.
|
void |
setStartDate(java.util.Date startDate)
Sets the start date.
|
java.lang.String |
setValues()
Sets the values.
|
void |
setVehicles(java.util.Collection<VehicleJPA> vehicles)
Sets the vehicles.
|
void |
setVehiclesId(java.util.Collection<java.lang.String> vehiclesId)
Sets the vehicles id.
|
public float getLatitud()
public void setLatitud(float latitud)
latitud
- the new latitudpublic float getLongitud()
public void setLongitud(float longitud)
longitud
- the new longitudpublic java.util.Collection<PositionJPA> getPositions()
public void setPositions(java.util.Collection<PositionJPA> positions)
positions
- the new positionspublic java.util.Collection<PositionJPA> getPositionsTable()
public void setPositionsTable(java.util.Collection<PositionJPA> positionsTable)
positionsTable
- the new positions tablepublic java.util.Collection<VehicleJPA> getVehicles()
public void setVehicles(java.util.Collection<VehicleJPA> vehicles)
vehicles
- the new vehiclespublic java.lang.String getPlate()
public void setPlate(java.lang.String plate)
plate
- the new platepublic java.util.Collection<java.lang.String> getVehiclesId()
public void setVehiclesId(java.util.Collection<java.lang.String> vehiclesId)
vehiclesId
- the new vehicles idpublic java.util.Date getStartDate()
public void setStartDate(java.util.Date startDate)
startDate
- the new start datepublic java.util.Date getEndDate()
public void setEndDate(java.util.Date endDate)
endDate
- the new end datepublic void retrievePositions()
public void retrievePositionsTable()
public void getRealTime()
public java.lang.String setValues()
@PostConstruct public void init()
public void preProcess(java.lang.Object doc) throws java.io.IOException, BadElementException, DocumentException
doc
- the docjava.io.IOException
- Signals that an I/O exception has occurred.BadElementException
- the bad element exceptionDocumentException
- the document exception