edu.iris.dmc.extensions.entities
Class Metadata
java.lang.Object
edu.iris.dmc.extensions.entities.Metadata
public class Metadata
- extends Object
A class in which to store relevant meta data (channel epochs to be exact)
returned by the Station web service. This data can be used with the waveform
service to ensure that requested data segments don't span channel epochs.
Also used in the population of the Trace elements once the waveform data is
acquired.
network
protected String network
station
protected String station
location
protected String location
channel
protected String channel
startDate
protected Date startDate
endDate
protected Date endDate
lat
protected double lat
lon
protected double lon
elev
protected double elev
depth
protected double depth
azimuth
protected double azimuth
dip
protected double dip
instrument
protected String instrument
sampleRate
protected double sampleRate
sensitivity
protected double sensitivity
sensFreq
protected double sensFreq
sensUnits
protected String sensUnits
quality
protected Character quality
Metadata
public Metadata()
getNetwork
public String getNetwork()
setNetwork
public void setNetwork(String s)
getStation
public String getStation()
setStation
public void setStation(String s)
getLocation
public String getLocation()
setLocation
public void setLocation(String s)
getChannel
public String getChannel()
setChannel
public void setChannel(String s)
getStartDate
public Date getStartDate()
setStartDate
public void setStartDate(Date t)
getEndDate
public Date getEndDate()
setEndDate
public void setEndDate(Date t)
getLat
public double getLat()
setLat
public void setLat(double d)
getLon
public double getLon()
setLon
public void setLon(double d)
getElev
public double getElev()
setElev
public void setElev(double d)
getDepth
public double getDepth()
setDepth
public void setDepth(double d)
getAzimuth
public double getAzimuth()
setAzimuth
public void setAzimuth(double d)
getDip
public double getDip()
setDip
public void setDip(double d)
getInstrument
public String getInstrument()
setInstrument
public void setInstrument(String s)
getSampleRate
public double getSampleRate()
setSampleRate
public void setSampleRate(double d)
getSensitivity
public double getSensitivity()
setSensitivity
public void setSensitivity(double d)
getSensFreq
public double getSensFreq()
setSensFreq
public void setSensFreq(double d)
getQuality
public Character getQuality()
setQuality
public void setQuality(Character c)
toString
public String toString()
- Overrides:
toString
in class Object
parseMetadata
public static List<Metadata> parseMetadata(List<edu.iris.dmc.fdsn.station.model.Network> networks)
- Parses the returned network objects from the station service into a
simple list of Metadata objects.
- Parameters:
networks
-
- Returns:
- List
Copyright © 2013. All Rights Reserved.