public abstract class AisStaticCommon extends AisMessage implements IDimensionMessage, INameMessage
| Modifier and Type | Field and Description |
|---|---|
protected String |
callsign
Call sign: 7 = 6 bit ASCII characters, @@@@@@@ = not available = default
|
protected int |
dimBow
GPS Ant.
|
protected int |
dimPort
GPS Ant.
|
protected int |
dimStarboard
GPS Ant.
|
protected int |
dimStern
GPS Ant.
|
protected String |
name
Ship name: Maximum 20 characters 6 bit ASCII, as defined in Table 44
@@@@@@@@@@@@@@@@@@@@ = not available = default.
|
protected int |
shipType
Type of ship and cargo type: 0 = not available or no ship = default 1-99 = as defined in � 3.3.2 100-199 =
reserved, for regional use 200-255 = reserved, for future use Not applicable to SAR aircraft
|
msgId, repeat, userId, VALID_MESSAGE_TYPES, vdm| Constructor and Description |
|---|
AisStaticCommon(int msgId)
Instantiates a new Ais static common.
|
AisStaticCommon(Vdm vdm)
Instantiates a new Ais static common.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCallsign()
Gets callsign.
|
int |
getDimBow()
Gets dim bow.
|
int |
getDimPort()
Gets dim port.
|
int |
getDimStarboard()
Gets dim starboard.
|
int |
getDimStern()
Gets dim stern.
|
String |
getName()
Gets name.
|
int |
getShipType()
Gets ship type.
|
void |
setCallsign(String callsign)
Sets callsign.
|
void |
setDimBow(int dimBow)
Sets dim bow.
|
void |
setDimPort(int dimPort)
Sets dim port.
|
void |
setDimStarboard(int dimStarboard)
Sets dim starboard.
|
void |
setDimStern(int dimStern)
Sets dim stern.
|
void |
setName(String name)
Sets name.
|
void |
setShipType(int shipType)
Sets ship type.
|
encode, getEncoded, getInstance, getMsgId, getRepeat, getSourceTag, getTags, getTargetType, getUserId, getValidPosition, getVdm, parse, reassemble, setRepeat, setTag, setTags, setUserId, toString, trimTextprotected String callsign
protected String name
protected int shipType
protected int dimBow
NOTE: When GPS position is not available, but the ships dimensions is available, then this field should be 0
protected int dimStern
NOTE: When GPS position is not available, but the ships dimensions is available, then this field should be representing the length of the ship
protected int dimPort
NOTE: When GPS position is not available, but the ships dimensions is available, then this field should be 0
protected int dimStarboard
NOTE: When GPS position is not available, but the ships dimensions is available, then this field should be representing the with of the ship
public AisStaticCommon(int msgId)
msgId - the msg idpublic AisStaticCommon(Vdm vdm)
vdm - the vdmpublic String getCallsign()
public void setCallsign(String callsign)
callsign - the callsignpublic String getName()
INameMessagegetName in interface INameMessagepublic void setName(String name)
name - the namepublic int getShipType()
public void setShipType(int shipType)
shipType - the ship typepublic int getDimBow()
IDimensionMessagegetDimBow in interface IDimensionMessagepublic void setDimBow(int dimBow)
dimBow - the dim bowpublic int getDimStern()
IDimensionMessagegetDimStern in interface IDimensionMessagepublic void setDimStern(int dimStern)
dimStern - the dim sternpublic int getDimPort()
IDimensionMessagegetDimPort in interface IDimensionMessagepublic void setDimPort(int dimPort)
dimPort - the dim portpublic int getDimStarboard()
IDimensionMessagegetDimStarboard in interface IDimensionMessagepublic void setDimStarboard(int dimStarboard)
dimStarboard - the dim starboardCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.