Class: TaxonNameRelationship::Iczn::Invalidating::Homonym::Secondary::Secondary1961

Inherits:
TaxonNameRelationship::Iczn::Invalidating::Homonym::Secondary show all
Defined in:
app/models/taxon_name_relationship/iczn/invalidating/homonym/secondary/secondary_1961.rb

Class Method Summary collapse

Methods inherited from TaxonNameRelationship::Iczn::Invalidating::Homonym::Secondary

valid_object_ranks, valid_subject_ranks

Methods inherited from TaxonNameRelationship::Iczn::Invalidating

assignable, disjoint_subject_classes, nomenclatural_priority

Methods inherited from TaxonNameRelationship::Iczn

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, required_taxon_name_relationships, #subject_properties, #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

.assignment_methodObject



16
17
18
19
# File 'app/models/taxon_name_relationship/iczn/invalidating/homonym/secondary/secondary_1961.rb', line 16

def self.assignment_method
  # bus.set_as_iczn_secondary_homonym_before_1961_of(aus)
  :iczn_set_as_secondary_homonym_before_1961_of
end

.disjoint_taxon_name_relationshipsObject



3
4
5
6
# File 'app/models/taxon_name_relationship/iczn/invalidating/homonym/secondary/secondary_1961.rb', line 3

def self.disjoint_taxon_name_relationships
  self.parent.disjoint_taxon_name_relationships +
      [TaxonNameRelationship::Iczn::Invalidating::Homonym::Secondary.to_s]
end

.inverse_assignment_methodObject



21
22
23
24
# File 'app/models/taxon_name_relationship/iczn/invalidating/homonym/secondary/secondary_1961.rb', line 21

def self.inverse_assignment_method
  # aus.iczn_secondary_homonym_before_1961 = bus
  :iczn_secondary_homonym_before_1961
end

.object_relationship_nameObject



12
13
14
# File 'app/models/taxon_name_relationship/iczn/invalidating/homonym/secondary/secondary_1961.rb', line 12

def self.object_relationship_name
  'secondary homonym replaced before 1961'
end

.subject_relationship_nameObject



8
9
10
# File 'app/models/taxon_name_relationship/iczn/invalidating/homonym/secondary/secondary_1961.rb', line 8

def self.subject_relationship_name
  'secondary senior homonym replacement before 1961'
end