public abstract class AreaNotice extends AisApplicationMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
AreaNotice.SubAreaType
The enum Sub area type.
|
dac, fi| Constructor and Description |
|---|
AreaNotice(int fi)
Instantiates a new Area notice.
|
AreaNotice(int fi,
BinArray binArray)
Instantiates a new Area notice.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSubArea(SubArea subarea)
Add sub area.
|
int |
getDuration()
Gets duration.
|
SixbitEncoder |
getEncoded()
Method that returns six bit encoding of message
|
int |
getMsgLinkId()
Gets msg link id.
|
int |
getNotice()
Gets notice.
|
int |
getStartDay()
Gets start day.
|
int |
getStartHour()
Gets start hour.
|
int |
getStartMin()
Gets start min.
|
int |
getStartMonth()
Gets start month.
|
List<SubArea> |
getSubAreas()
Gets sub areas.
|
void |
parse(BinArray binArray)
Method to parse given six bit string
|
void |
setDuration(int duration)
Sets duration.
|
void |
setMsgLinkId(int msgLinkId)
Sets msg link id.
|
void |
setNotice(int notice)
Sets notice.
|
void |
setStartDay(int startDay)
Sets start day.
|
void |
setStartHour(int startHour)
Sets start hour.
|
void |
setStartMin(int startMin)
Sets start min.
|
void |
setStartMonth(int startMonth)
Sets start month.
|
void |
setSubAreas(List<SubArea> subareas)
Sets sub areas.
|
String |
toString() |
getDac, getFi, getInstancepublic AreaNotice(int fi)
fi - the fipublic AreaNotice(int fi,
BinArray binArray)
throws SixbitException
fi - the fibinArray - the bin arraySixbitException - the sixbit exceptionpublic SixbitEncoder getEncoded()
AisApplicationMessagegetEncoded in class AisApplicationMessagepublic void parse(BinArray binArray) throws SixbitException
AisApplicationMessageparse in class AisApplicationMessagebinArray - the bin arraySixbitException - the sixbit exceptionpublic int getMsgLinkId()
public void setMsgLinkId(int msgLinkId)
msgLinkId - the msg link idpublic int getNotice()
public void setNotice(int notice)
notice - the noticepublic int getStartMonth()
public void setStartMonth(int startMonth)
startMonth - the start monthpublic int getStartDay()
public void setStartDay(int startDay)
startDay - the start daypublic int getStartHour()
public void setStartHour(int startHour)
startHour - the start hourpublic int getStartMin()
public void setStartMin(int startMin)
startMin - the start minpublic int getDuration()
public void setDuration(int duration)
duration - the durationpublic void setSubAreas(List<SubArea> subareas)
subareas - the subareaspublic void addSubArea(SubArea subarea)
subarea - the subareapublic String toString()
toString in class AisApplicationMessageCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.