Class: TaxonNameRelationship::Iczn

Inherits:
TaxonNameRelationship show all
Defined in:
app/models/taxon_name_relationship/iczn.rb

Direct Known Subclasses

Invalidating, PotentiallyValidating, Validating

Defined Under Namespace

Classes: Invalidating, PotentiallyValidating, Validating

Class Method Summary collapse

Methods inherited from TaxonNameRelationship

#aliases, assignable, 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

.disjoint_object_classesObject



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

def self.disjoint_object_classes
  ICN_TAXON_NAME_CLASS_NAMES +
      self.collect_descendants_and_itself_to_s(TaxonNameClassification::Iczn::Unavailable)
end

.disjoint_subject_classesObject



14
15
16
# File 'app/models/taxon_name_relationship/iczn.rb', line 14

def self.disjoint_subject_classes
  ICN_TAXON_NAME_CLASS_NAMES
end

.valid_object_ranksObject

right_side



10
11
12
# File 'app/models/taxon_name_relationship/iczn.rb', line 10

def self.valid_object_ranks
  FAMILY_RANK_NAMES_ICZN + GENUS_AND_SPECIES_RANK_NAMES_ICZN
end

.valid_subject_ranksObject

left_side



5
6
7
# File 'app/models/taxon_name_relationship/iczn.rb', line 5

def self.valid_subject_ranks
  FAMILY_RANK_NAMES_ICZN + GENUS_AND_SPECIES_RANK_NAMES_ICZN
end