public abstract class AisVesselStatic extends AisReport
| Modifier and Type | Field and Description |
|---|---|
protected String |
callsign
The Callsign.
|
protected AisTargetDimensions |
dimensions
The Dimensions.
|
protected String |
name
The Name.
|
protected byte |
shipType
The Ship type.
|
protected ShipTypeCargo |
shipTypeCargo
The Ship type cargo.
|
created, mmsi, received, sourceTimestamp| Constructor and Description |
|---|
AisVesselStatic()
Instantiates a new Ais vessel static.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCallsign()
Gets callsign.
|
AisTargetDimensions |
getDimensions()
Gets dimensions.
|
String |
getName()
Gets name.
|
byte |
getShipType()
Gets ship type.
|
ShipTypeCargo |
getShipTypeCargo()
Gets ship type cargo.
|
void |
setCallsign(String callsign)
Sets callsign.
|
void |
setDimensions(AisTargetDimensions dimensions)
Sets dimensions.
|
void |
setName(String name)
Sets name.
|
void |
setShipType(byte shipType)
Sets ship type.
|
void |
setShipTypeCargo(ShipTypeCargo shipTypeCargo)
Sets ship type cargo.
|
void |
update(AisStaticCommon staticMessage)
Update.
|
getCreated, getMmsi, getReceived, getSourceTimestamp, setCreated, setMmsi, setReceived, setSourceTimestamp, updateprotected String name
protected String callsign
protected byte shipType
protected ShipTypeCargo shipTypeCargo
protected AisTargetDimensions dimensions
public void update(AisStaticCommon staticMessage)
staticMessage - the static messagepublic String getName()
public void setName(String name)
name - the namepublic String getCallsign()
public void setCallsign(String callsign)
callsign - the callsignpublic byte getShipType()
public void setShipType(byte shipType)
shipType - the ship typepublic ShipTypeCargo getShipTypeCargo()
public void setShipTypeCargo(ShipTypeCargo shipTypeCargo)
shipTypeCargo - the ship type cargopublic AisTargetDimensions getDimensions()
public void setDimensions(AisTargetDimensions dimensions)
dimensions - the dimensionsCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.