Class: FastaFile
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- FastaFile
- Defined in:
- lib/msf/models/fasta_file.rb
Overview
ActiveRecord model of MSF FastaFile
Example:
FastaFile.find(1)
FastaFile.first.file_name
Class Method Summary collapse
Instance Method Summary collapse
- #fasta_file_id ⇒ Object
- #file_hash_code ⇒ Object
- #file_name ⇒ Object
- #file_size ⇒ Object
- #file_time ⇒ Object
- #hidden ⇒ Object
- #is_scheduled_for_deletion ⇒ Object
- #is_srf_import ⇒ Object
- #number_of_amino_acids ⇒ Object
- #number_of_proteins ⇒ Object
- #state ⇒ Object
- #virtual_file_name ⇒ Object
Class Method Details
.primary_key ⇒ Object
11 12 13 |
# File 'lib/msf/models/fasta_file.rb', line 11 def self.primary_key :FastaFileID end |
.table_name ⇒ Object
8 9 10 |
# File 'lib/msf/models/fasta_file.rb', line 8 def self.table_name :FastaFiles end |
Instance Method Details
#fasta_file_id ⇒ Object
14 15 16 |
# File 'lib/msf/models/fasta_file.rb', line 14 def fasta_file_id self.FastaFileID end |
#file_hash_code ⇒ Object
38 39 40 |
# File 'lib/msf/models/fasta_file.rb', line 38 def file_hash_code self.FileHashCode end |
#file_name ⇒ Object
17 18 19 |
# File 'lib/msf/models/fasta_file.rb', line 17 def file_name self.FileName end |
#file_size ⇒ Object
26 27 28 |
# File 'lib/msf/models/fasta_file.rb', line 26 def file_size self.FileSize end |
#file_time ⇒ Object
29 30 31 |
# File 'lib/msf/models/fasta_file.rb', line 29 def file_time self.FileTime end |
#hidden ⇒ Object
41 42 43 |
# File 'lib/msf/models/fasta_file.rb', line 41 def hidden self.Hidden end |
#is_scheduled_for_deletion ⇒ Object
47 48 49 |
# File 'lib/msf/models/fasta_file.rb', line 47 def is_scheduled_for_deletion self.IsScheduledForDeletion end |
#is_srf_import ⇒ Object
44 45 46 |
# File 'lib/msf/models/fasta_file.rb', line 44 def is_srf_import self.IsSrfImport end |
#number_of_amino_acids ⇒ Object
35 36 37 |
# File 'lib/msf/models/fasta_file.rb', line 35 def number_of_amino_acids self.NumberOfAminoAcids end |
#number_of_proteins ⇒ Object
32 33 34 |
# File 'lib/msf/models/fasta_file.rb', line 32 def number_of_proteins self.NumberOfProteins end |
#state ⇒ Object
20 21 22 |
# File 'lib/msf/models/fasta_file.rb', line 20 def state self.State end |
#virtual_file_name ⇒ Object
23 24 25 |
# File 'lib/msf/models/fasta_file.rb', line 23 def virtual_file_name self.VirtualFileName end |