Class: PeptidesAminoAcidModifications
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- PeptidesAminoAcidModifications
- Defined in:
- lib/msf/models/peptides_amino_acid_modifications.rb
Overview
ActiveRecord model of MSF PeptidesAminoAcidModifications Join table for Peptides and AminoAcidModifications HABTM
Example:
PeptidesAminoAcidModifications.first.position
Class Method Summary collapse
Instance Method Summary collapse
- #amino_acid_modification_id ⇒ Object
- #peptide_id ⇒ Object
- #position ⇒ Object
- #processing_node_number ⇒ Object
Class Method Details
.primary_key ⇒ Object
11 12 13 14 |
# File 'lib/msf/models/peptides_amino_acid_modifications.rb', line 11 def self.primary_key # [:AminoAcidModificationID, :PeptideID] [:ProcessingNodeNumber, :PeptideID, :AminoAcidModificationID, :Position] end |
.table_name ⇒ Object
8 9 10 |
# File 'lib/msf/models/peptides_amino_acid_modifications.rb', line 8 def self.table_name :PeptidesAminoAcidModifications end |
Instance Method Details
#amino_acid_modification_id ⇒ Object
21 22 23 |
# File 'lib/msf/models/peptides_amino_acid_modifications.rb', line 21 def amino_acid_modification_id self.AminoAcidModificationID end |
#peptide_id ⇒ Object
18 19 20 |
# File 'lib/msf/models/peptides_amino_acid_modifications.rb', line 18 def peptide_id self.PeptideID end |
#position ⇒ Object
24 25 26 |
# File 'lib/msf/models/peptides_amino_acid_modifications.rb', line 24 def position self.Position end |
#processing_node_number ⇒ Object
15 16 17 |
# File 'lib/msf/models/peptides_amino_acid_modifications.rb', line 15 def processing_node_number self.ProcessingNodeNumber end |