Class: TaxonNameRelationship::OriginalCombination::OriginalSpecies

Inherits:
TaxonNameRelationship::OriginalCombination show all
Defined in:
app/models/taxon_name_relationship/original_combination/original_species.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, #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



26
27
28
# File 'app/models/taxon_name_relationship/original_combination/original_species.rb', line 26

def self.assignable
  true
end

.assignment_methodObject



16
17
18
19
# File 'app/models/taxon_name_relationship/original_combination/original_species.rb', line 16

def self.assignment_method
  # bus.set_as_species_in_original_combination(aus)
  :species_in_original_combination
end

.inverse_assignment_methodObject



21
22
23
24
# File 'app/models/taxon_name_relationship/original_combination/original_species.rb', line 21

def self.inverse_assignment_method
  # aus.original_combination_form = bus
  :original_species
end

.required_taxon_name_relationshipsObject



12
13
14
# File 'app/models/taxon_name_relationship/original_combination/original_species.rb', line 12

def self.required_taxon_name_relationships
  self.collect_to_s(TaxonNameRelationship::OriginalCombination::OriginalGenus)
end

.valid_object_ranksObject

right_side



8
9
10
# File 'app/models/taxon_name_relationship/original_combination/original_species.rb', line 8

def self.valid_object_ranks
  SPECIES_RANK_NAMES
end

.valid_subject_ranksObject



3
4
5
# File 'app/models/taxon_name_relationship/original_combination/original_species.rb', line 3

def self.valid_subject_ranks
  SPECIES_RANK_NAMES
end