fmidev / fmi-avi-messageconverter

API classes for aviation weather message handling
MIT License
4 stars 6 forks source link

Make reportStatus non-optional #79

Closed petringo closed 3 years ago

petringo commented 3 years ago

Closes #74.

To ensure a proper value exists for getReportStatus() I had to deprecate the getStatus() method of various message types and possibly add isCancelMessage() or isMissingMessage(). A default transition implementation was added for the getStatus() method.

Also Builder.copyFrom(<interface>) methods of message POJO implementation classes were fixed to copy all properties.