Package ch.phatec.publibike.entities
Class Vehicle
- java.lang.Object
-
- ch.phatec.publibike.entities.AbstractEntity
-
- ch.phatec.publibike.entities.Vehicle
-
- All Implemented Interfaces:
IEntity
public class Vehicle extends AbstractEntity
- Author:
- thomas pauli | phatec.ch
-
-
Constructor Summary
Constructors Constructor Description Vehicle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetEbikeBatteryLevel()VehicleTypegetType()BooleanisEBike()voidsetEbikeBatteryLevel(BigDecimal ebikeBatteryLevel)voidsetType(VehicleType type)-
Methods inherited from class ch.phatec.publibike.entities.AbstractEntity
getId, getName, setId, setName
-
-
-
-
Method Detail
-
getEbikeBatteryLevel
public BigDecimal getEbikeBatteryLevel()
-
setEbikeBatteryLevel
public void setEbikeBatteryLevel(BigDecimal ebikeBatteryLevel)
-
getType
public VehicleType getType()
-
setType
public void setType(VehicleType type)
-
isEBike
public Boolean isEBike()
-
-