java.lang.Object | |
↳ | com.commsignia.v2x.client.model.EnergyStorageType |
Represents the energy storage type in a CAM message.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
EnergyStorageType(boolean hydrogenStorage, boolean electricEnergyStorage, boolean liquidPropaneGas, boolean compressedNaturalGas, boolean diesel, boolean gasoline, boolean ammonia)
Creates a new instace.
| |||||||||||
EnergyStorageType()
Creates a new instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
int | hashCode() | ||||||||||
boolean |
isAmmonia()
Returns whether the vehicle has ammonia tank.
| ||||||||||
boolean |
isCompressedNaturalGas()
Returns whether the vehicle has compressed natural gas tank.
| ||||||||||
boolean |
isDiesel()
Returns whether the vehicle has diesel tank.
| ||||||||||
boolean |
isElectricEnergyStorage()
Returns whether the vehicle has electric energy storage.
| ||||||||||
boolean |
isGasoline()
Returns whether the vehicle has gasoline tank.
| ||||||||||
boolean |
isHydrogenStorage()
Returns information whether the vehicle has hydrogen storage.
| ||||||||||
boolean |
isLiquidPropaneGas()
Returns whether the vehicle has liquid propane gas tank.
| ||||||||||
EnergyStorageType |
setAmmonia(boolean ammonia)
Sets whether the vehicle has ammonia tank.
| ||||||||||
EnergyStorageType |
setCompressedNaturalGas(boolean compressedNaturalGas)
Sets whether the vehicle has compressed natural gas tank.
| ||||||||||
EnergyStorageType |
setDiesel(boolean diesel)
Sets whether the vehicle has diesel tank.
| ||||||||||
EnergyStorageType |
setElectricEnergyStorage(boolean electricEnergyStorage)
Sets whether the vehicle has electric energy storage.
| ||||||||||
EnergyStorageType |
setGasoline(boolean gasoline)
Returns whether the vehicle has gasoline tank.
| ||||||||||
EnergyStorageType |
setHydrogenStorage(boolean hydrogenStorage)
Sets whether the vehicle has hydrogen storage.
| ||||||||||
EnergyStorageType |
setLiquidPropaneGas(boolean liquidPropaneGas)
Sets whether the vehicle has liquid propane gas tank.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new instace.
hydrogenStorage | true if the vehicle has hydrogen storage |
---|---|
electricEnergyStorage | true if the vehicle has electric energy storage |
liquidPropaneGas | true if the vehicle has liquid propane gas storage |
compressedNaturalGas | true if the vehicle has compressed natural gas storage |
diesel | true if the vehicle has a diesel tank |
gasoline | true if the vehicle has a gasoline tank |
ammonia | true if the vehicle has a ammonia tank |
Creates a new instance.
Returns whether the vehicle has ammonia tank.
Returns whether the vehicle has compressed natural gas tank.
Returns whether the vehicle has diesel tank.
Returns whether the vehicle has electric energy storage.
Returns whether the vehicle has gasoline tank.
Returns information whether the vehicle has hydrogen storage.
Returns whether the vehicle has liquid propane gas tank.
Sets whether the vehicle has ammonia tank.
ammonia | true if the vehicle has ammonia tank. |
---|
Sets whether the vehicle has compressed natural gas tank.
compressedNaturalGas | true if the vehicle has compressed natural gas tank. |
---|
Sets whether the vehicle has diesel tank.
diesel | true if the vehicle has diesel tank. |
---|
Sets whether the vehicle has electric energy storage.
electricEnergyStorage | true if the vehicle has electric energy storage |
---|
Returns whether the vehicle has gasoline tank.
gasoline | true if the vehicle has gasoline tank. |
---|
Sets whether the vehicle has hydrogen storage.
hydrogenStorage | true if the vehicle has hydrogen storage |
---|
Sets whether the vehicle has liquid propane gas tank.
liquidPropaneGas | true if the vehicle has liquid propane gas container |
---|