Class: TaxonNameRelationship::Iczn::Validating::UncertainPlacement

Inherits:
TaxonNameRelationship::Iczn::Validating show all
Defined in:
app/models/taxon_name_relationship/iczn/validating/uncertain_placement.rb

Class Method Summary collapse

Methods inherited from TaxonNameRelationship::Iczn::Validating

disjoint_object_classes, disjoint_subject_classes, subject_relationship_name

Methods inherited from TaxonNameRelationship::Iczn

disjoint_object_classes, disjoint_subject_classes

Methods inherited from TaxonNameRelationship

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



19
20
21
# File 'app/models/taxon_name_relationship/iczn/validating/uncertain_placement.rb', line 19

def self.assignable
  true
end

.assignment_methodObject



31
32
33
# File 'app/models/taxon_name_relationship/iczn/validating/uncertain_placement.rb', line 31

def self.assignment_method
  :iczn_uncertain_placement
end

.disjoint_taxon_name_relationshipsObject



13
14
15
16
17
# File 'app/models/taxon_name_relationship/iczn/validating/uncertain_placement.rb', line 13

def self.disjoint_taxon_name_relationships
  self.parent.disjoint_taxon_name_relationships +
      self.collect_to_s(TaxonNameRelationship::Iczn::Validating::ConservedName,
          TaxonNameRelationship::Iczn::Validating::ConservedWork)
end

.inverse_assignment_methodObject



35
36
37
38
# File 'app/models/taxon_name_relationship/iczn/validating/uncertain_placement.rb', line 35

def self.inverse_assignment_method
  # aus.iczn_uncertain_placement = Family
  :iczn_set_as_uncertain_placement_of
end

.object_relationship_nameObject



23
24
25
# File 'app/models/taxon_name_relationship/iczn/validating/uncertain_placement.rb', line 23

def self.object_relationship_name
  'incertae sedis'
end

.valid_object_ranksObject

right_side



9
10
11
# File 'app/models/taxon_name_relationship/iczn/validating/uncertain_placement.rb', line 9

def self.valid_object_ranks
  FAMILY_RANK_NAMES_ICZN
end

.valid_subject_ranksObject

left_side



4
5
6
# File 'app/models/taxon_name_relationship/iczn/validating/uncertain_placement.rb', line 4

def self.valid_subject_ranks
  GENUS_AND_SPECIES_RANK_NAMES_ICZN
end