Class: TaxonNameRelationship::Typification

Inherits:
TaxonNameRelationship show all
Defined in:
app/models/taxon_name_relationship/typification.rb

Direct Known Subclasses

Family, Genus

Defined Under Namespace

Classes: Family, Genus

Class Method Summary collapse

Methods inherited from TaxonNameRelationship

#aliases, disjoint_taxon_name_relationships, #is_combination?, #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

.assignableObject



3
4
5
# File 'app/models/taxon_name_relationship/typification.rb', line 3

def self.assignable
  false
end

.disjoint_classesObject



7
8
9
10
11
# File 'app/models/taxon_name_relationship/typification.rb', line 7

def self.disjoint_classes
  self.collect_descendants_and_itself_to_s(TaxonNameClassification::Iczn::Unavailable,
        TaxonNameClassification::Icn::EffectivelyPublished::InvalidlyPublished,
        TaxonNameClassification::Icn::NotEffectivelyPublished)
end

.disjoint_object_classesObject



17
18
19
# File 'app/models/taxon_name_relationship/typification.rb', line 17

def self.disjoint_object_classes
  self.disjoint_classes
end

.disjoint_subject_classesObject



13
14
15
# File 'app/models/taxon_name_relationship/typification.rb', line 13

def self.disjoint_subject_classes
  self.disjoint_classes
end

.nomenclatural_priorityObject



21
22
23
# File 'app/models/taxon_name_relationship/typification.rb', line 21

def self.nomenclatural_priority
  :reverse
end