Class: TaxonNameRelationship::Icn::Accepting::AlternativeFamilyName

Inherits:
TaxonNameRelationship::Icn::Accepting show all
Defined in:
app/models/taxon_name_relationship/icn/accepting/alternative_family_name.rb

Class Method Summary collapse

Methods inherited from TaxonNameRelationship::Icn::Accepting

disjoint_subject_classes, disjoint_taxon_name_relationships

Methods inherited from TaxonNameRelationship::Icn

disjoint_object_classes, disjoint_subject_classes

Methods inherited from TaxonNameRelationship

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



21
22
23
# File 'app/models/taxon_name_relationship/icn/accepting/alternative_family_name.rb', line 21

def self.assignable
  true
end

.assignment_methodObject



25
26
27
28
# File 'app/models/taxon_name_relationship/icn/accepting/alternative_family_name.rb', line 25

def self.assignment_method
  # bus.set_as_icn_alternative_family_name_of(aus)
  :icn_as_alternative_family_name_of
end

.inverse_assignment_methodObject



30
31
32
33
# File 'app/models/taxon_name_relationship/icn/accepting/alternative_family_name.rb', line 30

def self.inverse_assignment_method
  # aus.icn_alternative_family_name = bus
  :icn_alternative_family_name
end

.object_relationship_nameObject



17
18
19
# File 'app/models/taxon_name_relationship/icn/accepting/alternative_family_name.rb', line 17

def self.object_relationship_name
  'alternative family name'
end

.subject_relationship_nameObject



13
14
15
# File 'app/models/taxon_name_relationship/icn/accepting/alternative_family_name.rb', line 13

def self.subject_relationship_name
  'as alternative family name'
end

.valid_object_ranksObject

right_side



9
10
11
# File 'app/models/taxon_name_relationship/icn/accepting/alternative_family_name.rb', line 9

def self.valid_object_ranks
  FAMILY_RANK_NAMES_ICN
end

.valid_subject_ranksObject

left_side



4
5
6
# File 'app/models/taxon_name_relationship/icn/accepting/alternative_family_name.rb', line 4

def self.valid_subject_ranks
  FAMILY_RANK_NAMES_ICN
end