public class AisPositionBExtended extends Object implements AisPosition, AisShipStatic
Constructor and Description |
---|
AisPositionBExtended(AisExtractorFactory factory,
String message,
String source,
int padBits) |
AisPositionBExtended(String message,
int padBits) |
AisPositionBExtended(String message,
String source,
int padBits) |
Modifier and Type | Method and Description |
---|---|
Double |
getCourseOverGround() |
com.google.common.base.Optional<Integer> |
getDimensionA() |
com.google.common.base.Optional<Integer> |
getDimensionB() |
com.google.common.base.Optional<Integer> |
getDimensionC() |
com.google.common.base.Optional<Integer> |
getDimensionD() |
Double |
getLatitude() |
com.google.common.base.Optional<Integer> |
getLengthMetres() |
Double |
getLongitude() |
int |
getMessageId()
Returns the ais message id.
|
int |
getMmsi() |
String |
getName() |
int |
getRepeatIndicator() |
int |
getShipType() |
String |
getSource()
Returns the source of the ais message.
|
Double |
getSpeedOverGroundKnots() |
int |
getTimeSecondsOnly() |
Integer |
getTrueHeading() |
com.google.common.base.Optional<Integer> |
getWidthMetres() |
boolean |
isHighAccuracyPosition() |
boolean |
isUsingRAIM() |
String |
toString() |
public AisPositionBExtended(String message, int padBits)
public AisPositionBExtended(AisExtractorFactory factory, String message, String source, int padBits)
public int getMessageId()
AisMessage
getMessageId
in interface AisMessage
public int getRepeatIndicator()
getRepeatIndicator
in interface AisPosition
getRepeatIndicator
in interface AisShipStatic
public Double getSpeedOverGroundKnots()
getSpeedOverGroundKnots
in interface AisPosition
public Double getLongitude()
getLongitude
in interface AisPosition
public Double getLatitude()
getLatitude
in interface AisPosition
public Double getCourseOverGround()
getCourseOverGround
in interface AisPosition
public Integer getTrueHeading()
getTrueHeading
in interface AisPosition
public int getTimeSecondsOnly()
getTimeSecondsOnly
in interface AisPosition
public String getName()
getName
in interface AisShipStatic
public int getShipType()
getShipType
in interface AisShipStatic
public com.google.common.base.Optional<Integer> getDimensionA()
getDimensionA
in interface AisShipStatic
public com.google.common.base.Optional<Integer> getDimensionB()
getDimensionB
in interface AisShipStatic
public com.google.common.base.Optional<Integer> getDimensionC()
getDimensionC
in interface AisShipStatic
public com.google.common.base.Optional<Integer> getDimensionD()
getDimensionD
in interface AisShipStatic
public com.google.common.base.Optional<Integer> getLengthMetres()
getLengthMetres
in interface AisShipStatic
public com.google.common.base.Optional<Integer> getWidthMetres()
getWidthMetres
in interface AisShipStatic
public String getSource()
AisMessage
getSource
in interface AisMessage
public boolean isHighAccuracyPosition()
isHighAccuracyPosition
in interface AisPosition
public boolean isUsingRAIM()
isUsingRAIM
in interface AisPosition
Copyright © 2020. All rights reserved.