Class: TaxonNameClassification::Icn::EffectivelyPublished::ValidlyPublished::Illegitimate

Inherits:
TaxonNameClassification::Icn::EffectivelyPublished::ValidlyPublished show all
Defined in:
app/models/taxon_name_classification/icn/effectively_published/validly_published/illegitimate.rb

Direct Known Subclasses

Homonym, IncorrectOriginalSpelling, Superfluous

Defined Under Namespace

Classes: Homonym, IncorrectOriginalSpelling, Superfluous

Class Method Summary collapse

Methods inherited from TaxonNameClassification::Icn

applicable_ranks

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



3
4
5
6
7
# File 'app/models/taxon_name_classification/icn/effectively_published/validly_published/illegitimate.rb', line 3

def self.disjoint_taxon_name_classes
  self.parent.disjoint_taxon_name_classes +
      [TaxonNameClassification::Icn::EffectivelyPublished::ValidlyPublished.to_s] +
      self.collect_descendants_and_itself_to_s(TaxonNameClassification::Icn::EffectivelyPublished::ValidlyPublished::Legitimate)
end