Class: ReporterIonQuanResultsSearchSpectra

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/msf/models/reporter_ion_quan_result_search_spectrum.rb

Overview

ActiveRecord model of MSF ReporterIonQuanResultsSearchSpectra Join table for ReporterIonQuanResult and Spectrum HABTM

Example:

ReporterIonQuanResultsSearchSpectra.first

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.primary_keyObject



11
12
13
14
# File 'lib/msf/models/reporter_ion_quan_result_search_spectrum.rb', line 11

def self.primary_key
  :SearchSpectrumID
  # [:ProcessingNodeNumber, :SpectrumID, :SearchSpectrumID]
end

.table_nameObject



8
9
10
# File 'lib/msf/models/reporter_ion_quan_result_search_spectrum.rb', line 8

def self.table_name
  :ReporterIonQuanResultsSearchSpectra
end

Instance Method Details

#processing_node_numberObject

:ProcessingNodeNumber, :SpectrumID, :SearchSpectrumID


15
16
17
# File 'lib/msf/models/reporter_ion_quan_result_search_spectrum.rb', line 15

def processing_node_number
  self.ProcessingNodeNumber
end

#search_spectrum_idObject



21
22
23
# File 'lib/msf/models/reporter_ion_quan_result_search_spectrum.rb', line 21

def search_spectrum_id
  self.SearchSpectrumID
end

#spectrum_idObject



18
19
20
# File 'lib/msf/models/reporter_ion_quan_result_search_spectrum.rb', line 18

def spectrum_id
  self.SpectrumID
end