java.lang.Object | |
↳ | com.commsignia.v2x.client.model.DangerousGoodsExtended |
Provides information on the type of dangerous goods, the required emergency action and other information. Usually stored in the stationaryVehicle alacarte container if a vehicle carrying dangerous goods is involved in a stationary vehicle event.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DangerousGoodsExtended()
Create a new Dangerous Goods container
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
equals(Object o)
| ||||||||||
String |
getCompanyName()
Returns the name of the company that manages the transportation of dangerous goods.
| ||||||||||
DangerousGoodsBasicCategory |
getDangerousGoodsType()
Returns the dangerous goods type.
| ||||||||||
String |
getEmergencyActionCode()
Returns the emergency action code
| ||||||||||
String |
getPhoneNumber()
Returns the phone number
| ||||||||||
long |
getUnNumber()
Returns the identifier of the substance of the dangerous goods.
| ||||||||||
int |
hashCode()
| ||||||||||
boolean |
isElevatedTemperature()
Returns true if the carried dangerous goods are transported at high temperature.
| ||||||||||
boolean |
isLimitedQuantity()
Returns the value of the limited quantity flag
| ||||||||||
boolean |
isTunnelsRestricted()
Returns the tunnel restricted value
| ||||||||||
DangerousGoodsExtended |
setCompanyName(String companyName)
Set the name of company that manages the transportation of dangerous goods.
| ||||||||||
DangerousGoodsExtended |
setDangerousGoodsType(DangerousGoodsBasicCategory dangerousGoodsType)
Set the type of dangerous goods being carried by a Heavy Vehicle.
| ||||||||||
DangerousGoodsExtended |
setElevatedTemperature(boolean elevatedTemperature)
Set whether the carried dangerous goods are transported at high temperature.
| ||||||||||
DangerousGoodsExtended |
setEmergencyActionCode(String emergencyActionCode)
Set the physical signage placard at the vehicle that carries information on how an emergency service should deal
with an incident.
| ||||||||||
DangerousGoodsExtended |
setLimitedQuantity(boolean limitedQuantity)
Set whether the carried dangerous goods are packed with limited quantity.
| ||||||||||
DangerousGoodsExtended |
setPhoneNumber(String phoneNumber)
Set a contact phone number of assistance service in case of incident or accident.
| ||||||||||
DangerousGoodsExtended |
setTunnelsRestricted(boolean tunnelsRestricted)
Set whether the Heavy Vehicle carrying dangerous goods is restricted to enter tunnels.
| ||||||||||
DangerousGoodsExtended |
setUnNumber(long unNumber)
Set a 4-digit number that identifies the substance of the dangerous goods.
| ||||||||||
String |
toString()
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create a new Dangerous Goods container
Returns the name of the company that manages the transportation of dangerous goods.
Returns the dangerous goods type. The value is assigned according to "class" and "division" definitions of dangerous goods.
Returns the emergency action code
Returns the phone number
Returns the identifier of the substance of the dangerous goods.
Returns true if the carried dangerous goods are transported at high temperature.
Returns the value of the limited quantity flag
Returns the tunnel restricted value
Set the name of company that manages the transportation of dangerous goods.
companyName | name of the company |
---|
Set the type of dangerous goods being carried by a Heavy Vehicle. The value is assigned according to "class" and "division" definitions of dangerous goods.
dangerousGoodsType | dangerous goods type based on tthe basic categories |
---|
Set whether the carried dangerous goods are transported at high temperature.
elevatedTemperature | true if transported at elevated temperature, false otherwise |
---|
Set the physical signage placard at the vehicle that carries information on how an emergency service should deal with an incident.
emergencyActionCode | emergency action code |
---|
Set whether the carried dangerous goods are packed with limited quantity.
limitedQuantity | whether the carried dangerous goods are packed with limited quantity |
---|
Set a contact phone number of assistance service in case of incident or accident.
phoneNumber | phone number |
---|
Set whether the Heavy Vehicle carrying dangerous goods is restricted to enter tunnels.
tunnelsRestricted | true if restricted to enter tunnels, false otherwise |
---|
Set a 4-digit number that identifies the substance of the dangerous goods.
unNumber | identifier of the substance of dangerous goods (Range: 0..9999) |
---|