Class SimpleRatsMultiSpectrumService

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected adams.db.AbstractDatabaseConnection m_DatabaseConnection
      the database connection.
      protected RatsMultiSpectrumServiceWS m_Owner
      web service object
      • Fields inherited from class adams.core.option.AbstractOptionHandler

        m_OptionManager
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected adams.db.AbstractDatabaseConnection getDatabaseConnection()
      Determines the database connection in the flow.
      RatsMultiSpectrumServiceWS getOwner()
      Returns the current owner of this webservice.
      String globalInfo()
      Returns a string for the GUI that describes this object.
      void setOwner​(RatsMultiSpectrumServiceWS value)
      Sets the owner of this webservice.
      UploadResponse upload​(UploadRequest parameters)
      Downloads a spectrum.
      • Methods inherited from class adams.core.option.AbstractOptionHandler

        cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, toCommandLine, toString
      • Methods inherited from class adams.core.logging.CustomLoggingLevelObject

        setLoggingLevel
      • Methods inherited from class adams.core.logging.LoggingObject

        configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
      • Methods inherited from interface adams.core.logging.LoggingLevelHandler

        getLoggingLevel
    • Field Detail

      • m_DatabaseConnection

        protected adams.db.AbstractDatabaseConnection m_DatabaseConnection
        the database connection.
    • Constructor Detail

      • SimpleRatsMultiSpectrumService

        public SimpleRatsMultiSpectrumService()
        Default Constructor.

        NB: the owning webservice needs to get set before using this implemention, using the setOwner(RatsMultiSpectrumServiceWS) method.
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string for the GUI that describes this object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        the description
      • getDatabaseConnection

        protected adams.db.AbstractDatabaseConnection getDatabaseConnection()
        Determines the database connection in the flow.
        Returns:
        the database connection to use