Class: TaxonNameClassification::Iczn::Available

Inherits:
TaxonNameClassification::Iczn show all
Defined in:
app/models/taxon_name_classification/iczn/available.rb

Defined Under Namespace

Classes: Invalid, OfficialIndexOfAvailableNames, OfficialListOfAvailableNames, OfficialListOfWorksApprovedAsAvailable, Valid

Class 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



3
4
5
6
# File 'app/models/taxon_name_classification/iczn/available.rb', line 3

def self.disjoint_taxon_name_classes
  self.parent.disjoint_taxon_name_classes +
      self.collect_descendants_and_itself_to_s(TaxonNameClassification::Iczn::Unavailable)
end