Class: TaxonNameClassification::Iczn::Unavailable::NonBinomial::SpeciesNotBinomial

Inherits:
TaxonNameClassification::Iczn::Unavailable::NonBinomial show all
Defined in:
app/models/taxon_name_classification/iczn/unavailable/non_binomial.rb

Constant Summary

NOMEN_URI =
'http://purl.obolibrary.org/obo/NOMEN_0000172'

Constants included from SoftValidation

SoftValidation::ANCESTORS_WITH_SOFT_VALIDATIONS

Instance Attribute Summary

Attributes inherited from TaxonNameClassification

#project_id, #taxon_name_id, #type

Class Method Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from TaxonNameClassification::Iczn::Unavailable

gbif_status

Methods inherited from TaxonNameClassification::Iczn

applicable_ranks, code_applicability_start_year

Methods inherited from TaxonNameClassification

#annotated_object, annotates?, applicable_ranks, #classification_label, code_applicability_end_year, code_applicability_start_year, collect_descendants_and_itself_to_s, collect_descendants_to_s, collect_to_s, find_for_autocomplete, gbif_status, generate_download, #nomen_id, nomen_uri, #nomenclature_code, #nomenclature_code_matches, possible_genus_endings, possible_species_endings, questionable_species_endings, #set_cached_names_for_taxon_names, #sv_not_specific_classes, #sv_proper_classification, #sv_validate_disjoint_classes, #type_class, #type_class=, #type_name, #validate_taxon_name_classification, #validate_uniqueness_of_latinized

Methods included from SoftValidation

#clear_soft_validations, #fix_soft_validations, #soft_fixed?, #soft_valid?, #soft_validate, #soft_validated?, #soft_validations

Methods included from Housekeeping

#has_polymorphic_relationship?

Class Method Details

+ (Object) disjoint_taxon_name_classes



38
39
40
41
42
43
44
# File 'app/models/taxon_name_classification/iczn/unavailable/non_binomial.rb', line 38

def self.disjoint_taxon_name_classes
  self.parent.disjoint_taxon_name_classes + self.collect_to_s(
      TaxonNameClassification::Iczn::Unavailable::NonBinomial,
      TaxonNameClassification::Iczn::Unavailable::NonBinomial::NotUninomial,
      TaxonNameClassification::Iczn::Unavailable::NonBinomial::SubgenusNotIntercalare,
      TaxonNameClassification::Iczn::Unavailable::NonBinomial::SubspeciesNotTrinomial)
end

Instance Method Details

- (Object) applicable_ranks



35
36
37
# File 'app/models/taxon_name_classification/iczn/unavailable/non_binomial.rb', line 35

def applicable_ranks
  SPECIES_RANK_NAMES_ICZN
end