Class: TaxonNameRelationship::Combination::Subseries

Inherits:
TaxonNameRelationship::Combination show all
Defined in:
app/models/taxon_name_relationship/combination/subseries.rb

Class Method Summary collapse

Methods inherited from TaxonNameRelationship::Combination

disjoint_classes, disjoint_object_classes, disjoint_subject_classes, 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



27
28
29
# File 'app/models/taxon_name_relationship/combination/subseries.rb', line 27

def self.assignable
  true
end

.assignment_methodObject



18
19
20
# File 'app/models/taxon_name_relationship/combination/subseries.rb', line 18

def self.assignment_method
  :subseries_in_combination
end

.inverse_assignment_methodObject

as.



23
24
25
# File 'app/models/taxon_name_relationship/combination/subseries.rb', line 23

def self.inverse_assignment_method
  :combination_subseries
end

.required_taxon_name_relationshipsObject



13
14
15
16
# File 'app/models/taxon_name_relationship/combination/subseries.rb', line 13

def self.required_taxon_name_relationships
  self.collect_to_s(TaxonNameRelationship::Combination::Genus,
                    TaxonNameRelationship::Combination::Series)
end

.valid_object_ranksObject

right_side



9
10
11
# File 'app/models/taxon_name_relationship/combination/subseries.rb', line 9

def self.valid_object_ranks
  GENUS_AND_SPECIES_RANK_NAMES_ICN
end

.valid_subject_ranksObject

left_side



4
5
6
# File 'app/models/taxon_name_relationship/combination/subseries.rb', line 4

def self.valid_subject_ranks
  GENUS_RANK_NAMES_ICN
end