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

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from TaxonNameClassification::Iczn

applicable_ranks, code_applicability_start_year

Methods inherited from TaxonNameClassification

applicable_ranks, class_name, code_applicability_end_year, code_applicability_start_year, possible_genus_endings, possible_species_endings, questionable_species_endings, #sv_not_specific_classes, #sv_proper_classification, #sv_validate_disjoint_classes, #type_class, #type_class=, #type_name, #validate_taxon_name_classlassification

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

.disjoint_taxon_name_classesObject



28
29
30
31
32
33
34
# File 'app/models/taxon_name_classification/iczn/unavailable/non_binomial.rb', line 28

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

#applicable_ranksObject



25
26
27
# File 'app/models/taxon_name_classification/iczn/unavailable/non_binomial.rb', line 25

def applicable_ranks
  SPECIES_RANK_NAMES_ICZN
end