Class Channel
- java.lang.Object
-
- edu.sc.seis.seisFile.fdsnws.stationxml.BaseNodeType
-
- edu.sc.seis.seisFile.fdsnws.stationxml.Channel
-
public class Channel extends BaseNodeType
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EMPTY_LOC_CODE
-
Constructor Summary
Constructors Constructor Description Channel(Station station, java.lang.String locCode, java.lang.String chanCode)
Channel(Station station, java.lang.String locCode, java.lang.String chanCode, java.time.Instant startTime, java.time.Instant endTime)
Channel(javax.xml.stream.XMLEventReader reader, Station station)
-
Method Summary
-
Methods inherited from class edu.sc.seis.seisFile.fdsnws.stationxml.BaseNodeType
addComment, getAlternateCode, getCode, getCommentList, getDataAvailability, getDbid, getDescription, getEndDate, getEndDateTime, getHistoricalCode, getIdentifierList, getRestrictedStatus, getStartDate, getStartDateTime, setAlternateCode, setCode, setCommentList, setDataAvailability, setDescription, setEndDate, setEndDateTime, setHistoricalCode, setRestrictedStatus, setStartDate, setStartDateTime
-
-
-
-
Field Detail
-
EMPTY_LOC_CODE
public static final java.lang.String EMPTY_LOC_CODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Channel
public Channel(Station station, java.lang.String locCode, java.lang.String chanCode)
-
Channel
public Channel(Station station, java.lang.String locCode, java.lang.String chanCode, java.time.Instant startTime, java.time.Instant endTime)
-
Channel
public Channel(javax.xml.stream.XMLEventReader reader, Station station) throws javax.xml.stream.XMLStreamException, StationXMLException
- Throws:
javax.xml.stream.XMLStreamException
StationXMLException
-
-
Method Detail
-
getSampleRateRatio
public SampleRateRatio getSampleRateRatio()
-
getSampleRate
public FloatType getSampleRate()
-
getClockDrift
public FloatType getClockDrift()
-
getClockDriftUnit
public java.lang.String getClockDriftUnit()
-
getCalibrationUnits
public Unit getCalibrationUnits()
-
getSensor
public Sensor getSensor()
-
getPreAmplifier
public PreAmplifier getPreAmplifier()
-
getDataLogger
public DataLogger getDataLogger()
-
getEquipment
public java.util.List<Equipment> getEquipment()
-
getResponse
public Response getResponse()
-
getInstrumentSensitivity
public InstrumentSensitivity getInstrumentSensitivity()
-
setInstrumentSensitivity
public void setInstrumentSensitivity(InstrumentSensitivity sensitivity)
-
getChannelCode
public java.lang.String getChannelCode()
-
setChannelCode
public void setChannelCode(java.lang.String code)
-
getLocCode
public java.lang.String getLocCode()
-
getStationCode
public java.lang.String getStationCode()
-
getNetworkCode
public java.lang.String getNetworkCode()
-
getNetworkId
public java.lang.String getNetworkId()
-
getLatitude
public DegreeFloatType getLatitude()
-
getLongitude
public DegreeFloatType getLongitude()
-
getElevation
public FloatType getElevation()
-
getDepth
public FloatType getDepth()
-
getLatitudeFloat
public float getLatitudeFloat()
-
getLongitudeFloat
public float getLongitudeFloat()
-
getElevationFloat
public float getElevationFloat()
-
getDepthFloat
public float getDepthFloat()
-
getAzimuth
public DegreeFloatType getAzimuth()
-
getDip
public DegreeFloatType getDip()
-
getTypeList
public java.util.List<java.lang.String> getTypeList()
-
getStorageFormat
public java.lang.String getStorageFormat()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getEquipmentList
public java.util.List<Equipment> getEquipmentList()
-
setEquipmentList
public void setEquipmentList(java.util.List<Equipment> equipmentList)
-
getStation
public Station getStation()
-
getNetwork
public Network getNetwork()
-
setStation
public void setStation(Station station)
-
setLongitude
public void setLongitude(float longitude)
-
setLongitude
public void setLongitude(DegreeFloatType longitude)
-
setSampleRateRatio
public void setSampleRateRatio(SampleRateRatio sampleRateRatio)
-
setSampleRate
public void setSampleRate(float sampleRate)
-
setSampleRate
public void setSampleRate(FloatType sampleRate)
-
setClockDrift
public void setClockDrift(FloatType clockDrift)
-
setClockDriftUnit
public void setClockDriftUnit(java.lang.String clockDriftUnit)
-
setCalibrationUnits
public void setCalibrationUnits(Unit calibrationUnits)
-
setSensor
public void setSensor(Sensor sensor)
-
setPreAmplifier
public void setPreAmplifier(PreAmplifier preAmplifier)
-
setDataLogger
public void setDataLogger(DataLogger dataLogger)
-
setResponse
public void setResponse(Response response)
-
setLocCode
public void setLocCode(java.lang.String locCode)
-
setLatitude
public void setLatitude(float latitude)
-
setLatitude
public void setLatitude(DegreeFloatType latitude)
-
setElevation
public void setElevation(float elevation)
-
setElevation
public void setElevation(FloatType elevation)
-
setDepth
public void setDepth(float depth)
-
setDepth
public void setDepth(FloatType depth)
-
setAzimuth
public void setAzimuth(float azimuth)
-
setAzimuth
public void setAzimuth(DegreeFloatType azimuth)
-
setDip
public void setDip(float dip)
-
setDip
public void setDip(DegreeFloatType dip)
-
setTypeList
public void setTypeList(java.util.List<java.lang.String> typeList)
-
setStorageFormat
public void setStorageFormat(java.lang.String storageFormat)
-
fixLocCode
public static java.lang.String fixLocCode(java.lang.String locCode)
-
associateInDb
public void associateInDb(Channel indb)
-
-