Class: Identifier::Local::AccessionCode
- Inherits:
-
Identifier::Local
- Object
- ActiveRecord::Base
- ApplicationRecord
- Identifier
- Identifier::Local
- Identifier::Local::AccessionCode
- Defined in:
- app/models/identifier/local/accession_code.rb
Overview
Validate scope to CollectionObject, CollectingEvent at present
The Local Identifier used in the specimen (collection object) accession process. It may be attached to a CollectionObject or a CollectingEvent.
The canonical use is within a workflow that includes collecting, labelling, and curating a specimen, i.e. the process that brings specimens into a collection.
AccessionCodes are not meant to act as CatalogNumbers; in that sense, they annotate a process that happens prior to a CollectionObject receiving a CatalogNumber
Constant Summary
Constants included from Shared::DualAnnotator
Shared::DualAnnotator::ALWAYS_COMMUNITY
Instance Attribute Summary
Attributes inherited from Identifier
#cached, #cached_numeric_identifier, #identifier, #identifier_object_id, #namespace_id, #project_id, #type
Method Summary
Methods inherited from Identifier::Local
#build_cached, build_cached_prefix, #increment_identifier, #is_local?, #is_virtual?, update_cached, #with_namespaced_identifier
Methods inherited from Identifier
#build_cached, #build_cached_numeric_identifier, #is_global?, #is_local?, prototype_identifier, #set_cached, #type_name
Methods included from Shared::IsData
#errors_excepting, #full_error_messages_excepting, #identical, #is_community?, #is_destroyable?, #is_editable?, #is_in_use?, #is_in_users_projects?, #metamorphosize, #similar
Methods included from Shared::Labels
Methods included from Housekeeping
#has_polymorphic_relationship?
Methods included from Shared::PolymorphicAnnotator
#annotated_object_is_persisted?