Class: AnnotationGroup
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- AnnotationGroup
- Defined in:
- lib/msf/models/annotation_group.rb
Overview
ActiveRecord model of MSF AnnotationGroup
Example:
AnnotationGroup.find(1)
AnnotationGroup.first.name
Class Method Summary collapse
Instance Method Summary collapse
- #annotation_group_id ⇒ Object
- #color_b ⇒ Object
- #color_g ⇒ Object
- #color_r ⇒ Object
- #dataset_id ⇒ Object
- #description ⇒ Object
- #group_definition ⇒ Object
- #position ⇒ Object
Class Method Details
.primary_key ⇒ Object
11 12 13 |
# File 'lib/msf/models/annotation_group.rb', line 11 def self.primary_key [:AnnotationGroupId, :DatasetId] end |
.table_name ⇒ Object
8 9 10 |
# File 'lib/msf/models/annotation_group.rb', line 8 def self.table_name :AnnotationGroups end |
Instance Method Details
#annotation_group_id ⇒ Object
14 15 16 |
# File 'lib/msf/models/annotation_group.rb', line 14 def annotation_group_id self.AnnotationGroupId end |
#color_b ⇒ Object
32 33 34 |
# File 'lib/msf/models/annotation_group.rb', line 32 def color_b self.ColorB end |
#color_g ⇒ Object
29 30 31 |
# File 'lib/msf/models/annotation_group.rb', line 29 def color_g self.ColorG end |
#color_r ⇒ Object
26 27 28 |
# File 'lib/msf/models/annotation_group.rb', line 26 def color_r self.ColorR end |
#dataset_id ⇒ Object
17 18 19 |
# File 'lib/msf/models/annotation_group.rb', line 17 def dataset_id self.DatasetId end |
#description ⇒ Object
20 21 22 |
# File 'lib/msf/models/annotation_group.rb', line 20 def description self.Description end |
#group_definition ⇒ Object
35 36 37 |
# File 'lib/msf/models/annotation_group.rb', line 35 def group_definition self.GroupDefinition end |
#position ⇒ Object
23 24 25 |
# File 'lib/msf/models/annotation_group.rb', line 23 def position self.Position end |