This page collects information about changes which are likely to affect Java classes which use the Gesmes/TS Suite.
MessageBegin
additions.This new package replaces the previous packages
edifactreader
and edifactwriter
.
The package name has been changed from famewriter
to fame
. This package will eventually also host the
classes to read from FAME.
Information about sender contacts has been added. This most importantly resulted in changes to the constructors.
The operation getMaintenanceAgency()
has been renamed to
{@link Int.ecb.gesmescb.MessageBegin#getMaintenanceAgencyId()}.
StructuralDefinition
sThis was necessary to allow the {@link Int.ecb.gesmescb.xml.XMLWriter}
to refer to the correct version of a {@link Int.ecb.gesmescb.KeyFamily}.
This implied changing the constructor.
Similar changes are prepared for other StructuralDefinition
s,
but there tho old constructors are still available, though deprecated.
The package now openly publishes the interfaces, which were changed considerably. However, due to previous precautions, the impact on other packages is fairly limited.
handle
methods public.DataListenerAdapter
now extends
{@link Int.ecb.gesmescb.event.GESMESCBEventListenerAdapter}
and implements {@link Int.ecb.gesmescb.event.DataListener}.MetadataListenerAdapter
now extends
{@link Int.ecb.gesmescb.event.GESMESCBEventListenerAdapter}
and implements {@link Int.ecb.gesmescb.event.StructureListener}.ClassifyingEventListenerAdapter
now extends
{@link Int.ecb.gesmescb.event.GESMESCBEventListenerAdapter}
and implements {@link Int.ecb.gesmescb.event.StructureListener} and
{@link Int.ecb.gesmescb.event.DataListener}.ClassifyingEventBroker
now extends
{@link Int.ecb.gesmescb.event.GESMESCBEventBroker}.removeAllSources()
by
{@link Int.ecb.gesmescb.event.GESMESCBEventListenerAdapter#setActive(boolean)}
with false
argument.handleDefault()
by
a suitable set of handle
methods.dispatch(void)()
by a suitable call
to a specific dispatch
method taking an argument.After Gesmes/TS became official SDMX standard in April 2003, the reading software now supports it.
As already illustrated in thoughts about future changes,
now the {@link Int.ecb.gesmescb.edifact.EDIFACTWriter}
can process TimeSeries
and Attribute
s
mixed arbitrarily in data messages. To do so, the latter are
temporarily stored and written at the message end.
Also other {@link Int.ecb.gesmescb.event.GESMESCBWriter}s
should now support mixed data events.
Newly developed {@link Int.ecb.gesmescb.event.GESMESCBReader}s
may from now on produce mixed data sequences.
After Gesmes/TS became official SDMX standard in April 2003, also the writing software now supports it.
Following a period of deprecation, the methods
{@link Int.ecb.gesmescb.Attribute}.getScope()
,
{@link Int.ecb.gesmescb.Attribute}.getCoded()
, and
{@link Int.ecb.gesmescb.Attribute}.isCoded()
have been dropped.
Note that while at it, the constructors of {@link Int.ecb.gesmescb.Attribute} were changed, too, not only dropping the scope and coding information but also changing the ordering of the other parameters.
This was done in order to put its complain
method
at a central location accessible by other classes.
Maybe it will in future move on even further,
even closer to the dispatch methods.
The visible effect of this is that the constructor now takes a name.