Class: TaxonNameRelationship::Icn::Unaccepting::Synonym::Homotypic::OrthographicVariant

Inherits:
TaxonNameRelationship::Icn::Unaccepting::Synonym::Homotypic show all
Defined in:
app/models/taxon_name_relationship/icn/unaccepting/synonym/homotypic/orthographic_variant.rb

Class Method Summary collapse

Methods inherited from TaxonNameRelationship::Icn::Unaccepting

assignable, nomenclatural_priority

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, 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



18
19
20
21
# File 'app/models/taxon_name_relationship/icn/unaccepting/synonym/homotypic/orthographic_variant.rb', line 18

def self.assignment_method
  # bus.set_as_icn_orthographic_variant_of(aus)
  :icn_set_as_orthographic_variant_of
end

.disjoint_taxon_name_relationshipsObject



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

def self.disjoint_taxon_name_relationships
  self.parent.disjoint_taxon_name_relationships +
      self.collect_to_s(TaxonNameRelationship::Icn::Unaccepting::Synonym::Homotypic,
          TaxonNameRelationship::Icn::Unaccepting::Synonym::Homotypic::AlternativeName,
          TaxonNameRelationship::Icn::Unaccepting::Synonym::Homotypic::Isonym)
end

.inverse_assignment_methodObject

as.



24
25
26
27
# File 'app/models/taxon_name_relationship/icn/unaccepting/synonym/homotypic/orthographic_variant.rb', line 24

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

.object_relationship_nameObject



14
15
16
# File 'app/models/taxon_name_relationship/icn/unaccepting/synonym/homotypic/orthographic_variant.rb', line 14

def self.object_relationship_name
  'orthographic variant'
end

.subject_relationship_nameObject



10
11
12
# File 'app/models/taxon_name_relationship/icn/unaccepting/synonym/homotypic/orthographic_variant.rb', line 10

def self.subject_relationship_name
  'correct orthographic variant'
end