crotwell / seisFile

A library for reading and writing seismic file formats in java.
GNU Lesser General Public License v3.0
27 stars 20 forks source link

All edu.sc.seis.seisFile.fdsnws.quakeml.WaveformStreamID members are private #13

Closed andreabono closed 5 years ago

andreabono commented 5 years ago

Hello!! I'm having troubles reading a quakeml.
I create my event object "qml_ev" through edu.sc.seis.seisFile.fdsnws.quakeml.Event and I'm reading the phase picks. So I write the following code because I need STA CHAN NET LOC for a phase.

edu.sc.seis.seisFile.fdsnws.quakeml.Event qml_ev;
// read the qml and populate the object
//.........

qml_ev.getPickList().get(0).getWaveformID()

Now, I can't access to STA, CHAN, ecc, because there's no get_Sta(), get_CHa()... method in the edu.sc.seis.seisFile.fdsnws.quakeml.WaveformStreamID definition. Such members are private. I also tried to subclass with no results. Can You help me?

crotwell commented 5 years ago

Fixed in v1.8.2, thanks for the bug report.