Class: BiocurationClass

Inherits:
ControlledVocabularyTerm show all
Includes:
Shared::Taggable
Defined in:
app/models/biocuration_class.rb

Overview

A biocuration class is used to organize a collection according to some biological categories (attributes).

For example, in an insect collection, this may be things like “adult”, “pupae”, “male”, “female”. More generally they could be categories like “wet”, “dry”, “skulls”, “furs”. It is important to note that these categorizations are for organization, they do not also assert that the collection object itself has the biological property “maleness”, or “adultness”. Biocuration classes do help to answer the question “where might I find this in the collection.”

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 ControlledVocabularyTerm

find_for_autocomplete, generate_download, #uri_relation_is_a_skos_relation

Methods included from Housekeeping

#has_polymorphic_relationship?

Methods included from ActiverecordUtilities

#trim_attributes

Instance Method Details

- (Object) taggable_with



15
16
17
# File 'app/models/biocuration_class.rb', line 15

def taggable_with
  %w{BiocurationGroup}
end