Class: Identifier

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Housekeeping
Defined in:
app/models/identifier.rb

Direct Known Subclasses

Global, Local

Defined Under Namespace

Classes: Global, Local

Constant Summary collapse

SHORT_NAMES =

TODO: this likely has to be refactored/considered !! If there are inheritance issues with validation the position !! of this constant is likely the problem

{
  doi:   Identifier::Global::Doi,
  isbn:  Identifier::Global::Isbn,
  issn:  Identifier::Global::Issn,
  lccn:  Identifier::Global::Lccn,
  orcid: Identifier::Global::Orcid,
  uri:   Identifier::Global::Uri,
  uuid:  Identifier::Global::Uuid,
  catalog_number: Identifier::Local::CatalogNumber,
  trip_code: Identifier::Local::TripCode,
  import: Identifier::Local::Import,

}

Method Summary

Methods included from Housekeeping

#has_polymorphic_relationship?