Class Channel
- java.lang.Object
-
- edu.sc.seis.seisFile.fdsnws.stationxml.BaseNodeType
-
- edu.sc.seis.seisFile.fdsnws.stationxml.Channel
-
- All Implemented Interfaces:
LatLonLocatable
public class Channel extends BaseNodeType implements LatLonLocatable
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEMPTY_LOC_CODE
-
Constructor Summary
Constructors Constructor Description Channel()for hibernate, etcChannel(Station station)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, addIdentifier, getAlternateCode, getCode, getCommentList, getDataAvailability, getDbid, getDescription, getEndDate, getEndDateTime, getHistoricalCode, getIdentifierList, getRestrictedStatus, getSourceId, getStartDate, getStartDateTime, setAlternateCode, setCode, setCommentList, setDataAvailability, setDescription, setEndDate, setEndDateTime, setHistoricalCode, setRestrictedStatus, setSourceId, 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()
for hibernate, etc
-
Channel
public Channel(Station station)
-
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.XMLStreamExceptionStationXMLException
-
-
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 Equipment getSensor()
-
getPreAmplifier
public Equipment getPreAmplifier()
-
getDataLogger
public Equipment 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()
-
asLocation
public Location asLocation()
- Specified by:
asLocationin interfaceLatLonLocatable
-
getLocationDescription
public java.lang.String getLocationDescription()
- Specified by:
getLocationDescriptionin interfaceLatLonLocatable
-
getAzimuth
public DegreeFloatType getAzimuth()
-
getDip
public DegreeFloatType getDip()
-
getTypeList
public java.util.List<java.lang.String> getTypeList()
-
getStorageFormat
@Deprecated public java.lang.String getStorageFormat()
Deprecated.
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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(float clockDrift)
-
setClockDrift
public void setClockDrift(FloatType clockDrift)
-
setClockDriftUnit
public void setClockDriftUnit(java.lang.String clockDriftUnit)
-
setCalibrationUnits
public void setCalibrationUnits(Unit calibrationUnits)
-
setSensor
public void setSensor(Equipment sensor)
-
setPreAmplifier
public void setPreAmplifier(Equipment preAmplifier)
-
setDataLogger
public void setDataLogger(Equipment dataLogger)
-
appendEquipment
public void appendEquipment(Equipment equip)
-
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)
-
getWaterlevel
public MeterFloatType getWaterlevel()
-
setWaterlevel
public void setWaterlevel(MeterFloatType waterlevel)
-
setWaterlevel
public void setWaterlevel(float level)
set waterlevel in METERS.
-
setTypeList
public void setTypeList(java.util.List<java.lang.String> typeList)
-
setStorageFormat
@Deprecated public void setStorageFormat(java.lang.String storageFormat)
Deprecated.
-
getExternalReferenceList
public java.util.List<ExternalReference> getExternalReferenceList()
-
setExternalReferenceList
public void setExternalReferenceList(java.util.List<ExternalReference> externalReferenceList)
-
appendExternalReference
public void appendExternalReference(ExternalReference extRef)
-
fixLocCode
public static java.lang.String fixLocCode(java.lang.String locCode)
-
associateInDb
public void associateInDb(Channel indb)
-
-