java.lang.Object | |
↳ | com.commsignia.v2x.client.model.LdmObject |
Represents an LDM Object.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | LdmObject.NotificationType | Notification types |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LdmObject()
Creates a new instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
double |
distanceTo(LdmObject other)
Calculates the distance to another LDM object.
| ||||||||||
boolean | equals(Object o) | ||||||||||
Intersection |
findOwnIntersection()
Finds the intersection that corresponds to the object this LDM represents.
| ||||||||||
IntersectionState |
findOwnIntersectionState()
Finds the intersection state that corresponds to the object this LDM represents.
| ||||||||||
List<PrioritizationResponse> |
getActivePrioritizations()
Returns the list of active prioritizations.
| ||||||||||
BasicSafetyMessage |
getBsmObject()
Returns the BSM object associated to this LDMObject.
| ||||||||||
DENM |
getDENM()
Returns the associated DENM object.
| ||||||||||
Date |
getExpiryTime()
Returns the expiry time.
| ||||||||||
String |
getGNAddress()
Returns the Geonetworking address.
| ||||||||||
Double |
getHeading(DegreeUnit unit)
Returns the heading in the specified units.
| ||||||||||
Long |
getInterfaceID()
Returns the interface identifier.
| ||||||||||
List<IntersectionState> |
getIntersectionStates()
Returns the list of intersection states associated with this LDM.
| ||||||||||
List<Intersection> |
getIntersections()
Returns the list of intersections associated with this LDM.
| ||||||||||
IviStructure |
getIvi()
Returns the IVI structure contained in this LDM object.
| ||||||||||
String |
getLLAddress()
Returns the link layer address.
| ||||||||||
Long |
getLatitude()
Returns the latitude.
| ||||||||||
Long |
getLongitude()
Returns the longitude.
| ||||||||||
LdmObject.NotificationType |
getNotificationType()
Returns the notification type of the LDM object.
| ||||||||||
Long |
getObjectID()
Returns the object ID.
| ||||||||||
LdmObjectType |
getObjectType()
Returns the object type of LDM event.
| ||||||||||
float |
getRssiDbm()
Returns the RSSI value
| ||||||||||
Long |
getSecurity()
Returns the security profile identifier.
| ||||||||||
Double |
getSpeed(SpeedUnit unit)
Returns the speed in the specified unit.
| ||||||||||
StationObject |
getStationObject()
Returns the station object associated with this LDM.
| ||||||||||
Date |
getTimestamp()
Returns the timestamp.
| ||||||||||
Long |
getType()
Returns the type of the LDM object.
| ||||||||||
int | hashCode() | ||||||||||
boolean |
isLocal()
Returns true if LDM is local.
| ||||||||||
void |
setActivePrioritizations(List<PrioritizationResponse> activePrioritizations)
Sets the list of active prioritizations.
| ||||||||||
void |
setBsmObject(BasicSafetyMessage bsmObject)
Sets the BSM object associated to this LDMObject.
| ||||||||||
void |
setDENM(DENM denmEvent)
Sets the associated DENM object.
| ||||||||||
void |
setExpiryTime(Date expiryTime)
Sets the expiry time.
| ||||||||||
void |
setGNAddress(String gnAddress)
Sets the Geonetworking address.
| ||||||||||
void |
setHeading(double heading, DegreeUnit headingUnit)
Sets the heading
| ||||||||||
void |
setInterfaceID(Long interfaceID)
Sets the interface identifier of the LDM object.
| ||||||||||
void |
setIntersectionStates(List<IntersectionState> intersectionStates)
Sets the list of intersection states associated with this LDM.
| ||||||||||
void |
setIntersections(List<Intersection> intersections)
Sets the list of intersections associated with this LDM.
| ||||||||||
void |
setIvi(IviStructure ivi)
Sets the IVI structure contained in this LDM object.
| ||||||||||
void |
setLLAddress(String llAddress)
Sets the link layer address.
| ||||||||||
void |
setLatitude(Long latitude)
Sets the latitude.
| ||||||||||
void |
setLocal(boolean local)
Sets whether the LDM object is local.
| ||||||||||
void |
setLongitude(Long longitude)
Sets the longitude.
| ||||||||||
void |
setNotificationType(LdmObject.NotificationType notificationType)
Sets the notification type of the LDM object.
| ||||||||||
void |
setObjectID(Long objectId)
Sets the object ID of the LDM object.
| ||||||||||
void |
setObjectType(LdmObjectType objectType)
Sets the object type of the LDM object.
| ||||||||||
void |
setRssiDbm(float rssi)
Set the RSSI value
| ||||||||||
void |
setSecurity(Long security)
Sets the security profile identifier.
| ||||||||||
void |
setSpeed(double speed, SpeedUnit speedUnit)
Sets the speed.
| ||||||||||
void |
setStationObject(StationObject stationObject)
Sets the station object associated with this LDM.
| ||||||||||
void |
setTimestamp(Date timestamp)
Sets the timestamp
| ||||||||||
void |
setType(Long type)
Sets the LDM type.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new instance.
Calculates the distance to another LDM object.
other | other ldm object |
---|
Finds the intersection that corresponds to the object this LDM represents.
Finds the intersection state that corresponds to the object this LDM represents.
Returns the list of active prioritizations.
Returns the BSM object associated to this LDMObject.
Returns the expiry time.
Returns the Geonetworking address.
Returns the heading in the specified units.
unit | target unit |
---|
Returns the interface identifier.
Returns the list of intersection states associated with this LDM.
Returns the list of intersections associated with this LDM.
Returns the IVI structure contained in this LDM object.
Returns the link layer address.
Returns the latitude.
Returns the longitude.
Returns the notification type of the LDM object.
Returns the object ID.
Returns the object type of LDM event.
Returns the RSSI value
Returns the security profile identifier.
Returns the speed in the specified unit.
unit | target unit |
---|
Returns the station object associated with this LDM.
Returns the timestamp.
Returns the type of the LDM object.
Returns true if LDM is local.
Sets the list of active prioritizations.
activePrioritizations | list of active prioritizations |
---|
Sets the BSM object associated to this LDMObject.
bsmObject | bsm object |
---|
Sets the associated DENM object.
denmEvent | denm event parameter of the LDM object |
---|
Sets the expiry time.
expiryTime | expiry time |
---|
Sets the Geonetworking address.
gnAddress | Geonetworking adress |
---|
Sets the heading
heading | heading value |
---|---|
headingUnit | heading unit |
Sets the interface identifier of the LDM object.
interfaceID | interface id |
---|
Sets the list of intersection states associated with this LDM.
intersectionStates | list of intersections states |
---|
Sets the list of intersections associated with this LDM.
intersections | list of intersections |
---|
Sets the IVI structure contained in this LDM object.
ivi | IVI structure contained in this LDM object |
---|
Sets the link layer address.
llAddress | link layer address |
---|
Sets the latitude.
latitude | latitude in 0.1 microdegrees |
---|
Sets whether the LDM object is local.
local | true if LDM is local, false otherwise |
---|
Sets the longitude.
longitude | longitude in 0.1 microdegrees |
---|
Sets the notification type of the LDM object.
notificationType | notification type |
---|
Sets the object ID of the LDM object.
objectId | object ID |
---|
Sets the object type of the LDM object.
objectType | object type of the LDM object |
---|
Set the RSSI value
rssi | rssi value in dBm |
---|
Sets the security profile identifier.
security | security profile identifier |
---|
Sets the speed.
speed | speed value |
---|---|
speedUnit | speed unit |
Sets the station object associated with this LDM.
stationObject | station object |
---|
Sets the timestamp
timestamp | timestamp |
---|
Sets the LDM type.
type | type of the LDM object |
---|