Class: TaxonNameRelationship::Iczn::PotentiallyValidating::ReplacementName

Inherits:
TaxonNameRelationship::Iczn::PotentiallyValidating show all
Defined in:
app/models/taxon_name_relationship/iczn/potentially_validating/replacement_name.rb

Class Method Summary collapse

Methods inherited from TaxonNameRelationship::Iczn::PotentiallyValidating

disjoint_object_classes, disjoint_subject_classes

Methods inherited from TaxonNameRelationship::Iczn

disjoint_object_classes, disjoint_subject_classes, valid_object_ranks, valid_subject_ranks

Methods inherited from TaxonNameRelationship

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

.assignableObject



3
4
5
# File 'app/models/taxon_name_relationship/iczn/potentially_validating/replacement_name.rb', line 3

def self.assignable
  true
end

.assignment_methodObject

as.



16
17
18
19
# File 'app/models/taxon_name_relationship/iczn/potentially_validating/replacement_name.rb', line 16

def self.assignment_method
  # bus.set_as_replacement_name_of(aus)
  :iczn_set_as_replacement_name_of
end

.inverse_assignment_methodObject



21
22
23
24
# File 'app/models/taxon_name_relationship/iczn/potentially_validating/replacement_name.rb', line 21

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

.nomenclatural_priorityObject



26
27
28
# File 'app/models/taxon_name_relationship/iczn/potentially_validating/replacement_name.rb', line 26

def self.nomenclatural_priority
  :direct
end

.object_relationship_nameObject



11
12
13
# File 'app/models/taxon_name_relationship/iczn/potentially_validating/replacement_name.rb', line 11

def self.object_relationship_name
  'nomen novum'
end

.subject_relationship_nameObject



7
8
9
# File 'app/models/taxon_name_relationship/iczn/potentially_validating/replacement_name.rb', line 7

def self.subject_relationship_name
  'homonym'
end