Class: TaxonNameRelationship::Icn::Unaccepting::Homonym
- Inherits:
-
TaxonNameRelationship::Icn::Unaccepting
- Object
- TaxonNameRelationship
- TaxonNameRelationship::Icn
- TaxonNameRelationship::Icn::Unaccepting
- TaxonNameRelationship::Icn::Unaccepting::Homonym
- Defined in:
- app/models/taxon_name_relationship/icn/unaccepting/homonym.rb
Constant Summary collapse
- NOMEN_URI =
'http://purl.obolibrary.org/obo/NOMEN_0000391'.freeze
Class Method Summary collapse
- .assignment_method ⇒ Object
- .disjoint_subject_classes ⇒ Object
- .disjoint_taxon_name_relationships ⇒ Object
- .inverse_assignment_method ⇒ Object
Instance Method Summary collapse
Methods inherited from TaxonNameRelationship::Icn::Unaccepting
assignable, gbif_status_of_object, gbif_status_of_subject, nomenclatural_priority
Methods inherited from TaxonNameRelationship::Icn
disjoint_object_classes, #sv_validate_priority, valid_object_ranks, valid_subject_ranks
Class Method Details
.assignment_method ⇒ Object
32 33 34 35 |
# File 'app/models/taxon_name_relationship/icn/unaccepting/homonym.rb', line 32 def self.assignment_method # bus.set_as_icn_homonym_of(aus) :icn_set_as_homonym_of end |
.disjoint_subject_classes ⇒ Object
13 14 15 16 17 18 |
# File 'app/models/taxon_name_relationship/icn/unaccepting/homonym.rb', line 13 def self.disjoint_subject_classes self.parent.disjoint_subject_classes + self.collect_to_s(TaxonNameClassification::Icn::NotEffectivelyPublished) + self.collect_descendants_to_s(TaxonNameClassification::Icn::EffectivelyPublished::InvalidlyPublished, TaxonNameClassification::Icn::EffectivelyPublished::ValidlyPublished::Legitimate) end |
.disjoint_taxon_name_relationships ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/models/taxon_name_relationship/icn/unaccepting/homonym.rb', line 5 def self.disjoint_taxon_name_relationships self.parent.disjoint_taxon_name_relationships + self.collect_to_s(TaxonNameRelationship::Icn::Unaccepting, TaxonNameRelationship::Icn::Unaccepting::OriginallyInvalid, TaxonNameRelationship::Icn::Unaccepting::Misapplication) + self.collect_descendants_to_s(TaxonNameRelationship::Icn::Unaccepting::Usage) end |
.inverse_assignment_method ⇒ Object
37 38 39 40 |
# File 'app/models/taxon_name_relationship/icn/unaccepting/homonym.rb', line 37 def self.inverse_assignment_method # aus.icn_homonym = bus :icn_homonym end |
Instance Method Details
#object_status ⇒ Object
24 25 26 |
# File 'app/models/taxon_name_relationship/icn/unaccepting/homonym.rb', line 24 def object_status 'homonym' end |
#subject_properties ⇒ Object
20 21 22 |
# File 'app/models/taxon_name_relationship/icn/unaccepting/homonym.rb', line 20 def subject_properties [ TaxonNameClassification::Icn::EffectivelyPublished::ValidlyPublished::Illegitimate::Homonym ] end |
#subject_status ⇒ Object
28 29 30 |
# File 'app/models/taxon_name_relationship/icn/unaccepting/homonym.rb', line 28 def subject_status 'junior homonym' end |