Class: TaxonNameClassification::Iczn::Available::Valid
Defined Under Namespace
Classes: NomenDubium, NomenInquirendum
Constant Summary
collapse
- NOMEN_URI =
'http://purl.obolibrary.org/obo/NOMEN_0000224'.freeze
Class Method Summary
collapse
Instance Method Summary
collapse
assignable
applicable_ranks, code_applicability_start_year
Class Method Details
.disjoint_taxon_name_classes ⇒ Object
5
6
7
8
|
# File 'app/models/taxon_name_classification/iczn/available/valid.rb', line 5
def self.disjoint_taxon_name_classes
self.parent.disjoint_taxon_name_classes +
self.collect_to_s(TaxonNameClassification::Iczn::Available::Invalid)
end
|
.gbif_status ⇒ Object
10
11
12
|
# File 'app/models/taxon_name_classification/iczn/available/valid.rb', line 10
def self.gbif_status
'valid'
end
|
Instance Method Details
#sv_not_specific_classes ⇒ Object
14
15
16
17
18
|
# File 'app/models/taxon_name_classification/iczn/available/valid.rb', line 14
def sv_not_specific_classes
if self.citations.empty?
soft_validations.add(:type, 'This status should only be used when one or more conflicting invalidating relationships present in the database (for example, a taxon was used as a synonym in the past, but not now, and a synonym relationship is stored in the database for a historical record). Otherwise, this status should not be used. By default, any name which does not have invalidating relationship is a valid name (provide a citation to hide this message)')
end
end
|