Class: BiocurationGroup

Inherits:
Keyword show all
Defined in:
app/models/biocuration_group.rb

Constant Summary

Constant Summary

Constants inherited from ControlledVocabularyTerm

ControlledVocabularyTerm::ALTERNATE_VALUES_FOR

Instance Attribute Summary

Attributes inherited from ControlledVocabularyTerm

#definition, #name, #project_id, #type, #uri, #uri_relation

Instance Method Summary (collapse)

Methods inherited from Keyword

select_optimized, #tagged_object_class_names, #tagged_objects, used_recently

Methods inherited from ControlledVocabularyTerm

find_for_autocomplete, #uri_relation_is_a_skos_relation

Methods included from Housekeeping

#has_polymorphic_relationship?

Methods included from ActiverecordUtilities

#trim_attributes

Instance Method Details

- (Object) biocuration_classes

This could ultimately be SQL'ed out



4
5
6
# File 'app/models/biocuration_group.rb', line 4

def biocuration_classes
  tagged_objects
end

- (Object) can_tag



8
9
10
# File 'app/models/biocuration_group.rb', line 8

def can_tag
  %w{BiocurationClass}
end