public class GpsSatelliteInformation extends Object
Constructor and Description |
---|
GpsSatelliteInformation(String line)
Creates a new
GpsSatelliteInformation object from a single line of the GPS data file. |
Modifier and Type | Method and Description |
---|---|
NavigationBlockType |
getBlock()
Gets the block type for this satellite.
|
GregorianDate |
getEndDateAsPseudoRandomNumber()
|
boolean |
getIsActive()
|
String |
getNotes()
Gets the notes associated with the satellite.
|
int |
getPseudoRandomNumber()
Gets the GPS satellite's pseudo random number (PRN).
|
String |
getSatelliteNumber()
Gets the satellite's satellite number.
|
int |
getSatelliteVehicleNumber()
Gets the GPS satellite's vehicle number (SVN).
|
GregorianDate |
getStartDateAsPseudoRandomNumber()
|
void |
setBlock(NavigationBlockType value)
Sets the block type for this satellite.
|
void |
setEndDateAsPseudoRandomNumber(GregorianDate value)
|
void |
setIsActive(boolean value)
|
void |
setNotes(String value)
Sets the notes associated with the satellite.
|
void |
setPseudoRandomNumber(int value)
Sets the GPS satellite's pseudo random number (PRN).
|
void |
setSatelliteNumber(String value)
Sets the satellite's satellite number.
|
void |
setSatelliteVehicleNumber(int value)
Sets the GPS satellite's vehicle number (SVN).
|
void |
setStartDateAsPseudoRandomNumber(GregorianDate value)
|
public GpsSatelliteInformation(@Nonnull String line)
GpsSatelliteInformation
object from a single line of the GPS data file.line
- String representing a single line from the GPS data file.ArgumentNullException
- Thrown when line
is null
.InvalidDataException
- Thrown when there is an error parsing data from the line.public final int getPseudoRandomNumber()
public final void setPseudoRandomNumber(int value)
public final int getSatelliteVehicleNumber()
public final void setSatelliteVehicleNumber(int value)
public final String getSatelliteNumber()
public final void setSatelliteNumber(String value)
@Nonnull public final NavigationBlockType getBlock()
public final void setBlock(@Nonnull NavigationBlockType value)
@Nonnull public final GregorianDate getStartDateAsPseudoRandomNumber()
public final void setStartDateAsPseudoRandomNumber(@Nonnull GregorianDate value)
@Nonnull public final GregorianDate getEndDateAsPseudoRandomNumber()
public final void setEndDateAsPseudoRandomNumber(@Nonnull GregorianDate value)
public final boolean getIsActive()
public final void setIsActive(boolean value)
public final String getNotes()
public final void setNotes(String value)