Class: TaxonNameRelationship::OriginalCombination::OriginalGenus

Inherits:
TaxonNameRelationship::OriginalCombination show all
Defined in:
app/models/taxon_name_relationship/original_combination/original_genus.rb

Class Method Summary collapse

Methods inherited from TaxonNameRelationship::OriginalCombination

nomenclatural_priority, order_index

Methods inherited from TaxonNameRelationship

#aliases, disjoint_object_classes, disjoint_subject_classes, disjoint_taxon_name_relationships, #is_combination?, nomenclatural_priority, #object_properties, object_relationship_name, required_taxon_name_relationships, #subject_properties, subject_relationship_name, #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

.assignableObject



23
24
25
# File 'app/models/taxon_name_relationship/original_combination/original_genus.rb', line 23

def self.assignable
  true
end

.assignment_methodObject



13
14
15
16
# File 'app/models/taxon_name_relationship/original_combination/original_genus.rb', line 13

def self.assignment_method
  # bus.set_as_genus_in_original_combination(aus)
  :genus_in_original_combination
end

.inverse_assignment_methodObject



18
19
20
21
# File 'app/models/taxon_name_relationship/original_combination/original_genus.rb', line 18

def self.inverse_assignment_method
  # aus.original_genus = Bus
  :original_genus
end

.valid_object_ranksObject

right_side



9
10
11
# File 'app/models/taxon_name_relationship/original_combination/original_genus.rb', line 9

def self.valid_object_ranks
  GENUS_AND_SPECIES_RANK_NAMES
end

.valid_subject_ranksObject

left_side



4
5
6
# File 'app/models/taxon_name_relationship/original_combination/original_genus.rb', line 4

def self.valid_subject_ranks
  GENUS_RANK_NAMES
end