Class InstrumentationBlob

java.lang.Object
edu.sc.seis.sod.hibernate.InstrumentationBlob

public class InstrumentationBlob
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected InstrumentationBlob()
    for hibernate.
      InstrumentationBlob​(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan, edu.sc.seis.seisFile.fdsnws.stationxml.Response response)  
  • Method Summary

    Modifier and Type Method Description
    edu.sc.seis.seisFile.fdsnws.stationxml.Channel getChannel()  
    int getDbid()  
    edu.sc.seis.seisFile.fdsnws.stationxml.Response getResponse()  
    static byte[] getResponseAsBlob​(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan, edu.sc.seis.seisFile.fdsnws.stationxml.Response response)  
    protected edu.sc.seis.seisFile.fdsnws.stationxml.Response getResponseFromBlob​(byte[] byteArray)  
    protected static org.msgpack.core.MessageBufferPacker packCoefficients​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.Coefficients coefficients)  
    protected static org.msgpack.core.MessageBufferPacker packDecimation​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.Decimation decimation)  
    protected static org.msgpack.core.MessageBufferPacker packFIR​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.FIR fir)  
    protected static org.msgpack.core.MessageBufferPacker packFloatNoUnitType​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.FloatNoUnitType floatType)  
    protected static org.msgpack.core.MessageBufferPacker packFloatType​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.FloatType floatType)  
    protected static org.msgpack.core.MessageBufferPacker packGainSensitivity​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.GainSensitivity gain)  
    protected static org.msgpack.core.MessageBufferPacker packPolesZeros​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.PolesZeros polesZeros)  
    protected static org.msgpack.core.MessageBufferPacker packPoleZero​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.PoleZero poleZero)  
    protected static org.msgpack.core.MessageBufferPacker packPolynomial​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.Polynomial polynomial)  
    protected static org.msgpack.core.MessageBufferPacker packResponseList​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.ResponseList responseList)  
    protected static org.msgpack.core.MessageBufferPacker packResponseListElement​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.ResponseListElement rle)  
    protected static org.msgpack.core.MessageBufferPacker packSensitivity​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.InstrumentSensitivity sensitivity)  
    protected static org.msgpack.core.MessageBufferPacker packStage​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.ResponseStage stage)  
    protected static org.msgpack.core.MessageBufferPacker packUnit​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.Unit unit)  
    void setChannel​(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan)  
    void setDbid​(int dbid)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.Coefficients unpackCoefficients​(org.msgpack.core.MessageUnpacker unpacker)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.Decimation unpackDecimation​(org.msgpack.core.MessageUnpacker unpacker)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.FIR unpackFIR​(org.msgpack.core.MessageUnpacker unpacker)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.FloatNoUnitType unpackFloatNoUnitType​(org.msgpack.core.MessageUnpacker unpacker)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.FloatType unpackFloatType​(org.msgpack.core.MessageUnpacker unpacker)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.GainSensitivity unpackGainSensitivity​(org.msgpack.core.MessageUnpacker unpacker)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.PolesZeros unpackPolesZeros​(org.msgpack.core.MessageUnpacker unpacker)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.PoleZero unpackPoleZero​(org.msgpack.core.MessageUnpacker unpacker, java.lang.String tagName)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.Polynomial unpackPolynomial​(org.msgpack.core.MessageUnpacker unpacker)  
    static edu.sc.seis.seisFile.fdsnws.stationxml.Response unpackResponse​(org.msgpack.core.MessageUnpacker unpacker)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.ResponseList unpackResponseList​(org.msgpack.core.MessageUnpacker unpacker)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.ResponseListElement unpackResponseListElement​(org.msgpack.core.MessageUnpacker unpacker)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.InstrumentSensitivity unpackSensitivity​(org.msgpack.core.MessageUnpacker unpacker)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.ResponseStage unpackStage​(org.msgpack.core.MessageUnpacker unpacker)  
    protected static edu.sc.seis.seisFile.fdsnws.stationxml.Unit unpackUnit​(org.msgpack.core.MessageUnpacker unpacker)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InstrumentationBlob

      protected InstrumentationBlob()
      for hibernate.
    • InstrumentationBlob

      public InstrumentationBlob​(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan, edu.sc.seis.seisFile.fdsnws.stationxml.Response response)
  • Method Details

    • getResponseAsBlob

      public static byte[] getResponseAsBlob​(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan, edu.sc.seis.seisFile.fdsnws.stationxml.Response response) throws java.io.IOException
      Throws:
      java.io.IOException
    • packStage

      protected static org.msgpack.core.MessageBufferPacker packStage​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.ResponseStage stage) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackStage

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.ResponseStage unpackStage​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • packPolesZeros

      protected static org.msgpack.core.MessageBufferPacker packPolesZeros​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.PolesZeros polesZeros) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackPolesZeros

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.PolesZeros unpackPolesZeros​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • packPoleZero

      protected static org.msgpack.core.MessageBufferPacker packPoleZero​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.PoleZero poleZero) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackPoleZero

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.PoleZero unpackPoleZero​(org.msgpack.core.MessageUnpacker unpacker, java.lang.String tagName) throws java.io.IOException
      Throws:
      java.io.IOException
    • packCoefficients

      protected static org.msgpack.core.MessageBufferPacker packCoefficients​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.Coefficients coefficients) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackCoefficients

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.Coefficients unpackCoefficients​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • packResponseList

      protected static org.msgpack.core.MessageBufferPacker packResponseList​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.ResponseList responseList) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackResponseList

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.ResponseList unpackResponseList​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • packResponseListElement

      protected static org.msgpack.core.MessageBufferPacker packResponseListElement​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.ResponseListElement rle) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackResponseListElement

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.ResponseListElement unpackResponseListElement​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • packPolynomial

      protected static org.msgpack.core.MessageBufferPacker packPolynomial​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.Polynomial polynomial) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackPolynomial

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.Polynomial unpackPolynomial​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • packFIR

      protected static org.msgpack.core.MessageBufferPacker packFIR​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.FIR fir) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackFIR

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.FIR unpackFIR​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • packDecimation

      protected static org.msgpack.core.MessageBufferPacker packDecimation​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.Decimation decimation) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackDecimation

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.Decimation unpackDecimation​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • packGainSensitivity

      protected static org.msgpack.core.MessageBufferPacker packGainSensitivity​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.GainSensitivity gain) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackGainSensitivity

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.GainSensitivity unpackGainSensitivity​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • packSensitivity

      protected static org.msgpack.core.MessageBufferPacker packSensitivity​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.InstrumentSensitivity sensitivity) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackSensitivity

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.InstrumentSensitivity unpackSensitivity​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • packUnit

      protected static org.msgpack.core.MessageBufferPacker packUnit​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.Unit unit) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackUnit

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.Unit unpackUnit​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • packFloatType

      protected static org.msgpack.core.MessageBufferPacker packFloatType​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.FloatType floatType) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackFloatNoUnitType

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.FloatNoUnitType unpackFloatNoUnitType​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • packFloatNoUnitType

      protected static org.msgpack.core.MessageBufferPacker packFloatNoUnitType​(org.msgpack.core.MessageBufferPacker packer, edu.sc.seis.seisFile.fdsnws.stationxml.FloatNoUnitType floatType) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackFloatType

      protected static edu.sc.seis.seisFile.fdsnws.stationxml.FloatType unpackFloatType​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • unpackResponse

      public static edu.sc.seis.seisFile.fdsnws.stationxml.Response unpackResponse​(org.msgpack.core.MessageUnpacker unpacker) throws java.io.IOException
      Throws:
      java.io.IOException
    • getResponseFromBlob

      protected edu.sc.seis.seisFile.fdsnws.stationxml.Response getResponseFromBlob​(byte[] byteArray) throws java.io.IOException
      Throws:
      java.io.IOException
    • getResponse

      public edu.sc.seis.seisFile.fdsnws.stationxml.Response getResponse()
    • getChannel

      public edu.sc.seis.seisFile.fdsnws.stationxml.Channel getChannel()
    • setChannel

      public void setChannel​(edu.sc.seis.seisFile.fdsnws.stationxml.Channel chan)
    • getDbid

      public int getDbid()
    • setDbid

      public void setDbid​(int dbid)