Class: TaxonNameRelationship::Typification::Genus::Monotypy

Inherits:
TaxonNameRelationship::Typification::Genus show all
Defined in:
app/models/taxon_name_relationship/typification/genus/monotypy.rb

Direct Known Subclasses

Original, Subsequent

Defined Under Namespace

Classes: Original, Subsequent

Class Method Summary collapse

Methods inherited from TaxonNameRelationship::Typification::Genus

assignable

Methods inherited from TaxonNameRelationship::Typification

assignable, disjoint_classes, disjoint_object_classes, disjoint_subject_classes, nomenclatural_priority

Methods inherited from TaxonNameRelationship

#aliases, assignable, disjoint_object_classes, disjoint_subject_classes, #is_combination?, nomenclatural_priority, #object_properties, required_taxon_name_relationships, #subject_properties, #type_class, #type_class=, #type_name

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

.assignment_methodObject



30
31
32
# File 'app/models/taxon_name_relationship/typification/genus/monotypy.rb', line 30

def self.assignment_method
  :type_of_genus_by_monotypy
end

.disjoint_taxon_name_relationshipsObject



13
14
15
16
17
18
19
20
# File 'app/models/taxon_name_relationship/typification/genus/monotypy.rb', line 13

def self.disjoint_taxon_name_relationships
  self.parent.disjoint_taxon_name_relationships +
      self.collect_descendants_and_itself_to_s(TaxonNameRelationship::Typification::Genus::Tautonomy) +
      self.collect_to_s(TaxonNameRelationship::Typification::Genus,
          TaxonNameRelationship::Typification::Genus::SubsequentDesignation,
          TaxonNameRelationship::Typification::Genus::OriginalDesignation,
          TaxonNameRelationship::Typification::Genus::RulingByCommission)
end

.inverse_assignment_methodObject



34
35
36
# File 'app/models/taxon_name_relationship/typification/genus/monotypy.rb', line 34

def self.inverse_assignment_method
  :type_species_by_monotypy
end

.object_relationship_nameObject



26
27
28
# File 'app/models/taxon_name_relationship/typification/genus/monotypy.rb', line 26

def self.object_relationship_name
  'type species by monotypy'
end

.subject_relationship_nameObject



22
23
24
# File 'app/models/taxon_name_relationship/typification/genus/monotypy.rb', line 22

def self.subject_relationship_name
  'type of genus by monotypy'
end

.valid_object_ranksObject

right_side



9
10
11
# File 'app/models/taxon_name_relationship/typification/genus/monotypy.rb', line 9

def self.valid_object_ranks
  GENUS_RANK_NAMES_ICZN
end

.valid_subject_ranksObject

left side



4
5
6
# File 'app/models/taxon_name_relationship/typification/genus/monotypy.rb', line 4

def self.valid_subject_ranks
  SPECIES_RANK_NAMES_ICZN
end