public abstract class AisReport extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Date |
created
The Created.
|
protected long |
mmsi
The Mmsi.
|
protected Date |
received
The Received.
|
protected Date |
sourceTimestamp
The Source timestamp.
|
| Constructor and Description |
|---|
AisReport()
Instantiates a new Ais report.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getCreated()
Gets created.
|
long |
getMmsi()
Gets mmsi.
|
Date |
getReceived()
Gets received.
|
Date |
getSourceTimestamp()
Gets source timestamp.
|
void |
setCreated(Date created)
Sets created.
|
void |
setMmsi(long mmsi)
Sets mmsi.
|
void |
setReceived(Date received)
Sets received.
|
void |
setSourceTimestamp(Date sourceTimestamp)
Sets source timestamp.
|
void |
update(AisMessage aisMessage)
Update.
|
protected long mmsi
protected Date received
protected Date sourceTimestamp
protected Date created
public void update(AisMessage aisMessage)
aisMessage - the ais messagepublic Date getReceived()
public void setReceived(Date received)
received - the receivedpublic Date getSourceTimestamp()
public void setSourceTimestamp(Date sourceTimestamp)
sourceTimestamp - the source timestamppublic Date getCreated()
public void setCreated(Date created)
created - the createdpublic long getMmsi()
public void setMmsi(long mmsi)
mmsi - the mmsiCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.