Class: Identifier::Local::AccessionCode

Inherits:
Identifier::Local show all
Defined in:
app/models/identifier/local/accession_code.rb

Overview

TODO:

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

Constant Summary

Constants inherited from Identifier

SHORT_NAMES

Instance Attribute Summary

Attributes inherited from Identifier

#cached, #identifier, #identifier_object_id, #namespace_id, #project_id, #type

Method Summary

Methods inherited from Identifier::Local

#set_cached, #with_namespaced_identifier

Methods inherited from Identifier

#annotated_object, class_name, find_for_autocomplete, generate_download, #klass_name, prototype_identifier, #set_cached

Methods included from Housekeeping

#has_polymorphic_relationship?