@NotThreadSafe public abstract class TrackingReport extends Object implements Cloneable
This piece of information is stored in the tracker to keep track of each vessel's movements and whereabouts.
| Constructor and Description |
|---|
TrackingReport() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
abstract float |
getCourseOverGround()
Gets course over ground.
|
abstract dk.dma.enav.model.geometry.Position |
getPosition()
Gets position.
|
Object |
getProperty(String propertyName)
Gets property.
|
abstract float |
getSpeedOverGround()
Gets speed over ground.
|
abstract long |
getTimestamp()
Gets timestamp.
|
abstract LocalDateTime |
getTimestampTyped()
Gets timestamp typed.
|
abstract float |
getTrueHeading()
Gets true heading.
|
void |
removeProperty(String propertyName)
Remove property.
|
void |
setProperty(String propertyName,
Object propertyValue)
Sets property.
|
public Object getProperty(String propertyName)
propertyName - the property namepublic void setProperty(String propertyName, Object propertyValue)
propertyName - the property namepropertyValue - the property valuepublic void removeProperty(String propertyName)
propertyName - the property nameprotected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic abstract long getTimestamp()
public abstract LocalDateTime getTimestampTyped()
public abstract dk.dma.enav.model.geometry.Position getPosition()
public abstract float getCourseOverGround()
public abstract float getSpeedOverGround()
public abstract float getTrueHeading()
Copyright © 2011–2019 Danish Maritime Authority. All rights reserved.