Class: AminoAcidModificationsAminoAcidNLs
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- AminoAcidModificationsAminoAcidNLs
- Defined in:
- lib/msf/models/amino_acid_modifications_amino_acid_nls.rb
Overview
ActiveRecord model of MSF AminoAcidModificationsAminoAcidNLs Join table for AminoAcid and AminoAcidModificationsNeutralLosses HABTM
Example:
AminoAcidModificationsAminoAcidNLs.first
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.primary_key ⇒ Object
11 12 13 |
# File 'lib/msf/models/amino_acid_modifications_amino_acid_nls.rb', line 11 def self.primary_key [:AminoAcidModificationID, :AminoAcidID, :NeutralLossID] end |
.table_name ⇒ Object
8 9 10 |
# File 'lib/msf/models/amino_acid_modifications_amino_acid_nls.rb', line 8 def self.table_name :AminoAcidModificationsAminoAcidsNL end |
Instance Method Details
#amino_acid_id ⇒ Object
17 18 19 |
# File 'lib/msf/models/amino_acid_modifications_amino_acid_nls.rb', line 17 def amino_acid_id self.AminoAcidID end |
#amino_acid_modification_id ⇒ Object
14 15 16 |
# File 'lib/msf/models/amino_acid_modifications_amino_acid_nls.rb', line 14 def amino_acid_modification_id self.AminoAcidModificationID end |
#neutral_loss_id ⇒ Object
20 21 22 |
# File 'lib/msf/models/amino_acid_modifications_amino_acid_nls.rb', line 20 def neutral_loss_id self.NeutralLossID end |