edu.iris.dmc.extensions.entities
Class Metadata

java.lang.Object
  extended by 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.


Field Summary
protected  double azimuth
           
protected  String channel
           
protected  double depth
           
protected  double dip
           
protected  double elev
           
protected  Date endDate
           
protected  String instrument
           
protected  double lat
           
protected  String location
           
protected  double lon
           
protected  String network
           
protected  Character quality
           
protected  double sampleRate
           
protected  double sensFreq
           
protected  double sensitivity
           
protected  String sensUnits
           
protected  Date startDate
           
protected  String station
           
 
Constructor Summary
Metadata()
           
 
Method Summary
 double getAzimuth()
           
 String getChannel()
           
 double getDepth()
           
 double getDip()
           
 double getElev()
           
 Date getEndDate()
           
 String getInstrument()
           
 double getLat()
           
 String getLocation()
           
 double getLon()
           
 String getNetwork()
           
 Character getQuality()
           
 double getSampleRate()
           
 double getSensFreq()
           
 double getSensitivity()
           
 Date getStartDate()
           
 String getStation()
           
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.
 void setAzimuth(double d)
           
 void setChannel(String s)
           
 void setDepth(double d)
           
 void setDip(double d)
           
 void setElev(double d)
           
 void setEndDate(Date t)
           
 void setInstrument(String s)
           
 void setLat(double d)
           
 void setLocation(String s)
           
 void setLon(double d)
           
 void setNetwork(String s)
           
 void setQuality(Character c)
           
 void setSampleRate(double d)
           
 void setSensFreq(double d)
           
 void setSensitivity(double d)
           
 void setStartDate(Date t)
           
 void setStation(String s)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

Metadata

public Metadata()
Method Detail

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.