Class: TaxonNameRelationship::Icn::Unaccepting::Usage

Inherits:
TaxonNameRelationship::Icn::Unaccepting show all
Defined in:
app/models/taxon_name_relationship/icn/unaccepting/usage.rb

Direct Known Subclasses

Basionym, Misapplication, Misspelling

Defined Under Namespace

Classes: Basionym, Misapplication, Misspelling

Class Method Summary collapse

Methods inherited from TaxonNameRelationship::Icn::Unaccepting

assignable, assignment_method, inverse_assignment_method, nomenclatural_priority, object_relationship_name, subject_relationship_name

Methods inherited from TaxonNameRelationship::Icn

disjoint_object_classes, disjoint_subject_classes, valid_object_ranks, valid_subject_ranks

Methods inherited from TaxonNameRelationship

#aliases, assignable, disjoint_object_classes, disjoint_subject_classes, #is_combination?, nomenclatural_priority, #object_properties, object_relationship_name, required_taxon_name_relationships, #subject_properties, subject_relationship_name, #type_class, #type_class=, #type_name, valid_object_ranks, valid_subject_ranks

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_relationshipsObject



3
4
5
6
7
8
# File 'app/models/taxon_name_relationship/icn/unaccepting/usage.rb', line 3

def self.disjoint_taxon_name_relationships
  self.parent.disjoint_taxon_name_relationships +
      self.collect_to_s(TaxonNameRelationship::Icn::Unaccepting,
          TaxonNameRelationship::Icn::Unaccepting::Homonym) +
      self.collect_descendants_and_itself_to_s(TaxonNameRelationship::Icn::Unaccepting::Synonym)
end