public static class

WsaNotification.Builder

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.WsaNotification.Builder

Summary

Public Constructors
WsaNotification.Builder()
Public Methods
WsaNotification build()
Builds the WsaNotification instance
WsaNotification.Builder setAdaptable(boolean adaptable)
Sets whether DataRate and Transmit Power Level are boundary values or fixed values.
WsaNotification.Builder setAdvertiserID(String advertiserID)
Sets the advertiser ID.
WsaNotification.Builder setChannelAccess(ChannelAccessMode channelAccess)
Sets the channel access mode.
WsaNotification.Builder setChannelNumber(long channelNumber)
Sets the channel number
WsaNotification.Builder setCountryString(String countryString)
Sets the country string.
WsaNotification.Builder setDataRate(long dataRate)
Sets the data rate.
WsaNotification.Builder setElevation(double elevation, LengthUnit elevationUnit)
Sets the elevation in the specified unit.
WsaNotification.Builder setElevationConfidence(long elevationConfidence)
Sets the elevation confidence.
WsaNotification.Builder setLatitude(Long latitude)
Sets the latitude.
WsaNotification.Builder setLongitude(Long longitude)
Sets the longitude.
WsaNotification.Builder setOperatingClass(long operatingClass)
Sets the operating class
WsaNotification.Builder setPositionConfidence(long positionConfidence)
sets the position confidence.
WsaNotification.Builder setProviderMac(String providerMac)
Sets the provider MAC address.
WsaNotification.Builder setPsc(byte[] psc)
Sets the provider service context.
WsaNotification.Builder setPsid(long psid)
Sets the PSID (provider service identifier).
WsaNotification.Builder setSemiMajorAccuracy(double semiMajorAccuracy, LengthUnit semiMajorAccuracyUnit)
Sets the semi major accuracy.
WsaNotification.Builder setSemiMajorAngle(double semiMajorAngle, DegreeUnit semiMajorAngleUnit)
Sets the semi major angle.
WsaNotification.Builder setSemiMinorAccuracy(double semiMinorAccuracy, LengthUnit semiMinorAccuracyUnit)
Sets the semi minor accuracy.
WsaNotification.Builder setServicePriority(long servicePriority)
Sets the service priority.
WsaNotification.Builder setTxPowerLevel(long txPowerLevel)
Sets the TX power level
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WsaNotification.Builder ()

Public Methods

public WsaNotification build ()

Builds the WsaNotification instance

Returns
  • WSA notification

public WsaNotification.Builder setAdaptable (boolean adaptable)

Sets whether DataRate and Transmit Power Level are boundary values or fixed values. True indicates dataRate is interpreted as the minimum rate allowed and Transmit Power Level as the maximum level allowed. False indicates that DataRate and Transmit Power Level are interpreted as fixed values

Parameters
adaptable whether the data rate and transmit power level is adaptable
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setAdvertiserID (String advertiserID)

Sets the advertiser ID.

Parameters
advertiserID advertiser ID
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setChannelAccess (ChannelAccessMode channelAccess)

Sets the channel access mode.

Parameters
channelAccess channel access mode
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setChannelNumber (long channelNumber)

Sets the channel number

Parameters
channelNumber channel number
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setCountryString (String countryString)

Sets the country string.

Parameters
countryString country string
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setDataRate (long dataRate)

Sets the data rate.

Parameters
dataRate data rate in kilobits
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setElevation (double elevation, LengthUnit elevationUnit)

Sets the elevation in the specified unit.

Parameters
elevation elevation value
elevationUnit elevation unit
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setElevationConfidence (long elevationConfidence)

Sets the elevation confidence.

Parameters
elevationConfidence value between 0 (lowest) and 15 (highest).
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setLatitude (Long latitude)

Sets the latitude.

Parameters
latitude latitude in 0.1 microdegrees
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setLongitude (Long longitude)

Sets the longitude.

Parameters
longitude longitude in 0.1 microdegrees
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setOperatingClass (long operatingClass)

Sets the operating class

Parameters
operatingClass operating class
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setPositionConfidence (long positionConfidence)

sets the position confidence.

Parameters
positionConfidence value between 0 (lowest) and 15 (highest).
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setProviderMac (String providerMac)

Sets the provider MAC address.

Parameters
providerMac provider MAC address
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setPsc (byte[] psc)

Sets the provider service context. The format of the PSC is PSID dependent.

Parameters
psc provider service context
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setPsid (long psid)

Sets the PSID (provider service identifier).

Parameters
psid provider service identifier
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setSemiMajorAccuracy (double semiMajorAccuracy, LengthUnit semiMajorAccuracyUnit)

Sets the semi major accuracy.

Parameters
semiMajorAccuracy semi major accuracy value
semiMajorAccuracyUnit semi major accuracy unit
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setSemiMajorAngle (double semiMajorAngle, DegreeUnit semiMajorAngleUnit)

Sets the semi major angle.

Parameters
semiMajorAngle semi major angle value
semiMajorAngleUnit semi major angle unit
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setSemiMinorAccuracy (double semiMinorAccuracy, LengthUnit semiMinorAccuracyUnit)

Sets the semi minor accuracy.

Parameters
semiMinorAccuracy semi minor accuracy value
semiMinorAccuracyUnit semi minor accuracy unit
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setServicePriority (long servicePriority)

Sets the service priority.

Parameters
servicePriority service priority, 0 being the lowest, 63 the highest
Returns
  • the same builder instance this setter was invoked on to support chaining

public WsaNotification.Builder setTxPowerLevel (long txPowerLevel)

Sets the TX power level

Parameters
txPowerLevel TX power level in dBm
Returns
  • the same builder instance this setter was invoked on to support chaining