Class: AnnotationDataset

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

Overview

ActiveRecord model of MSF AnnotationDataset

Example:

AnnotationDataset.find(1)

AnnotationDataset.first.name

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.primary_keyObject



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

def self.primary_key
  :DatasetId
end

.table_nameObject



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

def self.table_name
  :AnnotationDataset
end

Instance Method Details

#dataset_idObject



14
15
16
# File 'lib/msf/models/annotation_dataset.rb', line 14

def dataset_id
  self.DatasetId
end

#descriptionObject



26
27
28
# File 'lib/msf/models/annotation_dataset.rb', line 26

def description
  self.Description
end

#display_nameObject



20
21
22
# File 'lib/msf/models/annotation_dataset.rb', line 20

def display_name
  self.DisplayName
end

#guidObject



23
24
25
# File 'lib/msf/models/annotation_dataset.rb', line 23

def guid
  self.Guid
end

#nameObject



17
18
19
# File 'lib/msf/models/annotation_dataset.rb', line 17

def name
  self.Name
end