public class Channel extends BaseNodeType
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EMPTY_LOC_CODE |
Constructor and 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) |
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
public static final java.lang.String EMPTY_LOC_CODE
public Channel(Station station, java.lang.String locCode, java.lang.String chanCode)
public Channel(Station station, java.lang.String locCode, java.lang.String chanCode, java.time.Instant startTime, java.time.Instant endTime)
public Channel(javax.xml.stream.XMLEventReader reader, Station station) throws javax.xml.stream.XMLStreamException, StationXMLException
javax.xml.stream.XMLStreamException
StationXMLException
public SampleRateRatio getSampleRateRatio()
public FloatType getSampleRate()
public FloatType getClockDrift()
public java.lang.String getClockDriftUnit()
public Unit getCalibrationUnits()
public Sensor getSensor()
public PreAmplifier getPreAmplifier()
public DataLogger getDataLogger()
public java.util.List<Equipment> getEquipment()
public Response getResponse()
public InstrumentSensitivity getInstrumentSensitivity()
public void setInstrumentSensitivity(InstrumentSensitivity sensitivity)
public java.lang.String getChannelCode()
public void setChannelCode(java.lang.String code)
public java.lang.String getLocCode()
public java.lang.String getStationCode()
public java.lang.String getNetworkCode()
public java.lang.String getNetworkId()
public DegreeFloatType getLatitude()
public DegreeFloatType getLongitude()
public FloatType getElevation()
public FloatType getDepth()
public float getLatitudeFloat()
public float getLongitudeFloat()
public float getElevationFloat()
public float getDepthFloat()
public DegreeFloatType getAzimuth()
public DegreeFloatType getDip()
public java.util.List<java.lang.String> getTypeList()
public java.lang.String getStorageFormat()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<Equipment> getEquipmentList()
public void setEquipmentList(java.util.List<Equipment> equipmentList)
public Station getStation()
public Network getNetwork()
public void setStation(Station station)
public void setLongitude(float longitude)
public void setLongitude(DegreeFloatType longitude)
public void setSampleRateRatio(SampleRateRatio sampleRateRatio)
public void setSampleRate(float sampleRate)
public void setSampleRate(FloatType sampleRate)
public void setClockDrift(FloatType clockDrift)
public void setClockDriftUnit(java.lang.String clockDriftUnit)
public void setCalibrationUnits(Unit calibrationUnits)
public void setSensor(Sensor sensor)
public void setPreAmplifier(PreAmplifier preAmplifier)
public void setDataLogger(DataLogger dataLogger)
public void setResponse(Response response)
public void setLocCode(java.lang.String locCode)
public void setLatitude(float latitude)
public void setLatitude(DegreeFloatType latitude)
public void setElevation(float elevation)
public void setElevation(FloatType elevation)
public void setDepth(float depth)
public void setDepth(FloatType depth)
public void setAzimuth(float azimuth)
public void setAzimuth(DegreeFloatType azimuth)
public void setDip(float dip)
public void setDip(DegreeFloatType dip)
public void setTypeList(java.util.List<java.lang.String> typeList)
public void setStorageFormat(java.lang.String storageFormat)
public static java.lang.String fixLocCode(java.lang.String locCode)
public void associateInDb(Channel indb)